[Zope] unsupported format character 'Y' - LocalFS / ZMI

Florian Konnertz florian.konnertz@web.de
Wed, 23 Apr 2003 19:14:36 +0200


Hi all,

I have a LocalFS instance in root, base-path is '/' of my linux box. 
When i browse it in ZMI: /usr -> local i get this error:


Traceback (innermost last):
   Module ZPublisher.Publish, line 102, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 43, in call_object
   Module App.special_dtml, line 61, in __call__
   Module DocumentTemplate.DT_String, line 474, in __call__
   Module DocumentTemplate.DT_In, line 705, in renderwob
   Module DocumentTemplate.DT_With, line 76, in render
   Module DocumentTemplate.DT_Var, line 280, in render
    - __traceback_info__: ('bobobase_modification_time', None, {'fmt': 
'%Y-%m-%d %H:%M', '': 'bobobase_modification_time'})
ValueError: unsupported format character 'Y' (0x59) at index 1


It's in the file main.dtml in
LocalFS/dtml

   <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">


Why isn't this recognized as usual?

regards,
Florian


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