Solved Crackler error
#1
MeMoBOX MX MAX Android TV box

I get the following error when I attempt to watch a Crackle video via the Crackler add-on:

Code:
20:54:58 T:18446744072296755432   ERROR: InputStream: Error opening, plugin://plugin.video.crackler/?mode=play_video&v_id=2667
20:55:04 T:18446744072309227104   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('v_id',)
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.crackler/default.py", line 186, in <module>
                                                retrieve_play_url(args_ar['v_id'][0])
                                            KeyError: ('v_id',)
                                            -->End of Python script error report<--
20:55:04 T:18446744072285972632   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.crackler/?mode=play_video&v_id=3031]
20:55:04 T:18446744072296755432 WARNING: static XFILE::IFile* XFILE::CFileFactory::CreateLoader(const CURL&) - unsupported protocol(plugin) in plugin://plugin.video.crackler/?mode=play_video&v_id=3031
20:55:04 T:18446744072296755432   ERROR: InputStream: Error opening, plugin://plugin.video.crackler/?mode=play_video&v_id=3031

The movie never starts but the clip art does download. The error I get on the screen tells me to check the log file.

I'm new to Kodi and Android TV for that matter.

Can someone please help me resolve this issue?

------------------------------------------------------------------------
UPDATE: Tried different search terms and found the solution, here: http://forum.kodi.tv/showthread.php?tid=...pid2190864
------------------------------------------------------------------------
Quote:The problem is that Kodi ships with python 2.6. This add-on uses the urlparse module to parse out queries. In python version 2.7 and higher, the query is correctly extracted. But not in python 2.6. This leads to an empty query string resulting in an exception.

This post contains a workaround that involves changing the source code of the add-on. http://forum.kodi.tv/showthread.php?tid=219432
Quote:edit the default.py and change the following (occurs 2 times):

from:
args_ar = urlparse.parse_qs(urlparse.urlparse(sys.argv[0]+sys.argv[2]).query)


to:
args_ar = urlparse.parse_qs(sys.argv[2][1:])
Reply

Logout Mark Read Team Forum Stats Members Help
Crackler error1