{"action":"created","issue":{"url":"https://api.github.com/repos/celery/kombu/issues/530","repository_url":"https://api.github.com/repos/celery/kombu","labels_url":"https://api.github.com/repos/celery/kombu/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/celery/kombu/issues/530/comments","events_url":"https://api.github.com/repos/celery/kombu/issues/530/events","html_url":"https://github.com/celery/kombu/issues/530","id":111823502,"number":530,"title":"Can i implement rpc with kombu?","user":{"login":"zohaibtechknox","id":7113853,"avatar_url":"https://avatars.githubusercontent.com/u/7113853?v=3","gravatar_id":"","url":"https://api.github.com/users/zohaibtechknox","html_url":"https://github.com/zohaibtechknox","followers_url":"https://api.github.com/users/zohaibtechknox/followers","following_url":"https://api.github.com/users/zohaibtechknox/following{/other_user}","gists_url":"https://api.github.com/users/zohaibtechknox/gists{/gist_id}","starred_url":"https://api.github.com/users/zohaibtechknox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zohaibtechknox/subscriptions","organizations_url":"https://api.github.com/users/zohaibtechknox/orgs","repos_url":"https://api.github.com/users/zohaibtechknox/repos","events_url":"https://api.github.com/users/zohaibtechknox/events{/privacy}","received_events_url":"https://api.github.com/users/zohaibtechknox/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-10-16T12:40:04Z","updated_at":"2016-10-28T07:19:28Z","closed_at":"2015-10-22T01:09:38Z","body":"I have worked on rpc with pika client but I have studied that openstack is using kumbo to do this so I have started searching a script of kumbo to implement rpc but found nothing. Please answer me if i can implemnt rpc with kumbi alone . I am aware of the other methods explain in some thread a ssame forum like https://github.com/celery/kombu/issues/430 .. I just want to know that can i implement the thing explain in this link http://www.rabbitmq.com/tutorials/tutorial-six-python.html . Thanks "},"comment":{"url":"https://api.github.com/repos/celery/kombu/issues/comments/256853522","html_url":"https://github.com/celery/kombu/issues/530#issuecomment-256853522","issue_url":"https://api.github.com/repos/celery/kombu/issues/530","id":256853522,"user":{"login":"eavictor","id":12935157,"avatar_url":"https://avatars.githubusercontent.com/u/12935157?v=3","gravatar_id":"","url":"https://api.github.com/users/eavictor","html_url":"https://github.com/eavictor","followers_url":"https://api.github.com/users/eavictor/followers","following_url":"https://api.github.com/users/eavictor/following{/other_user}","gists_url":"https://api.github.com/users/eavictor/gists{/gist_id}","starred_url":"https://api.github.com/users/eavictor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eavictor/subscriptions","organizations_url":"https://api.github.com/users/eavictor/orgs","repos_url":"https://api.github.com/users/eavictor/repos","events_url":"https://api.github.com/users/eavictor/events{/privacy}","received_events_url":"https://api.github.com/users/eavictor/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T07:19:28Z","updated_at":"2016-10-28T07:19:28Z","body":"Hi, I'm getting `TypeError: object of type 'Queue' has no len()` when executing rpc_client.py\r\nTried replacing `Queue(uuid(), exclusive=True, auto_delete=True)` with `Queue(exclusive=True)` but still getting same error.\r\n\r\n### python 3.5.2\r\n### kombu 4.0.0rc6\r\n### Traceback:\r\n`Traceback (most recent call last):\r\n  File \"C:/Users/ITPROAdmin/PycharmProjects/MQ_Example/rpc_client.py\", line 46, in <module>\r\n    main('amqp://my_secret_url')\r\n  File \"C:/Users/ITPROAdmin/PycharmProjects/MQ_Example/rpc_client.py\", line 41, in main\r\n    response = fibonacci_rpc.call(30)\r\n  File \"C:/Users/ITPROAdmin/PycharmProjects/MQ_Example/rpc_client.py\", line 27, in call\r\n    correlation_id=self.correlation_id,\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\kombu\\messaging.py\", line 175, in publish\r\n    exchange_name, declare,\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\kombu\\messaging.py\", line 197, in _publish\r\n    mandatory=mandatory, immediate=immediate,\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\amqp\\channel.py\", line 1748, in _basic_publish\r\n    (0, exchange, routing_key, mandatory, immediate), msg\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\amqp\\abstract_channel.py\", line 64, in send_method\r\n    conn.frame_writer(1, self.channel_id, sig, args, content)\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\amqp\\method_framing.py\", line 114, in write_frame\r\n    properties = content._serialize_properties()\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\amqp\\serialization.py\", line 555, in _serialize_properties\r\n    write(dumps(b''.join(sformat), svalues))\r\n  File \"C:\\Users\\ITPROAdmin\\AppData\\Local\\Programs\\Python\\Python35\\lib\\site-packages\\amqp\\serialization.py\", line 308, in dumps\r\n    write(pack(b'B', len(val)))\r\nTypeError: object of type 'Queue' has no len()`"}}
{"actor":{"display_login":"eavictor"}}