plugin.video.netflix: Python 2.7 encoding error
- bug report
- feature request
- support request
General information
Addon version used
v15.0, github master branch
Description
python encoding error when installing this plugin on OSMC 18.3 on Raspberry Pi 3B
i had to downgrade to 14.6
Steps to Reproduce
-
Installing OSMC 18.3 on Raspberry Pi 3B
-
Follow theses step: https://discourse.osmc.tv/t/how-to-all-platforms-can-i-use-netflix-on-osmc-post-4/54741/4
to install the plugin with dependencies
- installing the plugin with OSMC with the zip file installer
Expected behavior: Installing the plugin properly
Actual behavior: Getting an error when installing or trying to launch with the message “check the log for more information”
i had to downgrade to the 14.6 to make it work
Context (Environment)
Installation
- I’m using this Netflix Repo
- I’m using other Netflix Repo (Please specify which)
- 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
OSMC 18.3 on Raspberry Pi 3B
Debug log
2019-08-22 17:25:05.994 T:1790329568 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.LookupError'>
Error Contents: no codec search functions registered: can't find encoding
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.netflix/service.py", line 18, in <module>
g.init_globals(sys.argv)
File "/home/osmc/.kodi/addons/plugin.video.netflix/resources/lib/globals.py", line 217, in init_globals
self.PATH = unquote(self.URL[2][1:]).decode('utf-8')
LookupError: no codec search functions registered: can't find encoding
-->End of Python script error report<--
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 27 (10 by maintainers)
Tried on another OSMC system that was still stretch based, working there too.
Thanks for a quick fix.
Working like a charm on OSMC 18.3, with the latest master repo.
missing xbmc.translatePath(
@EliasHI you didn’t open a pull request. Just you referenced the issue in the commit description, so it appears here.
It allows the changes to be discussed, no need for any apologises.