[Zope] Problems with ZopeTime

Oliver Erlewein erlewein@gmx.de
Wed, 30 May 2001 16:44:58 +0200 (MEST)


Hi

I'm getting this traceback when trying to work with ZopeTime:

Traceback (innermost last):
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 223, in
publish_module
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File D:\Zope\PortalSQS05\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
    (Object: RoleManager)
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File D:\ZOPE\PortalSQS05\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: index_html)
  File D:\Zope\PortalSQS05\lib\python\ZPublisher\Publish.py, line 112, in
call_object
    (Object: index_html)
  File D:\ZOPE\PortalSQS05\lib\python\App\Factory.py, line 178, in
index_html
    (Object: RoleManager)
  File D:\Zope\PortalSQS05\lib\python\OFS\DTMLMethod.py, line 189, in
__call__
    (Object: Forumbeitrag_addForm)
  File D:\ZOPE\PortalSQS05\lib\python\DocumentTemplate\DT_String.py, line
538, in __call__
    (Object: Forumbeitrag_addForm)
  File D:\ZOPE\PortalSQS05\lib\python\DocumentTemplate\DT_Var.py, line 276,
in render
    (Object: ZopeTime)
KeyError: (see above)

I call ZopeTime from within a Zclass (DTML-Method) with a line like this:

<input type=hidden name="datum" value="<dtml-var ZopeTime fmt="%Y/%m/%d -
%H:%M:%S">">

If I call as manager all goes well. The error occurs when I have a user with
reduced rights. Do I need a certain right for ZopeTime? Can anybody give me
a hint on why it gives me this error?

Thanx a lot!
Oliver

-- 
Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net