[Zope] ExternalFile errors
Chris H
chris123 at magma.ca
Sat Dec 11 21:56:17 EST 2004
Greets;
Testing externalFile from collective cvs consistantly gives the
following error upon creating an instance, regardless of user that
starts the zope process.
URL: manage_addExternalFileForm
Line 36, Column 5
Expression: standard:'container/gethostname'
Names:
{'container': <__FactoryDispatcher__ instance at 40f65340>,
'context': <__FactoryDispatcher__ instance at 40f65340>,
'default': <Products.PageTemplates.TALES.Default instance at 0x40b8ae6c>,
'here': <__FactoryDispatcher__ instance at 40f65340>,
'loop': <SafeMapping instance at 40f653e0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x40b8fb0c>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 40f653e0>,
'request': <HTTPRequest,
URL=http://localhost:8080/manage_addProduct/ExternalFile/create>,
'root': <Application instance at 417e2a10>,
'template': <PageTemplateFile at /manage_addExternalFileForm>,
'traverse_subpath': [],
'user': chris}
Module Products.PageTemplates.Expressions, line 201, in __call__
Module Products.PageTemplates.Expressions, line 189, in _eval
Module Products.PageTemplates.Expressions, line 145, in _eval
__traceback_info__: container
Module Products.PageTemplates.Expressions, line 340, in restrictedTraverse
__traceback_info__: {'path': ['gethostname'],
'TraversalRequestNameStack': []}
Unauthorized: You are not allowed to access 'gethostname' in this
context (Also, an error occurred while attempting to render the standard
error message.)
Any suggestions on how to resolve this?
/ch
More information about the Zope
mailing list