[ZODB-Dev] ZEO on NT upgrade hints?
Jeremy Hylton
jeremy@digicool.com
Wed, 30 May 2001 12:33:49 -0400 (EDT)
>>>>> "CD" == Dunigan, Craig <craig.dunigan@esker.com> writes:
CD> Not especially helpful. However, this time stderr on the
CD> console gave me an exception error message:
CD> D:\Zope>D:\Zope\bin\python D:\Zope\lib\python\ZEO\start.py -p 8800
CD> uncaptured python exception, closing channel <StorageServer
CD> listening :8800 at 9667a0> (exceptions.TypeError:too many
CD> arguments; expected 2, got 3
CD> [D:\Zope\bin\lib\asyncore.py|poll|64]
CD> [D:\Zope\bin\lib\asyncore.py|handle_read_event|284]
CD> [D:\Zope\lib\python\ZEO\StorageServer.py|handle_accept|181]
CD> [D:\Zope\lib\python\ZEO\StorageServer.py|__init__|231]
CD> [D:\Zope\lib\python\ZEO\smac.py|__init__|100])
I agree with Andrew's diagnosis, it's version-skew problem with
asyncore. ZEO expects to find a recent version of asyncore, but Zope
2.3.2 ships with Python 1.5.2 and its old version of asyncore.
It's strange, though, that you see that particular error. When I run
ZEO 1.0b3 w/ Zope 2.3.2 on Win2k, I get an error that says it's unable
to find an up-to-date copy of cPickle.
So I can't reproduce your exact problem, but I also can't get ZEO to
run on Win2k.
In your case, I don't understand why it's finding asyncore.py from
Zope\bin\lib. I would expect it to use the one found in
ZServer\medusa\asyncore.
Jeremy