retitle 585101 radiotray: Impossible to add a new radio with UTF-8 chars in the name thanks
More info: when pressing 'OK', the following backtrace appears in the terminal: Traceback (most recent call last): File "/usr/lib/pymodules/python2.5/radiotray/BookmarkConfiguration.py", line 89, in on_add_bookmark_clicked self.dataProvider.addRadio(name, url) File "/usr/lib/pymodules/python2.5/radiotray/XmlDataProvider.py", line 57, in addRadio radio.set("name", name) File "lxml.etree.pyx", line 634, in lxml.etree._Element.set (src/lxml/lxml.etree.c:31912) File "apihelpers.pxi", line 488, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:13918) File "apihelpers.pxi", line 1295, in lxml.etree._utf8 (src/lxml/lxml.etree.c:20212) ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes Indeed, I tried using Cyrillics in the radio name. My locale uses UTF-8, which I'd expect to be properly supported. Using only ASCI characters for the radio name worked around the problem. Also, the non-working 'Cancel' button and the 'empty edit dialog' problem seem to be caused by this exception. If I avoid it, both work.
signature.asc
Description: Digital signature