[ZODB-Dev] Error 'error: uncaptured python exception, closing channel ... ', When use ZEO in python client( not zope...)

胡杨 yaron at yahoo.cn
Fri Oct 28 09:55:01 UTC 2011





first, ZEO is start with 'zeoctl -C /etc/zeo.conf start', start Successful. the content of /etc/zeo.conf :
<zeo>
  address ip.ip.ip.ip:9000
  read-only false
  invalidation-queue-size 100
</zeo>
<filestorage1>
path /var/tmp/Data.fs
</filestorage>
<eventlog>
<logfile>
path /var/tmp/zeo.log
format %(asctime)s %(message)s
</logfile>
</eventlog>
<runner>
program runzeo -C /etc/zeo.conf
</runner>

The Question, When I Connect ZEO, for Example :
fromZEO importClientStorage
fromZODB importDB
importtransaction
importZEO.zrpc.client

addr =('ip',9000)
storage =ClientStorage.ClientStorage(addr)
...

It throw out Exception :
error:uncaptured python exception,closing channel <select-trigger (pipe)at 972880c>(<type 'exceptions.OSError'>:[Errno11]Resourcetemporarily unavailable [/usr/lib/python2.6/asyncore.py|read|74][/usr/lib/python2.6/asyncore.py|handle_read_event|413][/usr/lib/python2.6/site-packages/ZODB3-3.10.3-py2.6-linux-i686.egg/ZEO/zrpc/trigger.py|handle_read|117][/usr/lib/python2.6/asyncore.py|recv|362][/usr/lib/python2.6/asyncore.py|recv|588])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20111028/14f8cd90/attachment-0001.html 


More information about the ZODB-Dev mailing list