[Twisted-Python] Having touble with spread.pb un-serializing an object

Benjamin Ash bash at intelerad.com
Wed Sep 23 15:06:04 EDT 2009


I am trying to send new style classes that implement __slots__ with spread.pb.
Things seem to go awry when attempting to un-serialize the objects on the
client side.  I am not sure if this is a known issue.  How can I work around
this issue?



Stack trace:
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python-2.6/lib/python2.6/site-packages/twisted/spread/pb.py", line 514, in expressionReceived
  File "/usr/lib/python-2.6/lib/python2.6/site-packages/twisted/spread/pb.py", line 884, in proto_answer
  File "/usr/lib/python-2.6/lib/python2.6/site-packages/twisted/internet/defer.py", line 243, in callback
  File "/usr/lib/python-2.6/lib/python2.6/site-packages/twisted/internet/defer.py", line 312, in _startRunCallbacks
--- <exception caught here> ---
  File "/usr/lib/python-2.6/lib/python2.6/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "./postRelease.in", line 36, in checkMissingRpms
    print obj.name
exceptions.AttributeError: name

Intelerad Medical Systems 
Central Station 
895, de la Gauchetiere W., Suite 400 
Montreal, QC Canada H3B 4G1 

This email or any attachments may contain confidential or legally privileged information intended for the sole use of the addressees. Any use, redistribution, disclosure, or reproduction of this information, except as intended, is prohibited. If you received this email in error, please notify the sender and remove all copies of the message, including any attachments.   

More information about the Twisted-Python mailing list