[Zope-dev] Zope and Cygwin
Cesar Canassa
cesar.canassa at gmail.com
Thu Mar 26 16:15:04 EDT 2009
Hi all,
I am trying to run Zope using cygwin and Windows XP. I started by
downloading the Python 2.4.6 sources and compiling it with:
./configure
make && make install
After that I downloaded the Zope-2.11.2-final sources and compiled it with:
./configure --with-python=/usr/local/bin/python
make && make install
The compilation went smoothly so I created a instance and started the server
with the runzope script. The script returned this error:
$ ./runzope
Traceback (most recent call last):
File "/opt/Zope-2.11/lib/python/Zope2/Startup/run.py", line 56, in ?
run()
File "/opt/Zope-2.11/lib/python/Zope2/Startup/run.py", line 21, in run
starter.prepare()
File "/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py", line 109, in
prepare
self.startZope()
File "/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py", line 300, in
startZope
Zope2.startup()
File "/opt/Zope-2.11/lib/python/Zope2/__init__.py", line 47, in startup
_startup()
File "/opt/Zope-2.11/lib/python/Zope2/App/startup.py", line 105, in
startup
Globals.VersionNameName)
File "/opt/Zope-2.11/lib/python/App/ZApplication.py", line 32, in __init__
if not root.has_key(name):
File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 811, in setstate
self._setstate(obj)
File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 870, in
_setstate
self._reader.setGhostState(obj, p)
File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 604, in
setGhostState
state = self.getState(pickle)
File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 597, in getState
return unpickler.load()
File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 471, in
_persistent_load
return self.load_oid(reference)
File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 537, in load_oid
return self._conn.get(oid)
File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 245, in get
obj = self._reader.getGhost(p)
File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 591, in getGhost
return klass.__new__(klass, *args)
TypeError: Acquirer.__new__(Application) is not safe, use
Persistence.Persistent.__new__()
Am I doing something wrong? Does anyone knows if it's possible to compile
Zope with Cygwin?
Thanks,
Cesar Canassa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20090326/272a10b9/attachment.html
More information about the Zope-Dev
mailing list