Missing HTML template files
John Stäck <John.Stack <at> teleperformance.se>
2007-11-12 09:18:46 GMT
Hi!
I've just set up a MailManager (MailManager-2.1.tar.gz and 3rdParty-2.1-rc7.tar.gz), with zope2.10
from Debian testing (Lenny). There are several errors of this type popping up:
2007-11-09T16:53:24 ERROR Application Could not import Products.MailManager Traceback (most recent
call last):
File "/usr/lib/zope2.10/lib/python/OFS/Application.py", line 708, in import_product
product=__import__(pname, global_dict, global_dict, silly)
File "/home/john/myzope/Products/MailManager/__init__.py", line 10, in ?
import MailManager, MMUserFolder
File "/home/john/myzope/Products/MailManager/MailManager.py", line 92, in ?
from Products.MailManager.Reporting import ReportingDataMixin, manage_addQueueReportingEngine
File "/home/john/myzope/Products/MailManager/Reporting.py", line 60, in ?
globals())
File "/usr/lib/zope2.10/lib/python/Products/PageTemplates/PageTemplateFile.py", line 89, in __init__
content = open(filename).read()
IOError: [Errno 2] No such file or directory: '/home/john/myzope/Products/MailManager/www/manage_addQueueReportingEngineForm.zpt'
(/home/john/testzope is where I put my Zope instance)
It tries to load a few non-existant page template files, these are:
Reporting.py, line 60, referring to www/manage_addQueueReportingEngineForm.zpt
MailManager.py:4348, www/master_fullwidth.zpt
MailManager.py:4383, www/Test.zpt
ruleset/zope.py:83, ruleset/www/manage_addRulesetEngineForm.zpt
I'm guessing Test.zpt is the same as test.zpt, but the others are completely missing. The last one even
seems to be pointing at the wrong directory (whould probably be under www, not ruleset/www). I've created
dummy files with those names, and MailManager happily runs so far but it will probably bug out as soon as I
hit those pages. I cannot find those files anywhere, including SVN (tested with the complete SVN sources,
with the same issue). Where are they, or if they don't exist, what should be done with the references to them?
Regards,
John Stäck
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/