« Return to Thread: Problems with latest pyAMF version

Problems with latest pyAMF version

by rpb :: Rate this Message:

Reply to Author | View in Thread

Hi guys,

I have been getting this error once in a while with the latest version
off PyAMF( 0.31)

return pyamf.remoting.encode(pyamf_response, context).getvalue()
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/remoting/__init__.py",
line 582, in encode
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/remoting/__init__.py",
line 429, in _write_body
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 519, in writeElement
    func(data)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 554, in writeArray
    self.writeElement(data)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 519, in writeElement
    func(data)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 728, in writeObject
    self.writeElement(value)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 519, in writeElement
    func(data)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 724, in writeObject
    obj_attrs = self._getObjectAttrs(o, alias)
  File
"/usr/lib/python2.5/site-packages/PyAMF-0.3.1-py2.5.egg/pyamf/amf0.py",
line 691, in _getObjectAttrs
    raise pyamf.EncodeError('Unable to determine object attributes')
EncodeError: Unable to determine object attributes

Does anyone have an idea what might be going wrong? It is sporadical and
does not happen all time


Thanks
_______________________________________________
PyAMF dev mailing list - dev@...
http://lists.pyamf.org/mailman/listinfo/dev

 « Return to Thread: Problems with latest pyAMF version