<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Matthew,<br>
<br>
you probably need to know the concepts of Zope Through-the-web (TTW)
and Filesystem (FS) Product Coding.<br>
Some templates, scripts are in the ZODB and editable via ZMI - the
recommended style for a not so recent Zope version is using FS Zope
Products. Please identify the zope version by using the
ZMI-ControlPanel.<br>
Please compare the way you start the zope instance with the way your
former colleague did it.<br>
Identify if you are using a custom developed Zope Product with
templates and a 'main_template' and optionally a 'folder_listing'
Zope Page Template or similar. Find them by searching in the
filesystem ('Products' Folder is one option) and in the ZMI and tell
us the location if you find them.<br>
<br>
It could be that the Filesystem Directory Views need to be created
manually - if the product code is not doing that properly.<br>
Please check this stuff and come back. And the way with pastebin is
right - the more (proper) information we have the better. At the
moment the bits and pieces of your application are not complete to
me - help me. Now its your turn.<br>
<br>
Sascha<br>
<br>
Am 02.02.2012 11:27, schrieb Matthew Moore:
<blockquote cite="mid:4F2A6502.6010402@smtl.co.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
On 02/02/12 10:19, Niels Dettenbach wrote:
<blockquote cite="mid:2359079.8q1AhrqIq1@gongo" type="cite">
<pre wrap="">Am Donnerstag, 2. Februar 2012, 10:15:44 schrieb Matthew Moore:
</pre>
<blockquote type="cite">
<pre wrap="">For more detailed information about the error, please refer to the error
log.
</pre>
</blockquote>
<pre wrap="">It highly makes sense to do that (and i.e. post the details here) ;)
</pre>
</blockquote>
The output from zopectl fg is on the pastebin link:<br>
<br>
<pre wrap=""><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pastebin.com/bhBp7AXf">http://pastebin.com/bhBp7AXf</a>
</pre>
It's quite a lot of output, so I didn't really want to post it to
the list. But here's a selection:<br>
<br>
<ol>
<li class="li2">
<div class="de2">2012-02-01 16:02:16 ERROR root Exception
while rendering an error message</div>
</li>
<li class="li1">
<div class="de1">Traceback (most recent call last):</div>
</li>
<li class="li2">
<div class="de2"> File
"/usr/local/zope/lib/python/OFS/SimpleItem.py", line 223, in
raise_standardErrorMessage</div>
</li>
<li class="li1">
<div class="de1"> v = s(**kwargs)</div>
</li>
<li class="li2">
<div class="de2"> File
"/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py",
line 108, in __call__</div>
</li>
<li class="li1">
<div class="de1"> return Script.__call__(self, *args, **kw)</div>
</li>
<li class="li2">
<div class="de2"> File
"/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 311, in __call__</div>
</li>
<li class="li1">
<div class="de1"> return self._bindAndExec(args, kw, None)</div>
</li>
<li class="li2">
<div class="de2"> File
"/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 348, in _bindAndExec</div>
</li>
<li class="li1">
<div class="de1"> return self._exec(bound_data, args, kw)</div>
</li>
<li class="li2">
<div class="de2"> File
"/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py",
line 164, in _exec</div>
</li>
<li class="li1">
<div class="de1"> result = f(*args, **kw)</div>
</li>
<li class="li2">
<div class="de2"> File "Script (Python)", line 16, in
standard_error_message</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 311, in __call__</div>
</li>
<li class="li2">
<div class="de2"> return self._bindAndExec(args, kw, None)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
line 348, in _bindAndExec</div>
</li>
<li class="li2">
<div class="de2"> return self._exec(bound_data, args, kw)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py",
line 195, in _exec</div>
</li>
<li class="li2">
<div class="de2"> result =
self.pt_render(extra_context=bound_names)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py",
line 134, in pt_render</div>
</li>
<li class="li2">
<div class="de2"> result =
FSPageTemplate.inheritedAttribute('pt_render')(</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/PageTemplate.py",
line 104, in pt_render</div>
</li>
<li class="li2">
<div class="de2"> tal=not source, strictinsert=0)()</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/TAL/TALInterpreter.py", line
238, in __call__</div>
</li>
<li class="li2">
<div class="de2"> self.interpret(self.program)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/TAL/TALInterpreter.py", line
281, in interpret</div>
</li>
<li class="li2">
<div class="de2"> handlers[opcode](self, args)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/TAL/TALInterpreter.py", line
735, in do_useMacro</div>
</li>
<li class="li2">
<div class="de2"> macro =
self.engine.evaluateMacro(macroExpr)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/TALES.py",
line 221, in evaluate</div>
</li>
<li class="li2">
<div class="de2"> return expression(self)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
line 185, in __call__</div>
</li>
<li class="li2">
<div class="de2"> return self._eval(econtext)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
line 173, in _eval</div>
</li>
<li class="li2">
<div class="de2"> ob = self._subexprs[-1](econtext)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
line 127, in _eval</div>
</li>
<li class="li2">
<div class="de2"> ob = restrictedTraverse(ob, path,
getSecurityManager())</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
line 286, in restrictedTraverse</div>
</li>
<li class="li2">
<div class="de2"> o=t(REQUEST, name)</div>
</li>
<li class="li1">
<div class="de1"> File
"/usr/local/zope/lib/python/Products/Five/traversable.py",
line 115, in __bobo_traverse__</div>
</li>
<li class="li2">
<div class="de2"> raise AttributeError(name)</div>
</li>
<li class="li1">
<div class="de1">AttributeError: main_template</div>
</li>
</ol>
<br>
The error_log that you can access through the management page is
blank. There's nothing in the syslogs/messages/apache logs.<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Matthew Moore
Surgical Materials Testing Laboratory
System Administrator
Telephone: +44 (0)1656 752165
Email: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:matt@smtl.co.uk">matt@smtl.co.uk</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Zope maillist - <a class="moz-txt-link-abbreviated" href="mailto:Zope@zope.org">Zope@zope.org</a>
<a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope">https://mail.zope.org/mailman/listinfo/zope</a>
** No cross posts or HTML encoding! **
(Related lists -
<a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope-announce">https://mail.zope.org/mailman/listinfo/zope-announce</a>
<a class="moz-txt-link-freetext" href="https://mail.zope.org/mailman/listinfo/zope-dev">https://mail.zope.org/mailman/listinfo/zope-dev</a> )
</pre>
</blockquote>
<br>
</body>
</html>