One more question.<br><br>Does Zope requires that a &quot;root&quot; 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 &quot;root&quot;<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 &quot;root&quot; 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">&lt;<a href="mailto:cesar.canassa@gmail.com">cesar.canassa@gmail.com</a>&gt;</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">&lt;<a href="mailto:me@rpatterson.net" target="_blank">me@rpatterson.net</a>&gt;</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 &lt;<a href="mailto:cesar.canassa@gmail.com" target="_blank">cesar.canassa@gmail.com</a>&gt; writes:<br>
<br>
&gt; I am trying to run Zope using cygwin and Windows XP. I started by downloading the<br>
&gt; Python 2.4.6 sources and compiling it with:<br>
&gt;<br>
&gt; ./configure<br>
&gt; make &amp;&amp; make install<br>
&gt;<br>
&gt; After that I downloaded the Zope-2.11.2-final sources and compiled it with:<br>
&gt;<br>
&gt; ./configure --with-python=/usr/local/bin/python<br>
&gt; make &amp;&amp; make install<br>
&gt;<br>
&gt; The compilation went smoothly so I created a instance and started the server with<br>
&gt; the runzope script. The script returned this error:<br>
&gt;<br>
&gt; $ ./runzope<br>
&gt; Traceback (most recent call last):<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/Startup/run.py&quot;, line 56, in ?<br>
&gt;     run()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/Startup/run.py&quot;, line 21, in run<br>
&gt;     starter.prepare()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py&quot;, line 109, in prepare<br>
&gt;     self.startZope()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/Startup/__init__.py&quot;, line 300, in<br>
&gt; startZope<br>
&gt;     Zope2.startup()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/__init__.py&quot;, line 47, in startup<br>
&gt;     _startup()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/Zope2/App/startup.py&quot;, line 105, in startup<br>
&gt;     Globals.VersionNameName)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/App/ZApplication.py&quot;, line 32, in __init__<br>
&gt;     if not root.has_key(name):<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/Connection.py&quot;, line 811, in setstate<br>
&gt;     self._setstate(obj)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/Connection.py&quot;, line 870, in _setstate<br>
&gt;     self._reader.setGhostState(obj, p)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/serialize.py&quot;, line 604, in setGhostState<br>
&gt;     state = self.getState(pickle)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/serialize.py&quot;, line 597, in getState<br>
&gt;     return unpickler.load()<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/serialize.py&quot;, line 471, in<br>
&gt; _persistent_load<br>
&gt;     return self.load_oid(reference)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/serialize.py&quot;, line 537, in load_oid<br>
&gt;     return self._conn.get(oid)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/Connection.py&quot;, line 245, in get<br>
&gt;     obj = self._reader.getGhost(p)<br>
&gt;   File &quot;/opt/Zope-2.11/lib/python/ZODB/serialize.py&quot;, line 591, in getGhost<br>
&gt;     return klass.__new__(klass, *args)<br>
&gt; TypeError: Acquirer.__new__(Application) is not safe, use<br>
&gt; Persistence.Persistent.__new__()<br>
&gt;<br>
&gt; Am I doing something wrong? Does anyone knows if it&#39;s possible to compile Zope<br>
&gt; 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>