qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Ritchie" <ritch...@apache.org>
Subject [Python] Client/Tests
Date Fri, 18 Apr 2008 11:26:53 GMT
Hi Python users,

Just been looking at trunk and was just wondering if python spoke 0-9?
I thought python generated the bits it needed from the spec files so
should work with 0-9. Was just trying it against the M2.1 broker but
the biggest cause of failure is the following. Looks like there is no
write_0_9 or read_0_9 methods.

Traceback (most recent call last):
  File "/cygdrive/c/dev/ApacheProjects/Qpid-clean/trunk/qpid/python/qpid/testlib.py",
line 225, in setUp
    self.client = self.connect()
  File "/cygdrive/c/dev/ApacheProjects/Qpid-clean/trunk/qpid/python/qpid/testlib.py",
line 250, in connect
    return testrunner.connect(*args, **keys)
  File "/cygdrive/c/dev/ApacheProjects/Qpid-clean/trunk/qpid/python/qpid/testlib.py",
line 200, in connect
    client.start("\x00" + user + "\x00" + password, mechanism="PLAIN",
  File "/cygdrive/c/dev/ApacheProjects/Qpid-clean/trunk/qpid/python/qpid/client.py",
line 89, in start
    self.conn = Connection(self.socket, self.spec)
  File "/cygdrive/c/dev/ApacheProjects/Qpid-clean/trunk/qpid/python/qpid/connection.py",
line 80, in __init__
    self.write = getattr(self, "write_%s_%s" % (self.spec.major,
AttributeError: Connection instance has no attribute 'write_0_9'

Martin Ritchie

View raw message