2012-12-26, 11:55
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.
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<--