txAMQP,RPC,Thrifted - example just hangs instead of calculating

Asked by ceelian


I have read about the possibility to get RPC via AMQP with txAMQP and Thrifted (including the Patch). We setup the Testenvironment, but couldn't get the Setup to work. We got the txAMQP Sample to run from [1] and [2].
We also got the "original" Thrift Calculator Example to run.

But how can we combine this all together, so that we can make RPC with Thrift over AMQP using txAMQP.

We tried the python-txamqp-0.2.1 examples. But client.py hangs at
Line 106: tm = TTwisted.TwistedMemoryBuffer(amqpTransport)

and the server.py hangs at
Line 88: processor = tutorial.Calculator.Processor(handler)

Actually we have no idea how to come any further.

Thanks in advance.

Best Regards,
Christian Haintz

[1] http://fluidinfo.com/esteve/stuff/txamqp_consumer.py
[2] http://fluidinfo.com/esteve/stuff/txamqp_publisher.py

Question information

English Edit question
txAMQP Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
ceelian (christian-haintz) said :

As written the current stable version just hangs.

We also tried the current development version. With the development version we got an exception in the example client. See Bug: https://bugs.launchpad.net/txamqp/+bug/407654

Revision history for this message
ceelian (christian-haintz) said :

we tried it on two machines, and we could reproduce the errors.


Revision history for this message
Esteve Fernandez (esteve) said :

Sorry for the slow response, I introduced that bug when I merged a fix for bug #366674


I'm linking this question to bug #407654


Can you help with this problem?

Provide an answer of your own, or ask ceelian for more information if necessary.

To post a message you must log in.