[Zope] Re: NisUserFolder
garry saddington
garry at joydiv.fsnet.co.uk
Thu Aug 28 08:40:36 EDT 2003
On Wednesday 27 August 2003 20:16, Dieter Maurer wrote:
> garry saddington wrote at 2003-8-26 16:45 +0100:
> > I am trying to use the postgres auth method from exUserFolder with a
> > plone site but i get an error message in the plone interface.
> >
> > 'global name time not defined'
> >
> > Does anyone know what this error is caused by please?
>
> I do not.
>
> But I know, that the traceback (--> /error_log) would help you
> to find out...
>
>
> Dieter
>Thanks, i have got the traceback but unfortunately i am not able to interpret
it, can anyone help me please? It is actually while using NisUserFolder as i
would prefer this method if i can get it to work. here it is
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 Products.CMFCore.FSPythonScript, line 90, in __call__
Module Shared.DC.Scripts.Bindings, line 252, in __call__
Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
Module Products.CMFCore.FSPythonScript, line 124, in _exec
- __traceback_info__: ({'script': <FSPythonScript at /test/logged_in>,
'context': <PloneSite instance at 8f99a20>, 'container': <PloneSite instance
at 8f99a20>, 'traverse_subpath': []}, (), {}, None)
Module Script (Python), line 25, in logged_in
Module Shared.DC.Scripts.Bindings, line 252, in __call__
Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 167, in _exec
Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec
Module Products.CMFCore.FSPageTemplate, line 139, in pt_render
Module Products.PageTemplates.PageTemplate, line 95, in pt_render
- <FSPageTemplate at /test/login_success>
Module TAL.TALInterpreter, line 200, in __call__
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 703, in do_useMacro
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 726, in do_defineSlot
Module TAL.TALInterpreter, line 244, in interpret
Module TAL.TALInterpreter, line 668, in do_condition
Module Products.PageTemplates.TALES, line 217, in evaluate
- Line 35, Column 12
- Expression: <PythonExpr not(member.login_time ==
here.ZopeTime('2000/01/01') and here.validate_email)>
- Names:
{'container': <PloneSite instance at 8f99a20>,
'default': <Products.PageTemplates.TALES.Default instance at
0x86c10ac>,
'here': <PloneSite instance at 8f99a20>,
'loop': <SafeMapping instance at 89ba160>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter
instance at 0x86cc034>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at 89ba160>,
'request': <HTTPRequest, URL=http://zope/test/logged_in>,
'root': <Application instance at 8f99100>,
'template': <FSPageTemplate at /test/login_success>,
'traverse_subpath': [],
'user': try}
Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
- __traceback_info__: not(member.login_time == here.ZopeTime('2000/01/01')
and here.validate_email)
Module Python expression "not(member.login_time ==
here.ZopeTime('2000/01/01') and here.validate_email)", line 2, in f
AttributeError: ZopeTime
Thanks in advance
garry
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list