[Zope] Newbie -Installed fine but can't run

Michel Pelletier michel@digicool.com
Wed, 8 Sep 1999 11:28:34 -0400


Try this:

$ python1.5.2
Python 1.5.2 (#1, Apr 14 1999, 10:34:26)  [GCC 2.7.2.3] on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import time
>>> time.daylight

As see if you get the same error.  If you don't, Zope is not using the
right python.

-Michel



> -----Original Message-----
> From: Mike Kompar [mailto:mikek@mtcibs.com]
> Sent: Wednesday, September 08, 1999 9:21 AM
> To: zope@zope.org
> Subject: [Zope] Newbie -Installed fine but can't run
> 
> 
> Hello,
> 
> I can't seem to get the server to start.
> I built and installed Zope-2.0.0-src for Linux 2.2.6 with no errors  
> "./configure --with-threads"
> "make"
> "make clean"
> suid to root "make install"
> 
> The output>
> The super user name and password are 'superuser'
>         and 'xxxxxxxxx'.
> 
>         You can change the superuser name and password with the
>         zpasswd script.  To find out more, type:
> 
>         /usr/local/bin/python zpasswd.py
> 
> chmod 0600 /tmp/Zope-2.0.0-src/access
> chmod 0711 /tmp/Zope-2.0.0-src/var
> --------------------------------------------------------------
> ----------------
> creating default database
> chmod 0600 /tmp/Zope-2.0.0-src/var/Data.fs
> --------------------------------------------------------------
> ----------------
> Creating start script, start
> 
> 
> When I type ./start or python z2.py-I get the following errors:
> 
> [root]/tmp/Zope-2.0.0-src$ ./start
> Traceback (innermost last):
>   File "/tmp/Zope-2.0.0-src/z2.py", line 366, in ?
>     import ZServer
>   File "/tmp/Zope-2.0.0-src/ZServer/__init__.py", line 123, in ?
>     from HTTPServer import zhttp_server, zhttp_handler
>   File "/tmp/Zope-2.0.0-src/ZServer/HTTPServer.py", line 116, in ?
>     from HTTPResponse import make_response
>   File "/tmp/Zope-2.0.0-src/ZServer/HTTPResponse.py", line 99, in ?
>     from medusa import http_server, asyncore
>   File "/tmp/Zope-2.0.0-src/ZServer/medusa/http_server.py", 
> line 720, in ?
>     tz_for_log = compute_timezone_for_log()
>   File "/tmp/Zope-2.0.0-src/ZServer/medusa/http_server.py", 
> line 703, in compute_timezone_for_log
>     if time.daylight:
> AttributeError: daylight                                      
>                            
> 
> 
> I also tried to ./start as a user instead of root with the 
> same result.. 
> Any help is much appreciated.
> Thanks
> --
> Mike Kompar
> Manager of Client Services
> IBS a division of Modern Technologies
> mikek@mtcibs.com    http://www.mtcibs.com
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>