[Zope-CMF] Minor bug after installing CMF from CVS

kamon ayeva kayeva@hotmail.com
Fri, 22 Mar 2002 09:50:29 +0000


Hi,

I had a problem I don't understand with both yesterday's and today's 
download from CMF. Don't know if I am the only one to get it.
The bug is related to MemberDataTool.py.
It seems to happen each time I try to log in the site using the id of the 
Site Administrator (the one used to create the site). The error occurs but 
the user actually gets logged in.
Note that there is no problem with a normal user joining in and then logging 
in.

Here's an extract of the traceback I got:

TALESError

Sorry, a site error occurred.

Traceback (innermost last):
  File C:\LDVNEW~1\lib\python\ZPublisher\Publish.py, line 150, in 
publish_module
  File C:\LDVNEW~1\lib\python\ZPublisher\Publish.py, line 114, in publish
  File C:\LDVNEW~1\lib\python\Zope\__init__.py, line 158, in 
zpublisher_exception_hook
    (Object: website)
  File C:\LDVNEW~1\lib\python\ZPublisher\Publish.py, line 98, in publish
  File C:\LDVNEW~1\lib\python\ZPublisher\mapply.py, line 88, in mapply
    (Object: logged_in)
  File C:\LDVNEW~1\lib\python\ZPublisher\Publish.py, line 39, in call_object
    (Object: logged_in)
  File C:\LDVNEW~1\lib\python\Shared\DC\Scripts\Bindings.py, line 252, in 
__call__
    (Object: logged_in)
  File C:\LDVNEW~1\lib\python\Shared\DC\Scripts\Bindings.py, line 283, in 
_bindAndExec
    (Object: logged_in)
  File C:\LDVNEW~1\lib\python\Products\PageTemplates\ZopePageTemplate.py, 
line 207, in _exec
    (Object: logged_in)
  File C:\LDVNewIntranet\lib\python\Products\CMFCore\FSPageTemplate.py, line 
124, in pt_render
    (Object: logged_in)
  File C:\LDVNEW~1\lib\python\Products\PageTemplates\PageTemplate.py, line 
86, in pt_render
    (Object: logged_in)
    (Info: {'container': <CMFSite instance at 01CB3138>,
'here': <CMFSite instance at 01CB3138>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter 
instance at 0134AB94>,
'nothing': None,
'options': {'args': ()},
'request': ...
...
...

File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 158, in __call__
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 191, in interpret
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 523, in 
do_useMacro
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 191, in interpret
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 542, in 
do_defineSlot
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 191, in interpret
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 491, in 
do_condition
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 191, in interpret
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 491, in 
do_condition
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 191, in interpret
  File C:\LDVNEW~1\lib\python\TAL\TALInterpreter.py, line 402, in 
do_setLocal_tal
  File C:\LDVNEW~1\lib\python\Products\PageTemplates\TALES.py, line 247, in 
evaluate
  File C:\LDVNEW~1\lib\python\Products\PageTemplates\ZRPythonExpr.py, line 
49, in __call__
    (Info: member.setProperties(last_login_time=member.login_time))
  File Python expression 
"member.setProperties(last_login_time=member.login_time)", line 2, in f
  File C:\LDVNewIntranet\lib\python\Products\CMFCore\MemberDataTool.py, line 
241, in setProperties
TALESError: Sorry, an error occurred

Regards,
Kamon


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com