register wrote:
Hi all,

I am running Qpid C++ on Opensuse 10.2 and CentOS 5.2, then run the command below
I have tried the command on both sides, same result

qpidc-0.4/python> ./qpid-route -v link add user/[email protected]:5672 user/p...@localhost:5672
Exception in thread Thread-1:
Traceback (most recent call last):
 File "/usr/lib64/python2.5/threading.py", line 460, in __bootstrap
   self.run()
 File "/usr/lib64/python2.5/threading.py", line 440, in run
   self.__target(*self.__args, **self.__kwargs)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/connection.py", line 172, in run
   self.delegate.received(seg)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/delegates.py", line 46, in received
   getattr(self, attr)(ch, ctl)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/delegates.py", line 160, in connection_start ch.connection_start_ok(client_properties=Client.PROPERTIES, mechanism=self.mechanism, response=r) File "/media/datadisk/daemons/qpidc-0.4/python/qpid/generator.py", line 25, in <lambda>
   method = lambda self, *args, **kwargs: self.invoke(inst, args, kwargs)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/connection.py", line 200, in invoke
   sc.write_control(ctl)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/codec010.py", line 253, in write_control
   type.encode_fields(self, ctrl)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/spec010.py", line 256, in encode_fields
   f.type.encode(codec, values[f.name])
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/spec010.py", line 147, in encode
   getattr(codec, "write_%s" % self.name)(value)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/codec010.py", line 162, in write_vbin32
   self.write(b)
File "/media/datadisk/daemons/qpidc-0.4/python/qpid/codec010.py", line 296, in write
   self.encoded += s
UnicodeDecodeError: 'ascii' codec can't decode byte 0x90 in position 21: ordinal not in range(128)

Thanks
Stephen

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Stephen,

Thanks for pointing this out. I'm seeing it on Fedora as well. I'll see if I can find what's causing the exception.

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to