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

Jim Fulton jim at zope.com
Sat Oct 29 14:42:04 UTC 2011


2011/10/28 胡杨 <yaron at yahoo.cn>:
>
>
> 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>
> <filestorage 1>
> 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 :
>
> from ZEO import ClientStorage
> from ZODB import DB
> import transaction
> import ZEO.zrpc.client
>
> addr = ('ip', 9000)
> storage = ClientStorage.ClientStorage(addr)
> ...

These are pretty odd host names.  I assume you changed them
for the example.


>
> It throw out Exception :
>
> error: uncaptured python
>  exception, closing channel <select-trigger (pipe) at 972880c> (<type
> 'exceptions.OSError'>:[Errno 11] Resource temporarily 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])

This looks like some sort of system problem, otherwise, I have no idea. :)

Jim

-- 
Jim Fulton
http://www.linkedin.com/in/jimfulton


More information about the ZODB-Dev mailing list