[ZODB-Dev] ZEO Cross-platform?

jholland@tomsw.com jholland@tomsw.com
Thu, 7 Nov 2002 19:11:25 -0500


I figured out how to get the BLATHER log data. This time I was running
ZEO on a Sun and connecting to it from Linux (Red Hat Intel)-- the
following  comes out in the log when attempting a
Clientstorage.ClientStorage((....)) I tried a few times and got the
same result. From a user perspective the storage=ClientStorage....
command in Python on the Linux box just didn't respond at all (no more >>>
prompt)


2002-11-08T00:06:39 INFO(0) ZEO Server Close 1673352
------
2002-11-08T00:06:49 INFO(0) ZEO Server Connect 1673352 ('192.168.1.20',
33592)
------
2002-11-08T00:06:49 ERROR(200) ZEO Server Unknown storage_id: Z200
------
2002-11-08T00:06:49 INFO(0) ZEO Server Close 1673352
------
2002-11-08T00:06:49 ERROR(200) ZEO uncaptured python exception, closing
channel <ZEOConnection connected 192.168.1.20:33592 at 198888>
(exceptions.TypeError:len() of unsized object
[/usr/local/lib/python2.1/asyncore.py|poll|92]
[/usr/local/lib/python2.1/asyncore.py|handle_read_event|386]
[/export/home/jholland/StandaloneZODB-1.0/ZEO/smac.py|handle_read|102]
[/export/home/jholland/StandaloneZODB-1.0/ZEO/StorageServer.py|message_input|284]
[/export/home/jholland/StandaloneZODB-1.0/ZEO/StorageServer.py|get_info|340])
------
2002-11-08T00:06:49 INFO(0) ZEO Server Close 1673352




On Thu, Nov 07, 2002 at 11:23:01AM -0500, Guido van Rossum wrote:
> > I've been experimenting with ZODB and ZEO. I am able to have
> > multiple clients access a ZEO storage on the same machine. However,
> > when I tried to connect to a Sun ZEO process from a Windows client
> > it just hung. Is this a known issue?
> 
> I don't think it's a cross-platform thing -- AFAIK the ZEO protocol is
> does depend on the platform or byte order.
> 
> Most likely it's a bug in your setup of the Windows client.  To debug
> this, it behooves you to turn on BLATHER-level loggin on both client
> and server and observe the log files.
> 
> --Guido van Rossum (home page: http://www.python.org/~guido/)