PageTemplate calls absolute_url / Error getPhysicalPath
He folks, I get an Error getPhysicalPath not available when I call absolute_url. The Object is a Neoboard. What can I do ? Thanks in Advance for any hints... Volker 2003-02-19T15:19:04 ERROR(200) SiteError http://xssssssssssssssssssss/navigation.htm Traceback (innermost last): File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 98, in publish File C:\Program Files\Zope\lib\python\ZPublisher\mapply.py, line 88, in mapply (Object: navigation.htm) File C:\Program Files\Zope\lib\python\ZPublisher\Publish.py, line 39, in call_object (Object: navigation.htm) File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 252, in __call__ (Object: navigation.htm) File C:\Program Files\Zope\lib\python\Shared\DC\Scripts\Bindings.py, line 283, in _bindAndExec (Object: navigation.htm) File C:\Program Files\Zope\lib\python\Products\PageTemplates\ZopePageTemplate.py, line 228, in _exec (Object: navigation.htm) File C:\Program Files\Zope\lib\python\Products\PageTemplates\PageTemplate.py, line 95, in pt_render (Object: navigation.htm) File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 200, in __call__ File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 244, in interpret File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 636, in do_loop_tal File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 244, in interpret File C:\Program Files\Zope\lib\python\TAL\TALInterpreter.py, line 473, in do_setLocal_tal File C:\Program Files\Zope\lib\python\Products\PageTemplates\TALES.py, line 217, in evaluate File C:\Program Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 245, in __call__ File C:\Program Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 206, in __call__ File C:\Program Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 201, in _eval File C:\Program Files\Zope\lib\python\Products\PageTemplates\Expressions.py, line 108, in render (Object: absolute_url) File C:\Program Files\Zope\lib\python\OFS\Traversable.py, line 37, in absolute_url (Object: Allgemeines) File C:\Program Files\Zope\lib\python\OFS\Traversable.py, line 64, in getPhysicalPath (Object: Allgemeines) AttributeError: getPhysicalPath
volker.wend@efgbsh.de wrote at 2003-2-19 15:33 +0100:
I get an Error getPhysicalPath not available when I call absolute_url. The Object is a Neoboard. What can I do ? .... (Object: absolute_url) File C:\Program Files\Zope\lib\python\OFS\Traversable.py, line 37, in absolute_url (Object: Allgemeines) File C:\Program Files\Zope\lib\python\OFS\Traversable.py, line 64, in getPhysicalPath (Object: Allgemeines) AttributeError: getPhysicalPath
The acqusition chain is broken: It contains an object which does not have the "getPhysicalPath" attribute. This should not happen .... The easiest way to find out what went wrong would be debugging. We made good experience with WingIDE. A more stoneage approach would be to use "pdb". Please consult the "Debugging Zope" HowTos. Dieter
participants (2)
-
Dieter Maurer -
volker.wend@efgbsh.de