script.module.inputstreamhelper: 'ascii' codec can't decode byte 0xc5 in position 29

I am running into the same error as in https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/92

It happens during the extraction of widevine

I am on Kodi 18.6 Git_leia_pi4_18.6-Leia Inputstream Helper 0.4.6 InputStream adaptive 2.4.4.1

2020-05-01 07:18:42.860 T:2573202288   ERROR: [plugin.video.netflix (1)] Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 207, in run
                                                route([part for part in g.PATH.split('/') if part])
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 38, in lazy_login_wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/run_addon.py", line 62, in route
                                                play(videoid=pathitems[1:])
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/videoid.py", line 295, in wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/common/logging.py", line 143, in timing_wrapper
                                                return func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/navigation/player.py", line 82, in play
                                                list_item = get_inputstream_listitem(videoid)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/navigation/player.py", line 163, in get_inputstream_listitem
                                                if not is_helper.check_inputstream():
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/__init__.py", line 407, in check_inputstream
                                                return self._check_drm()
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/__init__.py", line 362, in _check_drm
                                                return self.install_widevine()
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/__init__.py", line 33, in clean_before_after
                                                result = func(self, *args, **kwargs)
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/__init__.py", line 223, in install_widevine
                                                result = install_widevine_arm(backup_path())
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm.py", line 240, in install_widevine_arm
                                                extract_widevine_from_img(os.path.join(backup_path, arm_device['version']))
                                              File "/storage/.kodi/addons/script.module.inputstreamhelper/lib/inputstreamhelper/widevine/arm.py", line 253, in extract_widevine_from_img
                                                for root, _, files in os.walk(mnt_path()):
                                              File "/usr/lib/python2.7/os.py", line 296, in walk
                                              File "/usr/lib/python2.7/os.py", line 296, in walk
                                              File "/usr/lib/python2.7/os.py", line 296, in walk
                                              File "/usr/lib/python2.7/os.py", line 286, in walk
                                              File "/usr/lib/python2.7/posixpath.py", line 73, in join
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 29: ordinal not in range(128)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 29 (1 by maintainers)

Most upvoted comments

Everyone in my house is eagerly waiting for v0.4.7. 'sfunny how until we had netflix, nobody wanted netflix. Thanks for proving me right, CoVid lol

It fixed the issue, updated Widevine and successfully played back from Netflix.

Ok. horstle’s version works on my RPi3 test system. With my RPi4 I’ll wait for the 0.4.7. Old Widevine still works and I don’t want to delete it, so I can test the update process as well as the fresh install that I tested now.

And I’m proud to say that my self merged version, that I had finished just when I saw that horstle updated his stuff, does the trick, too (allthough the progress-/remain-time was missing).

Thanks for your work!