[Zope] ZEO and Zope 2.4.0a1 help

Chris McDonough chrism@digicool.com
Fri, 08 Jun 2001 10:39:29 -0400


It appears that the Zope Book docs are wrong.  The -E option to z2.py
doesn't exist.  I think the -E option might serve as some sort of
stand-in for custom_zodb.py in some alternate reality, but not in this
one.  This is broken documentation (I've submitted it to the docs guys).

The answer is to not try to use the -E switch.  Instead, modify the
Storage= line in custom_zodb.py file to be (untested):

Storage=ZEO.ClientStorage.ClientStorage('/path/to/var/zeo.soc')

- C


Norman Khine wrote:
> 
> Hello I am trying to run Zope and ZEO on the same server, but I am unsure if
> it is working correctly.
> 
> I have followed the http://www.zope.org/Members/michel/ZB/ZEO.html setup
> instructions
> 
> but get an error when I type:
> 
> $ python z2.py -D -E var/zeo.soc
> 
> Error:
> getopt.GetoptError: option -E not recognized
> 
> but if I type
> 
> $ python z2.py -D -F var/zeo.soc
> 
> then I get this as my output
> 
> 2001-06-08T13:45:26 INFO(0) ZServer HTTP server started at Fri Jun  8
> 14:45:26 2001
>         Hostname: localhost
>         Port: 8080
> ------
> 2001-06-08T13:45:26 INFO(0) ZServer FTP server started at Fri Jun  8
> 14:45:26 2001
>         Hostname: localhost
>         Port: 8021
> ------
> 2001-06-08T13:45:26 INFO(0) ZServer FastCGI Server (V1.0) started at Fri Jun
> 8 14:45:26 2001
>         IP          :
>         Port        : None
>         Socket path : var/zeo.soc
> 
> my confusion is that on the http://www.zope.org/Members/michel/ZB/ZEO.html
> the output should be
> 
> ------
>       2000-10-04T20:43:11 INFO(0) client Trying to connect to server
>       ------
>       2000-10-04T20:43:11 INFO(0) ClientStorage Connected to storage
>       ------
>       2000-10-04T20:43:12 PROBLEM(100) ZServer Computing default pinky
>       ------
>       2000-10-04T20:43:12 INFO(0) ZServer Medusa (V1.19) started at Wed Oct
> 4 15:43:12 2000
>               Hostname: pinky.zopezoo.org
>               Port:8080
> 
>       ------
>       2000-10-04T20:43:12 INFO(0) ZServer FTP server started at Wed Oct  4
> 15:43:12 2000
>               Authorizer:None
>               Hostname: pinky
>               Port: 8021
>       ------
>       2000-10-04T20:43:12 INFO(0) ZServer Monitor Server (V1.9) started on
> port 8099
> 
> Am I missing something, and how do I check if ZEO is working from the
> localhost.
> 
> Also when I access the management folder I don't seem to have ZGadfly
> database from the Add products drop-down selection, althogh in the Products
> folder is showing as an installed product.
> 
> Thanks
> 
> Norman
> 
> =========================================
> "Eternity is Time
> Time, eternity
> To see the two as opposite
> Is Man's Perversity"
> 
> The Book of Angelus Silesius
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )