Hi, I was install ZCoMIX-1_0final and I was receive following errors at console while Zope starts (I have installed stripogram). Windows95osr2 czech (CP win-1250), Zope 2.5.1. Did you have any idea to success? Regards J. Lukesh ------------------- C:\Program Files\zope-web\lukesh251>"C:\progs\Python21\python.exe" "C:\Program F iles\zope-web\lukesh251\z2.py" -D ------ 2002-09-02T14:12:10 INFO(0) Transparent Folders Applied patch version 0.3.2. ------ 2002-09-02T14:12:40 ERROR(200) Zope Could not import Products.ZCoMIX Traceback (innermost last): File C:\Program Files\zope-web\lukesh251\lib\python\OFS\Application.py, line 5 31, in import_product File C:\Program Files\zope-web\lukesh251\lib\python\Products\ZCoMIX\__init__.p y, line 1, in ? File C:\Program Files\zope-web\lukesh251\lib\python\Products\ZCoMIX\XSite.py, line 18, in ? (Object: os) File C:\Program Files\zope-web\lukesh251\lib\python\Products\ZCoMIX\XSite.py, line 25, in XSite File C:\Program Files\zope-web\lukesh251\lib\python\DateTime\DateTime.py, line 651, in __init__ File C:\Program Files\zope-web\lukesh251\lib\python\DateTime\DateTime.py, line 1032, in _parse File C:\Program Files\zope-web\lukesh251\lib\python\DateTime\DateTime.py, line 851, in _calcTimezoneName File C:\Program Files\zope-web\lukesh251\lib\python\DateTime\DateTime.py, line 401, in safelocaltime IOError: [Errno 22] Invalid argument
Jaroslav Lukesh writes:
I was install ZCoMIX-1_0final and I was receive following errors at console while Zope starts (I have installed stripogram). Windows95osr2 czech (CP win-1250), Zope 2.5.1. ... ... 851, in _calcTimezoneName File C:\Program Files\zope-web\lukesh251\lib\python\DateTime\DateTime.py, line 401, in safelocaltime IOError: [Errno 22] Invalid argument I saw a similar problem report in the mailing list (search the archives for "safelocaltime".
The error happens only on Windows. It happens when "localtime" is called with a negative argument. This, probably, is a bug in the Windows C-library. I do not know how you can work around this problem, but maybe the archives tell you ;-) Dieter
participants (2)
-
Dieter Maurer -
Jaroslav Lukesh