Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception after login #444

8 tasks
ChasakisD opened this issue Aug 17, 2018 · 1 comment
8 tasks

Exception after login #444

ChasakisD opened this issue Aug 17, 2018 · 1 comment


Copy link

@ChasakisD ChasakisD commented Aug 17, 2018

I'm submitting a ...

  • [/] bug report
  • feature request
  • support request

General infomration


  • [/] Are you running the latest version?


When netflix app launches, after the login, it throws this exception and nothing seems to work

16:18:04.812 T:15788   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
    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 "C:\Users\**username**\AppData\Roaming\Kodi\addons\\", line 33, in <module>
        File "C:\Users\**username**\AppData\Roaming\Kodi\addons\\resources\lib\", line 45, in wrapped
        result = func(*args, **kwargs)
        File "C:\Users\**username**\AppData\Roaming\Kodi\addons\\resources\lib\", line 123, in router
        return self.show_profiles()
        File "C:\Users\**username**\AppData\Roaming\Kodi\addons\\resources\lib\", line 45, in wrapped
        result = func(*args, **kwargs)
        File "C:\Users\**username**\AppData\Roaming\Kodi\addons\\resources\lib\", line 522, in show_profiles
        File "C:\Users\**username**\AppData\Roaming\Kodi\addons\\resources\lib\", line 230, in build_profiles_listing
        unescaped_profile_name = html_parser.unescape(enc_profile_name)
        File "C:\Program Files\Kodi\system\python\Lib\", line 475, in unescape
        return re.sub(r"&(#?[xX]?(?:[0-9a-fA-F]+|\w{1,8}));", replaceEntities, s)
        File "C:\Program Files\Kodi\system\python\Lib\", line 155, in sub
        return _compile(pattern, flags).sub(repl, string, count)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position 0: ordinal not in range(128)
    -->End of Python script error report<--
16:18:04.840 T:15788 WARNING: CPythonInvoker(12, C:\Users\**username**\AppData\Roaming\Kodi\addons\\ the python script "C:\Users\**username**\AppData\Roaming\Kodi\addons\\" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcaddon::Addon
16:18:04.841 T:13096   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://
16:18:04.850 T:4548   ERROR: CGUIMediaWindow::GetDirectory(plugin:// failed

Steps to Reproduce

  1. Clean Install of 0.13.10
  2. Open the app and login

Expected behavior:
The app should open

Actual behavior:
An exception is thrown and cannot continue

Context (Environment)



  • 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 information on the environment

Windows 10 Pro 64bit Version 1803 Build 17134.228

Debug log


Copy link

@caphm caphm commented Aug 17, 2018

You have characters in one of your profile names that are non-ascii. Change your profile names to only contain ascii-compatible characters and it will work.

@caphm caphm closed this Aug 17, 2018
@Essam315 Essam315 mentioned this issue Jan 25, 2019
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants