Opened 15 years ago
Closed 15 years ago
#214 closed defect (invalid)
Exception in 404 page
Reported by: | slinkp | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Default | Version: | |
Severity: | Unassigned | Keywords: | |
Cc: |
Description
2008-10-30T14:16:56 ERROR SiteError Exception while rendering view on exception Traceback (most recent call last): File "/home/pw/builds/geo/almanac/develop-eggs/zope.app.publication-3.4.3-py2.4.egg/zope/app/publication/zopepublication.py", line 334, in handleException body = mapply(view, (), request) File "/home/pw/builds/geo/almanac/develop-eggs/zope.publisher-3.4.2-py2.4.egg/zope/publisher/publish.py", line 108, in mapply return debug_call(obj, args) - __traceback_info__: <opengeo.almanac.error.NotFoundView object at 0x404bbf8> File "/home/pw/builds/geo/almanac/develop-eggs/zope.publisher-3.4.2-py2.4.egg/zope/publisher/publish.py", line 114, in debug_call return obj(*args) File "/home/pw/builds/geo/almanac/develop-eggs/grok-0.13-py2.4.egg/grok/components.py", line 172, in __call__ return self._render_template() File "/home/pw/builds/geo/almanac/develop-eggs/grok-0.13-py2.4.egg/grok/components.py", line 176, in _render_template return self.template.render(self) File "/home/pw/builds/geo/almanac/develop-eggs/grok-0.13-py2.4.egg/grok/components.py", line 381, in render return template.pt_render(namespace) File "/home/pw/builds/geo/almanac/develop-eggs/zope.pagetemplate-3.4.0-py2.4.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render strictinsert=0, sourceAnnotations=sourceAnnotations)() File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__ self.interpret(self.program) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 891, in do_useMacro self.interpret(macro) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal self.do_optTag(stuff) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 521, in do_optTag return self.no_tag(start, program) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 516, in no_tag self.interpret(program) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret handlers[opcode](self, args) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 586, in do_setLocal_tal self.engine.setLocal(name, self.engine.evaluateValue(expr)) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/tales.py", line 696, in evaluate return expression(self) - /home/pw/builds/geo/almanac/src/CommunityAlmanac/opengeo/almanac/templates/maintemplate.pt - Line 30, Column 2 - Expression: <PathExpr standard:u'view/application_url|default'> - Names: {'args': (), 'context': <zope.traversing.namespace.view object at 0x2e9b5f8>, 'default': <object object at 0x2b3969aa4518>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': {}, 'request': <zc.resourcelibrary.publication.Request instance URL=http://localhost:8181/@@view/index.html>, 'static': <grok.components.DirectoryResource object at 0x404bb38>, 'template': <grok.components.TrustedFilePageTemplate object at 0x4464d78>, 'view': <opengeo.almanac.error.NotFoundView object at 0x404bbf8>} File "/home/pw/builds/geo/almanac/develop-eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 217, in __call__ return self._eval(econtext) File "/home/pw/builds/geo/almanac/develop-eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 211, in _eval return ob() File "/home/pw/builds/geo/almanac/develop-eggs/grok-0.13-py2.4.egg/grok/components.py", line 236, in application_url obj = obj.__parent__ AttributeError: 'view' object has no attribute '__parent__'
Note:
See TracTickets
for help on using tickets.
Very sorry - wrong Trac!