[ZODB-Dev] ZopeUndo.Prefix import problem
Chris Withers
chris at simplistix.co.uk
Mon Apr 20 19:08:44 EDT 2009
Hi All,
Trying to go to the Undo tab in the ZMI for Zope 2.12.0a3 for one
database I have gives the following on the storage server:
ERROR ZEO.zrpc (6397) can't decode message:
'(K\x05K\x00U\x08undoInfo(K\x00K\x14}U\x0bdescription(cZ...'
------
ZEO.zrpc.Connection(S) (127.0.0.1:49396) Error caught in asyncore
Traceback (most recent call last):
File "/usr/local/lib/python2.5/asyncore.py", line 68, in read
obj.handle_read_event()
File "/usr/local/lib/python2.5/asyncore.py", line 390, in
handle_read_event
self.handle_read()
File
"/home/chris/buildout-eggs/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZEO/zrpc/smac.py",
line 243, in handle_read
self.message_input(msg)
File
"/home/chris/buildout-eggs/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZEO/zrpc/connection.py",
line 527, in message_input
msgid, flags, name, args = self.marshal.decode(message)
File
"/home/chris/buildout-eggs/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZEO/zrpc/marshal.py",
line 49, in decode
return unpickler.load() # msgid, flags, name, args
File
"/home/chris/buildout-eggs/ZODB3-3.9.0a12-py2.5-linux-i686.egg/ZEO/zrpc/marshal.py",
line 65, in find_global
raise ZRPCError("import error %s: %s" % (module, msg))
ZRPCError: import error ZopeUndo.Prefix: No module named ZopeUndo.Prefix
However, this ZEO server has the following in it's zeo.conf:
<runner>
python $INSTANCE/bin/py
..and this is copied and pasted from the shell:
$ bin/py
>>> import ZopeUndo
>>> import ZopeUndo.Prefix
>>> ZopeUndo.Prefix.__file__
'/home/chris/buildout-eggs/Zope2-2.12.0a3-py2.5-linux-i686.egg/ZopeUndo/Prefix.pyc'
So I'm totally confused.
Anyone got any ideas?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the ZODB-Dev
mailing list