<div>Sorry for the string of messages, but also:</div><div><br class="webkit-block-placeholder"></div><div>I've recieved these errors when settings up with the following config files.</div><div><br class="webkit-block-placeholder">
</div><div>zeoserver.conf</div><div><br class="webkit-block-placeholder"></div><div><div><zeo></div><div>address localhost:8090</div><div>monitor-address localhost:8091</div><div></zeo></div><div><br class="webkit-block-placeholder">
</div><div><filestorage 1></div><div>path /tmp/Data.fs</div><div></filestorage></div><div><br class="webkit-block-placeholder"></div><div><eventlog></div><div><logfile></div><div>path /tmp/zeo.log</div>
<div>format %(asctime)s %(message)s</div><div></logfile></div><div></eventlog></div><div><br class="webkit-block-placeholder"></div></div><div><br class="webkit-block-placeholder"></div><div>zeoclient.conf</div>
<div><br class="webkit-block-placeholder"></div><div><div><zeoclient></div><div>server localhost:8090</div><div></zeoclient></div><div><br class="webkit-block-placeholder"></div></div><div><br class="webkit-block-placeholder">
</div><div>Error:</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><div>2008-01-09T17:33:42 (11338) opening storage '1' using FileStorage</div><div>2008-01-09T17:33:42 (11338) StorageServer created RW with storages: 1:RW:/tmp/Data.fs
</div><div>2008-01-09T17:33:42 (11338) listening on ('localhost', 8090)</div><div>2008-01-09T17:33:42 listening on ('localhost', 8091)</div><div>2008-01-09T17:36:55 (11338) new connection ('<a href="http://127.0.0.1">
127.0.0.1</a>', 60885): <ManagedServerConnection ('<a href="http://127.0.0.1">127.0.0.1</a>', 60885)></div><div>2008-01-09T17:36:55 (<a href="http://127.0.0.1:60885">127.0.0.1:60885</a>) received handshake 'Z303'
</div><div>2008-01-09T17:38:52 (<a href="http://127.0.0.1:60885">127.0.0.1:60885</a>) loadEx() raised exception: 0x00</div><div>Traceback (most recent call last):</div><div> File "/usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 421, in handle_request
</div><div> ret = meth(*args)</div><div> File "/usr/lib/python2.5/site-packages/ZEO/StorageServer.py", line 248, in loadEx</div><div> return self.storage.loadEx(oid, version)</div><div> File "/usr/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 523, in loadEx
</div><div> pos = self._lookup_pos(oid)</div><div> File "/usr/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 514, in _lookup_pos</div><div> raise POSKeyError(oid)</div><div>POSKeyError: 0x00
</div><div>2008-01-09T17:38:53 (11338/127.0.0.1:60885) disconnected</div><div>2008-01-09T17:38:53 (11338) new connection ('<a href="http://127.0.0.1">127.0.0.1</a>', 60886): <ManagedServerConnection ('<a href="http://127.0.0.1">
127.0.0.1</a>', 60886)></div><div>2008-01-09T17:38:53 (<a href="http://127.0.0.1:60886">127.0.0.1:60886</a>) received handshake 'Z303'</div><div>2008-01-09T17:39:00 (11338/127.0.0.1:60886) disconnected</div>
<div>2008-01-09T17:40:45 (11338) terminated by SIGINT</div><div>2008-01-09T17:40:45 (11338) closing storage '1'</div><div><br class="webkit-block-placeholder"></div><div>Regards,</div><div>Kenneth Miller</div><div>
<br class="webkit-block-placeholder"></div><br><div class="gmail_quote">On Jan 9, 2008 5:24 PM, Kenneth Miller <<a href="mailto:xkenneth@gmail.com">xkenneth@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Also,<div><br></div><div> I've replicated the error on Ubuntu linux.</div><div><br></div><div>Here's the server command and output.</div><div><br>
</div><div><div>xkenneth@xkenneth-desktop:/usr/lib/python2.5/site-packages$ python2.5 ZEO/runzeo.py -a localhost:8090 -f /tmp/test.fs</div><div>------</div><div>2008-01-09T17:19:38 INFO ZEO.runzeo (6138) opening storage '1' using FileStorage
</div><div>------</div><div>2008-01-09T17:19:38 INFO ZEO.StorageServer (6138) StorageServer created RW with storages: 1:RW:/tmp/test.fs</div><div>------</div><div>2008-01-09T17:19:38 INFO ZEO.zrpc (6138) listening on ('localhost', 8090)
</div><div>------</div><div>2008-01-09T17:20:41 INFO ZEO.StorageServer (6138) new connection ('<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>', 37523): <ManagedServerConnection ('<a href="http://127.0.0.1" target="_blank">
127.0.0.1
</a>', 37523)></div><div>------</div><div>2008-01-09T17:20:41 INFO ZEO.zrpc.Connection(S) (<a href="http://127.0.0.1:37523" target="_blank">127.0.0.1:37523</a>) received handshake 'Z303'</div><div>------</div>
<div>2008-01-09T17:20:53 INFO
ZEO.zrpc.Connection(S) (<a href="http://127.0.0.1:37523" target="_blank">127.0.0.1:37523</a>) loadEx() raised exception: 0x00</div><div class="Ih2E3d"><div>Traceback (most recent call last):</div></div><div> File "/usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 421, in handle_request
</div><div> ret = meth(*args)</div><div> File "/usr/lib/python2.5/site-packages/ZEO/StorageServer.py", line 248, in loadEx</div><div> return self.storage.loadEx(oid, version)</div><div> File "/usr/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 523, in loadEx
</div><div> pos = self._lookup_pos(oid)</div><div> File "/usr/lib/python2.5/site-packages/ZODB/FileStorage/FileStorage.py", line 514, in _lookup_pos</div><div> raise POSKeyError(oid)</div><div>POSKeyError: 0x00
</div><div>------</div><div>2008-01-09T17:20:53 INFO ZEO.StorageServer (6138/127.0.0.1:37523) disconnected</div><div>------</div><div>2008-01-09T17:20:53 INFO ZEO.StorageServer (6138) new connection ('<a href="http://127.0.0.1" target="_blank">
127.0.0.1</a>', 37524): <ManagedServerConnection ('<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>', 37524)></div><div>------</div><div>2008-01-09T17:20:53 INFO ZEO.zrpc.Connection(S) (<a href="http://127.0.0.1:37524" target="_blank">
127.0.0.1:37524</a>) received handshake 'Z303'</div><div><br></div><div>And here's the client input and error:</div><div><br></div><div><div>xkenneth@xkenneth-desktop
:/usr/lib/python2.5/site-packages$ python2.5</div><div>Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) </div><div>[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2</div><div class="Ih2E3d"><div>Type "help", "copyright", "credits" or "license" for more information.
</div><div>>>> from ZEO import ClientStorage</div><div>>>> from ZODB import DB</div><div>>>> storage = ClientStorage.ClientStorage(('localhost',8090))</div><div>>>> db = DB( storage )
</div><div>No handlers could be found for logger "ZEO.zrpc"</div><div>Traceback (most recent call last):</div><div> File "<stdin>", line 1, in <module></div></div><div> File "/usr/lib/python2.5/site-packages/ZODB/DB.py", line 238, in __init__
</div><div> storage.load(z64,'')</div><div> File "/usr/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 746, in load</div><div class="Ih2E3d"><div> return self.loadEx(oid, version)[:2]</div>
</div><div> File "/usr/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 769, in loadEx
</div><div class="Ih2E3d"><div> data, tid, ver = self._server.loadEx(oid, version)</div></div><div> File "/usr/lib/python2.5/site-packages/ZEO/ServerStub.py", line 192, in loadEx</div><div class="Ih2E3d"><div>
return self.rpc.call("loadEx", oid, version)
</div></div><div> File "/usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 531, in call</div><div class="Ih2E3d"><div> r_flags, r_args = self.wait(msgid)</div></div><div> File "/usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 621, in wait
</div><div class="Ih2E3d"><div> raise DisconnectedError()</div><div>ZEO.zrpc.error.DisconnectedError</div><div><br></div><div><br></div></div><div><div>Any help would be greatly appreciated.
</div><div><br></div><div>Regards,</div><font color="#888888"><div>Kenneth Miller</div></font></div></div><div><div></div><div class="Wj3C7c"><br><div class="gmail_quote">On Jan 9, 2008 5:03 PM, Kenneth Miller <<a href="mailto:xkenneth@gmail.com" target="_blank">
xkenneth@gmail.com
</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I applied the patch succesfully, but still recieved the same error.<br><br>How can i retrieve the log of the zeo process?
<br><br>Regards,<br><font color="#888888">Kenneth Miller<br></font><div><div></div><div><br>On Jan 9, 2008, at 4:52 PM, Paolo Losi wrote:<br><br>> You are maybe being bite by bug <a href="https://bugs.launchpad.net/zodb/+bug/135108" target="_blank">
https://bugs.launchpad.net/zodb/+bug/135108</a><br>> even if, in my case, it was unix socket instead of tcp socket.<br>><br>> Could you please try to apply the patch<br>> <a href="http://launchpadlibrarian.net/10338640/patch.diff" target="_blank">
http://launchpadlibrarian.net/10338640/patch.diff</a><br>> and report back?<br>><br>> It would be very useful to have the log of zeo process as well.<br>><br>> Paolo<br>><br>> Kenneth Miller wrote:<br>
>> All,<br>>> I hope this is the right mailing list for newbie help.<br>>> I'm trying to get a basic example of ZEO running for an example,<br>>> here's what I've tried so far.<br>>> I've installed
python2.5 and ZODB/Zeo with MacPorts (Mac OS X<br>>> 10.5.1).<br>>> To start the zeo server with a temporary filesystem, i've issued<br>>> this command:<br>>> python2.5 ZEO/runzeo.py -a localhost:8090 -f /tmp/test.fs
<br>>> To connect to the zeo server i've entered the following commands<br>>> and received the following error:<br>>> Python 2.5.1 (r251:54863, Oct 5 2007, 21:08:09)<br>>> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
<br>>> Type "help", "copyright", "credits" or "license" for more<br>>> information.<br>>> >>> from ZEO import ClientStorage<br>>> >>> from ZODB import DB
<br>>> >>><br>>> >>> storage = ClientStorage.ClientStorage( ('localhost', 8090) )<br>>> >>> db = DB( storage )<br>>> No handlers could be found for logger "
ZEO.zrpc
"<br>>> Traceback (most recent call last):<br>>> File "<stdin>", line 1, in <module><br>>> File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5-<br>>> macosx-10.5-i386.egg
/ZODB/DB.py", line 246, in __init__<br>>> storage.load(z64,'')<br>>> File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5-<br>>> macosx-10.5-i386.egg/ZEO/ClientStorage.py", line 727, in load
<br>>> return self.loadEx(oid, version)[:2]<br>>> File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5-<br>>> macosx-10.5-i386.egg/ZEO/ClientStorage.py", line 750, in loadEx<br>>> data, tid, ver = self._server.loadEx(oid, version)
<br>>> File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5-<br>>> macosx-10.5-i386.egg/ZEO/ServerStub.py", line 196, in loadEx<br>>> return self.rpc.call("loadEx", oid, version)
<br>>> File "/Library/Python/2.5/site-packages/ZODB3-3.7.2-py2.5-<br>>> macosx-10.5-i386.egg/ZEO/zrpc/connection.py", line 645, in call<br>>> r_flags, r_args = self.wait(msgid)<br>>> File "/Library/Python/2.5/site-packages/ZODB3-
3.7.2-py2.5-<br>>> macosx-10.5-i386.egg/ZEO/zrpc/connection.py", line 735, in wait<br>>> raise DisconnectedError()<br>>> ZEO.zrpc.error.DisconnectedError<br>>> I've expiremented with ZODB itself on a standalone FS, and gotten
<br>>> that to work successfully. I'd really like to use ZEO, so any help<br>>> would be appreciated.<br>>> Regards,<br>>> Kenneth Miller<br>>> _______________________________________________
<br>>> For more information about ZODB, see the ZODB Wiki:<br>>> <a href="http://www.zope.org/Wikis/ZODB/" target="_blank">http://www.zope.org/Wikis/ZODB/</a><br>>> ZODB-Dev mailing list - <a href="mailto:ZODB-Dev@zope.org" target="_blank">
ZODB-Dev@zope.org</a><br>>> <a href="http://mail.zope.org/mailman/listinfo/zodb-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zodb-dev</a><br>><br><br></div></div></blockquote></div><br></div></div>
</div>
</blockquote></div><br></div>