[ZCM] [ZC] 2335/ 1 Request "zeopack.py doesn't run due to asyncore API usage"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Wed, 20 Jun 2007 19:33:39 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2335 Update (Request) "zeopack.py doesn't run due to asyncore API usage"
Status Pending, Database/bug medium
To followup, visit:
http://www.zope.org/Collectors/Zope/2335
==============================================================
= Request - Entry #1 by optilude on Jun 20, 2007 7:33 pm
I tried to run utilities/ZODBTools/zeopack.py, with the intention of scheduling ZODB packs. However, this resulted in the following:
$ PYTHONPATH=/Users/optilude/Development/Zope/2.10/svn/lib/python ./zeopack.py -p 8100 -d 7
Traceback (most recent call last):
File "./zeopack.py", line 33, in ?
from ZEO.ClientStorage import ClientStorage
File "/Users/optilude/Development/Zope/2.10/svn/lib/python/ZEO/ClientStorage.py", line 35, in ?
from ZEO.zrpc.client import ConnectionManager
File "/Users/optilude/Development/Zope/2.10/svn/lib/python/ZEO/zrpc/client.py", line 29, in ?
from ZEO.zrpc.connection import ManagedClientConnection
File "/Users/optilude/Development/Zope/2.10/svn/lib/python/ZEO/zrpc/connection.py", line 40, in ?
client_trigger = trigger(client_map)
File "/Users/optilude/Development/Zope/2.10/svn/lib/python/ZEO/zrpc/trigger.py", line 141, in __init__
asyncore.file_dispatcher.__init__(self, r, map)
TypeError: __init__() takes exactly 2 arguments (3 given)
I'm not familiar enough with asyncore to suggest a patch, unfortunately.
==============================================================