Thanks! I replaced the code with the one from this link and compiled it again, worked like a charm :-)
http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py Regards, Cesar Canassa 2009/3/26 Ross Patterson <m...@rpatterson.net> > Cesar Canassa <cesar.cana...@gmail.com> writes: > > > 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? > > Maybe the following can help: > > http://rpatterson.net/software/products.cygwinpatch > http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py > http://mail.zope.org/pipermail/zope/2005-December/163636.html > > Ross > > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > http://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope ) >
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )