[Zope-dev] incompatible time modules?

Stefan Kuzminski stefan@umevoice.com
Tue, 11 Apr 2000 09:30:03 -0700 (PDT)


Hi all,

I get the following error on starting zope..

Traceback (innermost last):
  File "/home/langur/Zope-2.1.6-src/z2.py", line 427, in ?
    import ZServer
  File "/home/langur/Zope-2.1.6-src/ZServer/__init__.py", line 123, in
?
    from HTTPServer import zhttp_server, zhttp_handler
  File "/home/langur/Zope-2.1.6-src/ZServer/HTTPServer.py", line 116,
in ?
    from HTTPResponse import make_response
  File "/home/langur/Zope-2.1.6-src/ZServer/HTTPResponse.py", line 99,
in ?
    from medusa import http_server, asyncore
  File "/home/langur/Zope-2.1.6-src/ZServer/medusa/http_server.py",
line 746, in
 ?
    tz_for_log = compute_timezone_for_log()
  File "/home/langur/Zope-2.1.6-src/ZServer/medusa/http_server.py",
line 729, in
 compute_timezone_for_log
    if time.daylight:
AttributeError: daylight


I built everyting from scratch on a linux box.  The zope code seems to expect
different things from the time module than the Python distribution includes.
Is there a special zope version of the time module?  I'm using python 1.5.2.

Thanks,
Stefan Kuzminski