[Zope] Zope instance not serving website - Site Error

Matthew Moore matt at smtl.co.uk
Thu Feb 2 10:27:14 UTC 2012


On 02/02/12 10:19, Niels Dettenbach wrote:
> Am Donnerstag, 2. Februar 2012, 10:15:44 schrieb Matthew Moore:
>> For more detailed information about the error, please refer to the error
>> log.
> It highly makes sense to do that (and i.e. post the details here) ;)
>
The output from zopectl fg is on the pastebin link:

http://pastebin.com/bhBp7AXf

It's quite a lot of output, so I didn't really want to post it to the
list.  But here's a selection:

 1.
    2012-02-01 16:02:16 ERROR root Exception while rendering an error
    message
 2.
    Traceback (most recent call last):
 3.
      File "/usr/local/zope/lib/python/OFS/SimpleItem.py", line 223, in
    raise_standardErrorMessage
 4.
        v = s(**kwargs)
 5.
      File
    "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py",
    line 108, in __call__
 6.
        return Script.__call__(self, *args, **kw)
 7.
      File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
    line 311, in __call__
 8.
        return self._bindAndExec(args, kw, None)
 9.
      File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
    line 348, in _bindAndExec
10.
        return self._exec(bound_data, args, kw)
11.
      File
    "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPythonScript.py",
    line 164, in _exec
12.
        result = f(*args, **kw)
13.
      File "Script (Python)", line 16, in standard_error_message
14.
      File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
    line 311, in __call__
15.
        return self._bindAndExec(args, kw, None)
16.
      File "/usr/local/zope/lib/python/Shared/DC/Scripts/Bindings.py",
    line 348, in _bindAndExec
17.
        return self._exec(bound_data, args, kw)
18.
      File
    "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py",
    line 195, in _exec
19.
        result = self.pt_render(extra_context=bound_names)
20.
      File
    "/usr/local/instances/zope-voyager2/Products/CMFCore/FSPageTemplate.py",
    line 134, in pt_render
21.
        result = FSPageTemplate.inheritedAttribute('pt_render')(
22.
      File
    "/usr/local/zope/lib/python/Products/PageTemplates/PageTemplate.py",
    line 104, in pt_render
23.
        tal=not source, strictinsert=0)()
24.
      File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 238,
    in __call__
25.
        self.interpret(self.program)
26.
      File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 281,
    in interpret
27.
        handlers[opcode](self, args)
28.
      File "/usr/local/zope/lib/python/TAL/TALInterpreter.py", line 735,
    in do_useMacro
29.
        macro = self.engine.evaluateMacro(macroExpr)
30.
      File "/usr/local/zope/lib/python/Products/PageTemplates/TALES.py",
    line 221, in evaluate
31.
        return expression(self)
32.
      File
    "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
    line 185, in __call__
33.
        return self._eval(econtext)
34.
      File
    "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
    line 173, in _eval
35.
        ob = self._subexprs[-1](econtext)
36.
      File
    "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
    line 127, in _eval
37.
        ob = restrictedTraverse(ob, path, getSecurityManager())
38.
      File
    "/usr/local/zope/lib/python/Products/PageTemplates/Expressions.py",
    line 286, in restrictedTraverse
39.
        o=t(REQUEST, name)
40.
      File "/usr/local/zope/lib/python/Products/Five/traversable.py",
    line 115, in __bobo_traverse__
41.
        raise AttributeError(name)
42.
    AttributeError: main_template


The error_log that you can access through the management page is blank. 
There's nothing in the syslogs/messages/apache logs.

Cheers,

-- 
Matthew Moore
Surgical Materials Testing Laboratory
System Administrator
Telephone: +44 (0)1656 752165
Email: matt at smtl.co.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope/attachments/20120202/0da168c2/attachment.html>


More information about the Zope mailing list