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

Asked by ceelian

Hi,

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

Language:
English Edit question
Status:
Answered
For:
txAMQP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
ceelian (christian-haintz) said :
#1

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 :
#2

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

thx

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

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

http://bazaar.launchpad.net/~txamqpteam/txamqp/trunk/revision/13.1.1

I'm linking this question to bug #407654

Thanks!

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.