Not treated exception EOFError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAMQP |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Send a message and then try to create one createThriftClient. When using thamqp exception does not happen. But I can not continue to work with thrixt.
@defer.
def prepareClient(
yield client.
channel = yield client.channel(1)
yield channel.
def send_messages():
content = 'Hello'
msg = Content(content)
print "Sending message: %s" % content
send_messages()
pfactory = TBinaryProtocol
thriftClient = yield client.
defer.
FIX!!!
txamqp/
line: 198. Fix to send message and after CreateThriftClient. Not treated exception EOFError.
if oprot_factory is None:
oprot = self.factory.
else:
oprot = oprot_factory.
try:
d = processor.
except TProtocolException, e:
except EOFError, e:
Changed in txamqp: | |
status: | New → Invalid |