Python doesn't handle date time for 0-10 final
----------------------------------------------

                 Key: QPID-1031
                 URL: https://issues.apache.org/jira/browse/QPID-1031
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: M3
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: M3


The python client doesn't handle the data time for the 0-10 file which results 
in the following error.

    self.dispatch(self.assembly)
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/session.py", line 214, in 
dispatch
    args.append(seg.decode(self.spec))
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/assembler.py", line 41, in 
decode
    return getattr(self, "decode_%s" % choice.name)(spec)
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/assembler.py", line 57, in 
decode_header
    values.append(sc.read_struct32())
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/codec010.py", line 197, in 
read_struct32
    fields = type.decode_fields(self)
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/spec010.py", line 210, in 
decode_fields
    result[f.name] = f.type.decode(codec)
  File "/opt/workspace/qpid/trunk/qpid/python/qpid/spec010.py", line 150, in 
decode
    return getattr(codec, "read_%s" % self.name)()
AttributeError: StringCodec instance has no attribute 'read_datetime'


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to