[Zope] AttributeError in DocFinder 1.0.3
Kate Legere
klegere at kfpl.ca
Fri Aug 5 15:04:30 EDT 2005
I've installed DocFinder 1.0.3 but I'm getting an error when I try to
instantiate.
I'm running
(Zope 2.6.2 (binary release, python 2.1, linux2-x86), python 2.1.3, linux2)
Python Version
2.1.3 (#1, Sep 19 2002, 13:15:46) [GCC egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)]
I also found standard_template.pt on my local installation and copied it to
the same directory on the server but that doesn't help either.
What do I need to add?
Kate
Exception Type AttributeError
Exception Value standard_template.pt
Traceback (innermost last):
* Module ZPublisher.Publish, line 98, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.DC.Scripts.Bindings, line 252, in __call__
* Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
* Module Products.PageTemplates.PageTemplateFile, line 96, in _exec
* Module Products.PageTemplates.PageTemplate, line 95, in pt_render
<PageTemplateFile at />
* Module TAL.TALInterpreter, line 200, in __call__
* Module TAL.TALInterpreter, line 244, in interpret
* Module TAL.TALInterpreter, line 689, in do_useMacro
* Module Products.PageTemplates.TALES, line 220, in evaluate
URL: addForm
Line 1, Column 0
Expression: standard:'here/standard_template.pt/macros/page'
Names:
{'container': <__FactoryDispatcher__ instance at 8f47fb8>,
'default': <Products.PageTemplates.TALES.Default instance at 0x867d0f4>,
'here': <__FactoryDispatcher__ instance at 8f47fb8>,
'loop': <SafeMapping instance at 8e453e0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x867cdec>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 8e453e0>,
'request': <HTTPRequest,
URL=http://www2.kfpl.ca:8080/manage_addProduct/DocFinder/addForm>,
'root': <Application instance at 8df00f0>,
'template': <PageTemplateFile at />,
'traverse_subpath': [],
'user': zope}
* Module Products.PageTemplates.Expressions, line 206, in __call__
* Module Products.PageTemplates.Expressions, line 194, in _eval
* Module Products.PageTemplates.Expressions, line 150, in _eval
__traceback_info__: here
* Module Products.PageTemplates.Expressions, line 360, in
restrictedTraverse
__traceback_info__: {'path': ['standard_template.pt', 'macros',
'page'], 'TraversalRequestNameStack': ['page', 'macros']}
AttributeError: standard_template.pt
More information about the Zope
mailing list