Setup: net-zope/zodb-3.6.0 dev-lang/python-2.5.2-r7 Using this combination, when trying to connect to a new database instance (via this code), it dies. Reproducible: Always Steps to Reproduce: 1. create an empty database 2. try to connect via this code: <code> from ZEO.ClientStorage import ClientStorage import ZODB import time storage = ClientStorage('/tmp/my-zeosocket' ) # wait until the storage is ready deadline = time.time() + 10 while (time.time() < deadline) and (not storage.is_connected()): time.sleep(1) database = ZODB.DB(storage) print database </code> Actual Results: localhost # python ./test.py No handlers could be found for logger "ZEO.zrpc" Traceback (most recent call last): File "./test.py", line 12, in <module> database = ZODB.DB(storage) File "usr/lib/python2.5/site-packages/ZODB/DB.py", line 238, in __init__ File "usr/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 746, in load File "usr/lib/python2.5/site-packages/ZEO/ClientStorage.py", line 769, in loadEx File "usr/lib/python2.5/site-packages/ZEO/ServerStub.py", line 192, in loadEx File "usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 531, in call File "usr/lib/python2.5/site-packages/ZEO/zrpc/connection.py", line 621, in wait ZEO.zrpc.error.DisconnectedError Expected Results: Running this code with python 2.4 returns back a database object. After a bit of debugging in connection.py, the problem can be seen by adding more logging in the error_handler function: ZRPCError('Unsafe global: ZODB.POSException.POSKeyError',) This error then lead me to a thread from the Zope guys saying that ZODB >3.6 need to run on python > 2.5 http://mail.zope.org/pipermail/zodb-dev/2008-January/011412.html Could someone please update the DEPENDS line on the net-zope/zodb-3.6.0.ebuild to: DEPEND=">=dev-lang/python-2.3.5 !>dev-lang/python-2.5" Thanks, -Gabe
I think you were looking for slot dependencies, cause this form would simply block higher python versions.
Unmaintained and doesn't work with stable python. Let's vote.
(In reply to comment #2) > Unmaintained and doesn't work with stable python. Let's vote. > Make that: Doesn't work with previous stable python OR current stable python.
ZODB is also shipped as part of Zope itself. I have no idea how these two relate.
(In reply to comment #4) > ZODB is also shipped as part of Zope itself. I have no idea how these two > relate. Ignore that. I remembered this incorrectly. ZEO is part of both zodb and zope, which is completely unrelated to this bug.
I vote no, still works with python in the tree. Upstream limitation, as long as zope (and related) have a Gentoo maintainer, treecleaners should not be involved.
Which maintainer? The empty herd?
Let's remove it wrt bug 191260. No one cares to bump it.
I can try to fix it in this week.
This bug should be fixed in net-zope/zodb-3.9.1.