[rabbitmq-discuss] diacritics in bindings

Andi Constantin andi.constantin at mediasat.ro
Mon Mar 14 14:43:38 GMT 2011


Hello !

I used a diacritic character in a binding:
mo.route.1733.S,tefan.#


And rabbitmqadmin does not work any more:

root# rabbitmqadmin list bindings
Traceback (most recent call last):
   File "/bin/rabbitmqadmin", line 407, in <module>
     main()
   File "/bin/rabbitmqadmin", line 149, in main
     method()
   File "/bin/rabbitmqadmin", line 213, in invoke_list
     format_list(self.get(uri), self.options)
   File "/bin/rabbitmqadmin", line 290, in format_list
     formatter_instance.display(json_list)
   File "/bin/rabbitmqadmin", line 299, in display
     int(self.options.depth))
   File "/bin/rabbitmqadmin", line 334, in list_to_table
     add('', 1, item, add_to_row)
   File "/bin/rabbitmqadmin", line 318, in add
     fun(column, item[key])
   File "/bin/rabbitmqadmin", line 324, in add_to_row
     row[column_ix[col]] = str(val)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u015e' in 
position 14: ordinal not in range(128)

The rabbit works fine, i just cannot user rabbitmqadmin anymore.
Have any idea of how to fix this ?

Thanks,
Andi

root# rabbitmqctl status
Status of node iepureX at crimson ...
[{running_applications,
      [{rabbit_management,"RabbitMQ Management Console","2.1.1"},
       {webmachine,"webmachine","1.7.0"},
       {amqp_client,"RabbitMQ AMQP Client","2.1.1"},
       {rabbit,"RabbitMQ","2.1.1"},
       {os_mon,"CPO  CXC 138 46","2.2.4"},
       {sasl,"SASL  CXC 138 11","2.1.8"},
       {rabbit_mochiweb,"RabbitMQ Mochiweb Embedding","2.1.1"},
       {mochiweb,"MochiMedia Web Server","1.3"},
       {crypto,"CRYPTO version 1","1.6.3"},
       {inets,"INETS  CXC 138 49","5.2"},
       {mnesia,"MNESIA  CXC 138 12","4.4.12"},
       {stdlib,"ERTS  CXC 138 10","1.16.4"},
       {kernel,"ERTS  CXC 138 10","2.13.4"}]},
  {nodes,[{disc,[iepureX at crimson]}]},
  {running_nodes,[iepureX at crimson]}]
...done.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20110314/55d16dce/attachment.htm>


More information about the rabbitmq-discuss mailing list