Closed sy6sy2 closed 6 years ago
It should be fixed now. Thanks.
Hi Willforde,
I tried the new version of codequick contains this fix. Meanwhile, I have also this error. Do you think it needs a new fix?
01:23:09.991 T:140697863198464 FATAL: [Catch-up-TV-&-More.support] 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128) Traceback (most recent call last): File "/home/wark/.kodi/addons/script.module.codequick/lib/codequick/support.py", line 282, in run_callback parent_ins._process_results(results) File "/home/wark/.kodi/addons/script.module.codequick/lib/codequick/route.py", line 89, in _process_results raw_listitems = validate_listitems(raw_listitems) File "/home/wark/.kodi/addons/script.module.codequick/lib/codequick/route.py", line 33, in validate_listitems raw_listitems = list(raw_listitems) File "/home/wark/.kodi/addons/plugin.video.catchuptvandmore/resources/lib/channels/fr/rmcstory.py", line 129, in list_videos date_list = utils.strip_tags(str(info_video[2])).split(' ') UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Thanks in advance, Wwark
Sorry but it looks more like a problem in your code at line 129, in resources/lib/channels/fr/rmcstory.py:list_videos
Thank you to pointing me that. I will look on my side. Wwark
It seems that the line https://github.com/willforde/script.module.codequick/blob/c394dc329ef1278631a60d427a3d150cebddad4a/script.module.codequick/lib/codequick/support.py#L287
trigger an UnicodeEncodeError when there is accent in the
e
variable.This is my test with this code:
I get:
Thank you ;-)
cc @wwark
Edit: I am with Kodi 17