[Zope-CMF] Re: global name 'ZopeTime' is not defined

Dave Lehman davelehman@loewen.com
Mon, 29 Oct 2001 13:03:09 -0600


Dunno if this will help, but here is the actual error and traceback:

Zope Error

Zope has encountered an error while publishing this resource.

Error Type: NameError
Error Value: global name 'ZopeTime' is not defined

----

Traceback (innermost last):
  File /home/grifter/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /home/grifter/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /home/grifter/Zope-2.4.0-src/lib/python/Zope/__init__.py, line 226,
in zpublisher_exception_hook
    (Object: LockableItem)
  File /home/grifter/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /home/grifter/Zope-2.4.0-src/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: logged_in)
  File /home/grifter/Zope-2.4.0-src/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: logged_in)
  File /home/grifter/Zope-2.4.0-src/lib/python/OFS/DTMLMethod.py, line 194,
in __call__
    (Object: logged_in)
  File
/home/grifter/Zope-2.4.0-src/lib/python/DocumentTemplate/DT_String.py, line
544, in __call__
    (Object: logged_in)
  File /home/grifter/Zope-2.4.0-src/lib/python/DocumentTemplate/DT_With.py,
line 148, in render
    (Object: portal_properties)
  File /home/grifter/Zope-2.4.0-src/lib/python/DocumentTemplate/DT_Let.py,
line 148, in render
    (Object: member="portal_membership.getAuthenticatedMember()")
  File /home/grifter/Zope-2.4.0-src/lib/python/DocumentTemplate/DT_Util.py,
line 230, in eval
    (Object: portal_registration.setProperties(login_time=ZopeTime()))
    (Info: portal_registration)
  File <string>, line 2, in f
    (Object: guarded_getattr)
NameError: (see above)