Em Qui 01 Set 2005 14:41, um monte de gente disse que Mario Olimpio de
Menezes escreveu:
> Hi,
Hi again,
I'm still having the same problem; I did a lot of tests, including
changing python version (from 2.3 to 2.4), checked the versions of all
dependencies (Five, TextindexNG2, etc) and everything seems to be fine.
But the error persists - same error.
Any help?
I'm running zope2.8 on Debian (sarge+unstable+experimental),
CPS3.3.5. Only one instance
Zope is running with python2.3
No broken products; every other part of CPS seems to be OK.
Thanks ,
---------------------------------------------------
>
> thanks for this tip; almost there now!
> CPSMailAccess product isn't broken anymore but the portal action
> Configure Webmail gives this error now:
>
> --------------------------------------
> Error Type: NameError
> Error Value: global name 'test' is not defined
>
> * URL: index
> Line 59, Column 14
> Expression: <PythonExpr test(parameter['secu']==1, 1, 0)>
> Names:
>
> {'container': <Products.Five.metaclass.SimpleViewClass
> from
> /var/lib/zope2.8/instance/default/Products/CPSMailAccess/www/mailTool
>ParametersView.zpt object at 0x42954dcc>,
> 'context': <MailTool at /cps/portal_webmail>,
> 'default': <Products.PageTemplates.TALES.Default instance at
> 0x40b9450c>,
> 'here': <MailTool at /cps/portal_webmail>,
> 'loop': <Products.PageTemplates.TALES.SafeMapping object at
> 0x44e9060c>,
> 'modules': <Products.Five.TrustedExpression._ModuleImporter instance
> at 0x4167ac6c>,
> 'nothing': None,
> 'options': {'args': (<Products.Five.metaclass.SimpleViewClass
> from
> /var/lib/zope2.8/instance/default/Products/CPSMailAccess/www/mailTool
>ParametersView.zpt object at 0x42954dcc>,)},
> 'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> 0x44e9060c>,
> 'request': <HTTPRequest,
> URL=http://tucano.ipen.br/cps/portal_webmail/configure.html>,
> 'root': <Application at >,
> 'template': <ImplicitAcquirerWrapper object at 0x42954d0c>,
> 'traverse_subpath': [],
> 'user': cpsmanager,
> 'view': <Products.Five.metaclass.SimpleViewClass
> from
> /var/lib/zope2.8/instance/default/Products/CPSMailAccess/www/mailTool
>ParametersView.zpt object at 0x42954dcc>,
> 'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
> object at 0x44e9044c>}
>
> * Module Products.PageTemplates.PythonExpr, line 70, in __call__
> __traceback_info__: test(parameter['secu']==1, 1, 0)
> * Module <string>, line 2, in f
>
> NameError: global name 'test' is not defined
>
> -----------------------------------------------------------
>
> Any hints on this?
>
> Thanks.
--
Mario O.de Menezes, Ph.D. "Many are the plans in a man's heart, but
LinuxUser: #24626 is the Lord's purpose that prevails" Pv 19.21
http://www.ipen.br/~mario
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users