[Zope] ZopeTime: several errors on 2.6.1

Florian Konnertz florian.konnertz@web.de
Tue, 11 Mar 2003 20:01:13 +0100


Hi,
sorry if you got this msg twice. I miss my first copy.


Andreas Jung wrote:
> 
> 
> --On Dienstag, 11. März 2003 14:54 +0100 Florian Konnertz 
> <florian.konnertz@web.de> wrote:
> 
>> Hi!
>>
>> I encounter several errors relating to ZopeTime:
>> Zope-2.6.1, ZWiki-0.16
>>
>>
>> http://openspirit.homelinux.net/
>>
>> 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 OFS.DTMLMethod, line 126, in __call__
>>    Module DocumentTemplate.DT_String, line 474, in __call__
>>    Module OFS.DTMLDocument, line 124, in __call__
>>    Module DocumentTemplate.DT_String, line 474, in __call__
>>    Module DocumentTemplate.DT_With, line 76, in render
>>    Module DocumentTemplate.DT_Var, line 219, in render
>> KeyError: ZopeTime
>>
>>
>> This line causes the error:
>> <dtml-var ZopeTime fmt="aCommon">
>>
> 
> Take a look at the the parameters that can be passed to time.strftime().
> aCommon is invalid.
But why does it works on my testserver?
Is this still correct: Zope uses its own DateTime instead of time?

I tried also the newest DateTime.py from cvs, but it had no effect.

BTW,
I have many DocumentTemplate, and strftime related errors now on my site 
and no idea why they suddenly appeared. I moved to a new server and a 
new Zope-2.6.1 yesterday and at first it worked fine.
It drives me mad!! &:-<
But i will solve this problems !!!!
(Thanks for listening!) :-)


Florian


-- 
Florian Konnertz   ---   http://www.florian-konnertz.de	
http://openspirit.homelinux.net/noowiki/FrontPage
Improved ZWiki about all topics, especially consciousness research
and wisdom traditions