[rabbitmq-discuss] FW: Python client to RabbitMQ.....error?
Dmitriy Samovskiy
dmitriy.samovskiy at cohesiveft.com
Fri Sep 28 20:15:50 BST 2007
Lynton Grice wrote:
>
> msg = q.get(timeout=1)
>
> That throws the following exception:
>
> KeyError: __eq__
>
> Traceback (innermost last):
>
> File "D:\tmp\Rabbit\rabbit.py", line 1, in ?
> import qpid
> File "D:\tmp\Rabbit\rabbit.py", line 22, in ?
> msg = q.get(timeout=1)
> File "D:\Python24\Lib\site-packages\qpid\queue.py", line 39, in get
> if result == Queue.END:
> File "D:\Python24\Lib\site-packages\qpid\message.py", line 70, in
> __getattr__
> env, key = self._slot(attr)
> File "D:\Python24\Lib\site-packages\qpid\message.py", line 63, in _slot
> field = self.method.fields.bypyname[attr]
>
Could you please double check that you have the latest qpid python code
from subversion? I am at rev 580460 now. Based on this traceback, what
you have in d:\python24\lib\site-packages\qpid is not the latest: line
numbers don't match the code and bypyname is never mentioned in any of
the files. This can explain your vhost issue as well.
svn co http://svn.apache.org/repos/asf/incubator/qpid/trunk
http://cwiki.apache.org/qpid/source-repository.html
- Dmitriy
More information about the rabbitmq-discuss
mailing list