[Zope] Lost with ZEO Setup

Dunigan, Craig craig.dunigan@esker.com
Wed, 18 Jul 2001 16:13:35 -0500


Alex, 

I have run into this error as well.  I solved it by linking cPickle.so from
$SOFTWARE_HOME/lib/python into  $SOFTWARE_HOME/lib/python/ZODB.  I'm not
sure that's a good final solution, though, but it's an okay workaround for
now (YMMV!).  It seems that ZEO uses a later version of cPickle than Zope
2.3.3, at least according to Jeremy Hylton at DC.  I'm copying this to
zodb-dev@zope.org, which is the best place for ZEO questions and problems.
Perhaps someone there could enlighten both of us as to a better solution?  

Craig Dunigan
Web Programmer
Esker Software - Extending the Reach of Information
mailto:craig.dunigan@esker.com
Ph. 608.273.6000
Fax 608.273.8227
http://www.esker.com

> -----Original Message-----
> From: Alex Kelly [mailto:kellya@babbage.franklin.edu]
> Sent: Wednesday, July 18, 2001 2:41 PM
> To: zope@zope.org
> Subject: [Zope] Lost with ZEO Setup
> 
> 
> I have tried to follow the "Advanced Production Site with ZEO" from 
> http://www.zope.org/Members/dshaw/AdvancedSiteSetup but have not been 
> able to make it work.  I am trying to use Zope-2.3.3 and 
> ZEO-1.0b3 on a 
> Solaris 8 box.  I have followed the steps exactly (all the directory 
> names are the same, and I have used the configuration files 
> and startup 
> scripts from that page.  In the log file (from STUPID_LOG_FILE in 
> zope.conf) I get:
> 
> # cat ZEO_Server.log
> ------
> 2001-07-18T19:17:07 INFO(0) zdaemon zdaemon: Wed Jul 18 
> 15:17:07 2001: 
> Houston, we have forked
> ------
> 2001-07-18T19:17:07 INFO(0) zdaemon zdaemon: Wed Jul 18 
> 15:17:07 2001: 
> Houston, we have forked
> ------
> 2001-07-18T19:17:07 INFO(0) zdaemon zdaemon: Wed Jul 18 
> 15:17:07 2001: 
> Hi, I just forked off a kid: 23923
> ------
> 2001-07-18T19:17:12 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>   File 
> /opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZEO/start.py, 
> line 268, in main
>   File 
> /opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZEO/__
> init__.py, 
> line 86, in ?
>   File 
> /opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZEO/fa
> p.py, line 
> 166, in ?
>   File 
> /opt/WWW/ZopeInstallation/Zope_software_home/lib/python/ZEO/fa
> p.py, line 
> 152, in fap
>     (Object: ZServer)
> ImportError: Cannot import an up-to-date cPickle
> 
> 
> ------
> 2001-07-18T19:17:12 PROBLEM(100) zdaemon zdaemon: Wed Jul 18 15:17:12 
> 2001: The kid, 23923, died on me.
> #
> 
> If anyone can tell from this what has gone wrong please let 
> me know.  If 
> there are any other better howtows, please let me know.  I 
> don't think 
> this one gave enough details.  Since I am new to both Zope 
> and Python, 
> when it doesn't work...I really don't know where to look.
> 
> Alex Kelly
> Internet System Administrator
> Franklin University
> 
> 
> _______________________________________________
> 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 )
>