One more question.<br><br>Does Zope requires that a "root" user should exist on system in order to run properly? I am asking this because when I try to run Zope as a daemon I got this:<br><br>$ ./plonectl start<br>
instance: . . . . . . . . . . . . . . . . . . . Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>No handlers could be found for logger "root"<br>. Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>
. Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>. Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>
. Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>. Unlinking stale socket /cygdrive/c/Cygwin/home/ccanassa/Plone/zinstance/var/instance/zopectlsock; sleep 1<br>
....<br><br>It continues spamming this until I kill the process, the server does not start neither. I suspect that this is happening because of the lack of a "root" user on my Cygwin installation.<br><br>If I use the runzope script it works ok thought.<br>
<br>Thanks,<br>Cesar<br><br><div class="gmail_quote">2009/3/27 Cesar Canassa <span dir="ltr"><<a href="mailto:cesar.canassa@gmail.com">cesar.canassa@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks!<br><br>I replaced the code with the one from this link and compiled it again, worked like a charm :-)<div class="im"><br><br><a href="http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py" target="_blank">http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py</a><br>
<br><br></div>Regards,<br>Cesar Canassa<br><br><div class="gmail_quote">2009/3/26 Ross Patterson <span dir="ltr"><<a href="mailto:me@rpatterson.net" target="_blank">me@rpatterson.net</a>></span><div><div></div><div class="h5">
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>Cesar Canassa <<a href="mailto:cesar.canassa@gmail.com" target="_blank">cesar.canassa@gmail.com</a>> writes:<br>
<br>
> I am trying to run Zope using cygwin and Windows XP. I started by downloading the<br>
> Python 2.4.6 sources and compiling it with:<br>
><br>
> ./configure<br>
> make && make install<br>
><br>
> After that I downloaded the Zope-2.11.2-final sources and compiled it with:<br>
><br>
> ./configure --with-python=/usr/local/bin/python<br>
> make && make install<br>
><br>
> The compilation went smoothly so I created a instance and started the server with<br>
> the runzope script. The script returned this error:<br>
><br>
> $ ./runzope<br>
> Traceback (most recent call last):<br>
> File "/opt/Zope-2.11/lib/python/Zope2/Startup/run.py", line 56, in ?<br>
> run()<br>
> File "/opt/Zope-2.11/lib/python/Zope2/Startup/run.py", line 21, in run<br>
> starter.prepare()<br>
> File "/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py", line 109, in prepare<br>
> self.startZope()<br>
> File "/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py", line 300, in<br>
> startZope<br>
> Zope2.startup()<br>
> File "/opt/Zope-2.11/lib/python/Zope2/__init__.py", line 47, in startup<br>
> _startup()<br>
> File "/opt/Zope-2.11/lib/python/Zope2/App/startup.py", line 105, in startup<br>
> Globals.VersionNameName)<br>
> File "/opt/Zope-2.11/lib/python/App/ZApplication.py", line 32, in __init__<br>
> if not root.has_key(name):<br>
> File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 811, in setstate<br>
> self._setstate(obj)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 870, in _setstate<br>
> self._reader.setGhostState(obj, p)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 604, in setGhostState<br>
> state = self.getState(pickle)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 597, in getState<br>
> return unpickler.load()<br>
> File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 471, in<br>
> _persistent_load<br>
> return self.load_oid(reference)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 537, in load_oid<br>
> return self._conn.get(oid)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/Connection.py", line 245, in get<br>
> obj = self._reader.getGhost(p)<br>
> File "/opt/Zope-2.11/lib/python/ZODB/serialize.py", line 591, in getGhost<br>
> return klass.__new__(klass, *args)<br>
> TypeError: Acquirer.__new__(Application) is not safe, use<br>
> Persistence.Persistent.__new__()<br>
><br>
> Am I doing something wrong? Does anyone knows if it's possible to compile Zope<br>
> with Cygwin?<br>
<br>
</div></div>Maybe the following can help:<br>
<br>
<a href="http://rpatterson.net/software/products.cygwinpatch" target="_blank">http://rpatterson.net/software/products.cygwinpatch</a><br>
<a href="http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py" target="_blank">http://dev.plone.org/collective/browser/cygwinpatch/trunk/__init__.py</a><br>
<a href="http://mail.zope.org/pipermail/zope/2005-December/163636.html" target="_blank">http://mail.zope.org/pipermail/zope/2005-December/163636.html</a><br>
<br>
Ross<br>
<br>
_______________________________________________<br>
Zope-Dev maillist - <a href="mailto:Zope-Dev@zope.org" target="_blank">Zope-Dev@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a><br>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a> )<br>
</blockquote></div></div></div><br>
</blockquote></div><br>