[ZODB-Dev] ZEO on Windows woes

Jeremy Hylton jeremy@digicool.com
Mon, 7 May 2001 23:22:18 -0400 (EDT)


>>>>> "PA" == Paul Abrams <paul@hiringtools.com> writes:

  PA> We are having problems running ZEO on windows. Has anyone tried
  PA> this with the latest Zope+ZEO? Here are the details, does
  PA> anything come to mind?

Paul,

I'm fairly familiar with the ZEO code, but I've never run it on
Windows :-(.  The exception raises a question, though.

  [...]

  PA> - When we start the ZC and the ZSS has already been started we
  PA>   get an
  PA> exception::

  PA> 2001-05-07T23:25:40 ERROR(200) ZEO uncaptured python exception,
  PA> closing channel <ZEOConnection connected 127.0.0.1:3277 at
  PA> b677c8> (exceptions.TypeError:len() of unsized object
  PA> [C:\_ZSS\ZServer\medusa\asyncore.py|poll|83]
  PA> [C:\_ZSS\ZServer\medusa\asyncore.py|handle_read_event|335]
  PA> [C:\_ZSS\lib\python\ZEO\smac.py|handle_read|152]
  PA> [C:\_ZSS\lib\python\ZEO\StorageServer.py|message_input|264]
  PA> [C:\_ZSS\lib\python\ZEO\StorageServer.py|get_info|316])

The complaint here is that the storage you are using with the ZSS does
not support len().  It should, which suggests it might be a simple
configuration problem.

How exactly do you start the ZSS?  (e.g. the -S argument to start.py)

Jeremy