[RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin
Hi,

Will try to do a log.

I have noticed that the problem that I have is linked to the German Umlaute. I have changed the Radio Add-on language from German to English and everything works fine. I just get this error message with the german language and in combination with country names they contain Umlaute like Süd Afrika and Süd Korea.

Thanks in advance



EDIT

It is not the whole log, but in that snippet is an example where I try to open under the German language the country Rumänien.

Code:
10:46:30 T:6068  NOTICE: -->Python Interpreter Initialized<--
10:46:30 T:6068  NOTICE: [xbmcswift2] Request for "/stations/country/Rum%C3%A4nien/" matches rule for function "show_stations_by_category"
10:46:30 T:6068  NOTICE: [plugin.audio.radio_de] get_stations_by_category started with category_type=country, category_value=Rumänien
10:46:30 T:6068  NOTICE: [plugin.audio.radio_de] get_category_types started
10:46:30 T:6068  NOTICE: [plugin.audio.radio_de] __api_call started with path=menu/broadcastsofcategory, param={'category': '_country', 'value': 'Rum\xc3\xa4nien'}
10:46:30 T:6068   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\plugin.audio.radio_de\addon.py", line 310, in <module>
                                                plugin.run()
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 319, in run
                                                items = self._dispatch(self.request.path)
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 295, in _dispatch
                                                listitems = view_func(**items)
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\plugin.audio.radio_de\addon.py", line 174, in show_stations_by_category
                                                category)
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\plugin.audio.radio_de\resources\lib\api.py", line 96, in get_stations_by_category
                                                stations = self.__api_call(path, param)
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\plugin.audio.radio_de\resources\lib\api.py", line 139, in __api_call
                                                param = dict((k, v.encode('utf-8')) for (k, v) in param.items())
                                              File "C:\Users\...\AppData\Roaming\XBMC\addons\plugin.audio.radio_de\resources\lib\api.py", line 139, in <genexpr>
                                                param = dict((k, v.encode('utf-8')) for (k, v) in param.items())
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
                                            -->End of Python script error report<--
Reply


Messages In This Thread
[No subject] - by sphere - 2012-01-11, 18:00
[No subject] - by phileas50 - 2012-02-05, 12:18
[No subject] - by sphere - 2012-02-05, 19:05
[No subject] - by BlaY0 - 2012-02-19, 21:20
[No subject] - by sphere - 2012-02-19, 21:30
[No subject] - by BlaY0 - 2012-02-19, 21:36
[No subject] - by sphere - 2012-02-19, 21:39
[No subject] - by BlaY0 - 2012-02-19, 21:49
[No subject] - by emagin - 2012-03-01, 03:51
[No subject] - by sphere - 2012-03-01, 10:00
my stations not working anymore - by djteaser - 2012-03-03, 12:21
[No subject] - by sphere - 2012-03-03, 12:34
[No subject] - by MeC!as - 2012-03-03, 13:07
[No subject] - by sphere - 2012-03-03, 13:16
[No subject] - by MeC!as - 2012-03-03, 13:36
[No subject] - by User 29008 - 2012-03-03, 13:39
[No subject] - by sphere - 2012-03-03, 16:03
[No subject] - by User 29008 - 2012-03-03, 17:37
[No subject] - by sphere - 2012-03-05, 15:19
[No subject] - by User 29008 - 2012-03-05, 19:59
[No subject] - by sphere - 2012-03-05, 20:05
[No subject] - by User 29008 - 2012-03-05, 20:13
[No subject] - by sphere - 2012-03-05, 20:22
RE: [RELEASE] Radio Add-on (rad.io, radio.de, radio.fr) Music Plugin - by MeC!as - 2012-12-26, 11:55
Not compatible with Gotham 13.1? - by vel2000 - 2014-08-02, 05:02
custom node to my stations - by accagì - 2017-07-23, 17:17
Addon broken - by Asato - 2024-04-20, 09:11
RE: Addon broken - by rws2024a - 2024-04-20, 12:27
RE: Addon broken - by rws2024a - 2024-04-20, 12:32
Radio add-on doesn't function - by sterna - 2021-03-29, 07:08
Radio addon json-rpc interface - by andrkac - 2024-05-24, 01:53
Logout Mark Read Team Forum Stats Members Help
[RELEASE] Radio Add-on (rad.io, radio.de, radio.fr, radio.pt, radio.es) Music Plugin5