Kodi Community Forum
[RELEASE] Twitch.tv - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] Twitch.tv (/showthread.php?tid=134538)



RE: [RELEASE] Twitch.tv - TurDo - 2018-09-19

Hello, i've got Kodi 18 Beta 2 installed and twitch addon (2.3.2 version).
When I want to list live channels (Browse > Live Channels) i've got this error: https://pastebin.com/9bHSaTAd
The same thing happens with "Popular Channels".
Any ideas how to fix this?


RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-19

@TurDo Thanks for the report, will require a full log reproducing the error with debug logging enabled to see exactly what is causing that. See debug log (wiki)


RE: [RELEASE] Twitch.tv - TurDo - 2018-09-19

@anxdpanic here it is: https://paste.ubuntu.com/p/N7jxrnFD38/


RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-19

@TurDo  Thanks, that had what I needed to reproduce. Can you confirm https://github.com/MrSprigster/Twitch-on-Kodi/releases/tag/2.3.3-beta resolves the issue for you?


RE: [RELEASE] Twitch.tv - TurDo - 2018-09-19

Yep, everything works now. Thanks!


RE: [RELEASE] Twitch.tv - Depet - 2018-09-19

(2018-09-19, 10:21)TurDo Wrote: When I want to list live channels (Browse > Live Channels) i've got this error: https://pastebin.com/9bHSaTAd

I have a similar problem on version 2.3.3 beta.

Code:
10:09:46.692 T:5472   ERROR: 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 0xc4 in position 3: ordinal not in range(128)

Full log > http://s000.tinyupload.com/index.php?file_id=00792975453820099595


RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-20

@Depet The log appears to show banned addons (wiki), will require a full clean debug log (wiki) for support.


RE: [RELEASE] Twitch.tv - swingbeat - 2018-09-21

Is there a FAQ or something for this add-on?  I'd like to program it with JSONRPC like you can with the youtube addon.


RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-21

@swingbeat
I've updated the wiki, https://kodi.wiki/view/Add-on:Twitch
Does that cover what you were looking for?


RE: [RELEASE] Twitch.tv - x3nius - 2018-09-25

(2018-09-11, 22:13)Juppstein Wrote: @anxdpanic

With this update 2.3.0beta1 I am not anymore able to go to my followed games list, it will throw an error of not being able to get the directory

https://paste.kodi.tv/votoyuyude

Addendum: Browsing games (the non-followed version) also throws the same error
I have the exact same error and this is not solved by 2.3.2 or 2.3.3 for me. The only version that is working is the 2.2.4
Quote:00:03:33.465 T:8016   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\xe9' in position 3: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\addon_runner.py", line 23, in <module>
                                                router.run(sys.argv)
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\router.py", line 326, in run
                                                dispatcher.dispatch(mode, queries)
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\common\url_dispatcher.py", line 102, in dispatch
                                                self.func_registry[mode](*args, **kwargs)
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\error_handling.py", line 37, in wrapper
                                                result = func(*args, **kwargs)
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\router.py", line 116, in _list_followed
                                                followed.route(twitch_api, content, offset, cursor)
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\routes\followed.py", line 130, in route
                                                kodi.create_item(converter.game_to_listitem(game))
                                              File "C:\Users\\AppData\Roaming\Kodi\addons\plugin.video.twitch\resources\lib\twitch_addon\addon\converter.py", line 76, in game_to_listitem
                                                .format(name=name, channels=i18n('channels'), channel_count=channel_count, viewers=i18n('viewers'), viewer_count=viewer_count)
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 3: ordinal not in range(128)
                                            -->End of Python script error report<--



RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-25

Need a full debug log (wiki), and please use a pastebin site


RE: [RELEASE] Twitch.tv - x3nius - 2018-09-25

https://pastebin.com/JjGZ2Sx2


RE: [RELEASE] Twitch.tv - anxdpanic - 2018-09-25

@x3nius Thanks, that helped. Let me know if https://github.com/MrSprigster/Twitch-on-Kodi/releases/tag/2.3.4-beta fixes the issue for you.


RE: [RELEASE] Twitch.tv - x3nius - 2018-09-25

@anxdpanic Jep, that worked! Thanks


RE: [RELEASE] Twitch.tv - TurDo - 2018-10-14

@anxdpanic got another problem. Kodi 18 beta3. Tested on twitch version 2.3.3 and 2.3.4 beta.
When I want to list next page in Browse > Live Channels > next page sometimes got error.
https://paste.ubuntu.com/p/fPD4xGp926/


This forum uses Lukasz Tkacz MyBB addons.