You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r5342284 downloaded as zip and installed as is on LibreELEC
/resources/lib/KodiHelper.py
unescaped_profile_name = html_parser.unescape(enc_profile_name)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)
Description
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 0xce in position 0: ordinal not in range(128)
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.netflix/addon.py", line 33, in
NAVIGATION.router(paramstring=REQUEST_PARAMS)
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped
result = func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 148, in router
return self.show_profiles()
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped
result = func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 592, in show_profiles
build_url=self.build_url)
File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/KodiHelper.py", line 228, in build_profiles_listing
unescaped_profile_name = html_parser.unescape(enc_profile_name)
File "/usr/lib/python2.7/HTMLParser.py", line 476, in unescape
File "/usr/lib/python2.7/re.py", line 155, in sub
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)
-->End of Python script error report<--
Installation
I installed the plugin via zip from the Releases page
I´m using the Netflix Repo
I´m using a different source (Please tell which)
Operating System
Linux (x86/x64)
OSX (x86/x64)
Windows (x86/x64)
Linux (ARM)
Android
Additional informatin on the environment
18.0-RC1 Git:newclock5_18.0rc1-Leia
Linux ARM 32-bit
Using Release Kodi x32 build (version for Raspberry Pi)
Kodi compiled Nov 25 2018 by GCC 8.2.0 for Linux ARM 32-bit version 4.19.4 (267012)
Running on LibreELEC (official): 8.90.008 9.0, kernel: Linux ARM 32-bit version 4.19.4
Just strike me. One of the profile names of my Netflix account is written Greek. I will change it to English and retest in some hours. However, if proven right, it's definitely a kind of bug. Or improvement, if you prefer. I guess you can get this kind of error from lot of languages.
StelArian
changed the title
UnicodeDecodeError @ KodiHelper.py
UnicodeDecodeError for profile names without ASCII characters
Nov 30, 2018
Just strike me. One of the profile names of my Netflix account is written Greek. I will change it to English and retest in some hours. However, if proven right, it's definitely a kind of bug. Or improvement, if you prefer. I guess you can get this kind of error from lot of languages.
Verified. I rename all profiles with ASCII characters and I see the page to select profile.
I guess not crucial but will be nice to work with more than just ASCII characters.
I'm submitting a ...
General infomration
r5342284 downloaded as zip and installed as is on LibreELEC
/resources/lib/KodiHelper.py
unescaped_profile_name = html_parser.unescape(enc_profile_name)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)
Description
Installation
Operating System
Additional informatin on the environment
18.0-RC1 Git:newclock5_18.0rc1-Leia
Linux ARM 32-bit
Using Release Kodi x32 build (version for Raspberry Pi)
Kodi compiled Nov 25 2018 by GCC 8.2.0 for Linux ARM 32-bit version 4.19.4 (267012)
Running on LibreELEC (official): 8.90.008 9.0, kernel: Linux ARM 32-bit version 4.19.4
Debug log
http://paste.kodi.tv/bonaruvaze
The text was updated successfully, but these errors were encountered: