[ZODB-Dev] zrpc marshall hidden issue

Sidnei da Silva sidnei at enfoldsystems.com
Thu Sep 15 13:10:33 EDT 2005


Hello,

We've hit an error that seems to be related to some code that probably
has no tests coverage.

When a marshalling error occurs, we get the following traceback, which
seems to be trying to reference a '.errors' attribute of a Marshaller
instance that doesn't seem to exist:

Traceback (most recent call last):
  File "/usr/lib/python2.3/asyncore.py", line 69, in read
    obj.handle_read_event()
  File "/usr/lib/python2.3/asyncore.py", line 390, in
  handle_read_event
    self.handle_read()
  File "/home/runyaga/work/projects/entransit/src/ZEO/zrpc/smac.py",
  line 219,
in handle_read
    self.message_input(msg)
  File
  "/home/runyaga/work/projects/entransit/src/ZEO/zrpc/connection.py",
line 396, in message_input
    self.handle_request(msgid, flags, name, args)
  File
  "/home/runyaga/work/projects/entransit/src/ZEO/zrpc/connection.py",
line 430, in handle_request
    return self.return_error(msgid, flags, *error)
  File
  "/home/runyaga/work/projects/entransit/src/ZEO/zrpc/connection.py",
line 485, in return_error
    except self.marshal.errors:
AttributeError: Marshaller instance has no attribute 'errors'

We are using:

ZEO            svn://svn.zope.org/repos/main/ZODB/tags/3.4.1/src/ZEO
ZODB           svn://svn.zope.org/repos/main/ZODB/tags/3.4.1/src/ZODB

-- 
Sidnei da Silva
Enfold Systems, LLC.
http://enfoldsystems.com


More information about the ZODB-Dev mailing list