The hello-world on the trunk uses the development version of the 0-10 spec file which means that particular script probably doesn't interoperate with much of anything at this point. If you point the python client at a copy of the 0-8 spec it should interoperate with rabbitmq.

--Rafael

Edwin Grubbs wrote:
Has anyone been able to get the python qpid client to work with
rabbitmq? I get the following error when I try to run hello-world from
revision 572394 of trunk.

Warning: duplicate id: Constant(name=xa_rbrollback, id=1)
Warning: duplicate id: Constant(name=xa_rbtimeout, id=2)
Warning: duplicate id: Constant(name=xa_heurhaz, id=3)
Warning: duplicate id: Constant(name=xa_rdonly, id=7)
Traceback (most recent call last):
  File "hello-world", line 9, in <module>
    ch.session_open()
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/peer.py", line
353, in <lambda>
    method = lambda *args, **kwargs: self.invoke(type, args, kwargs)
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/peer.py", line
271, in invoke
    return self.invoker(frame, content)
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/peer.py", line
346, in invoke_method
    raise Closed(self.reason)
qpid.peer.Closed: Fatal error:
Traceback (most recent call last):
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/peer.py", line
91, in reader
    frame = self.conn.read()
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/connection.py",
line 110, in read
    frame = Frame.DECODERS[type].decode(self.spec, dec, len(body))
  File "/home/egrubbs/rabbitmq/qpid-trunk/python/qpid/connection.py",
line 176, in decode
    meth = klass.methods.byid[c.decode_short()]
KeyError: 60


Thanks,
Edwin

Reply via email to