failure with randomitems.py - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: failure with randomitems.py (/showthread.php?tid=119020) |
RE: failure with randomitems.py - anamono - 2012-08-08 Fixed the indentation error. But I'm still getting failed script error. Log RE: failure with randomitems.py - User 35611 - 2012-08-08 I found this after I started getting the same error. The indentation error is due to using tabs instead of spaces. The resulting response output from the print is: Code: 19:53:24 T:10188 NOTICE: {u'jsonrpc': u'2.0', u'id': 1, u'result': None} The following line works: PHP Code: if json_response and json_response.has_key('result') and json_response['result'] != None and (json_response['result'].has_key('musicvideos')): The response does contain a result key of None. I don't know if it will always have that or not, hence the line above is the safe version I guess. I'm no Python expert though. I'll leave it up to Martijn to update things as appropriate. RE: failure with randomitems.py - anamono - 2012-08-08 (2012-08-08, 12:06)hastarin Wrote: I found this after I started getting the same error. Worked for me too. Thanks! RE: failure with randomitems.py - Martijn - 2012-08-08 Will be updated in couple of hours RE: failure with randomitems.py - SavellM - 2012-08-08 Im seeing errors with the randomscript.py since the latest nightlies... So running frodo, with Aeon MQ4 as a skin. The error with randomscript.py (if i recall thats what it was called) keeps popping up every little while. Only since the latest nightlies, since all the python cleanups. RE: failure with randomitems.py - Martijn - 2012-08-08 (2012-08-08, 13:59)SavellM Wrote: Im seeing errors with the randomscript.py since the latest nightlies... Latest nightlies since August 5th won't be fixed until the pre-Frodo repo is active RE: failure with randomitems.py - SavellM - 2012-08-08 Dang, do you know when this will be? RE: failure with randomitems.py - lupick - 2012-08-08 I'm on eden and today the error start to appear I've tried to update the scrip to ver 3.14 but it's still there. L. RE: failure with randomitems.py - Martijn - 2012-08-08 (2012-08-08, 21:29)lupick Wrote: I'm on eden and today the error start to appear made a stupid c/p mistake. 3.1.5 should fix it. Hit force refresh on xbmc repo RE: failure with randomitems.py - schumi2004 - 2012-08-08 (2012-08-08, 21:29)lupick Wrote: I'm on eden and today the error start to appear Same here. RE: failure with randomitems.py - Martijn - 2012-08-08 (2012-08-08, 21:46)schumi2004 Wrote:(2012-08-08, 21:29)lupick Wrote: I'm on eden and today the error start to appear is reading that hard? RE: failure with randomitems.py - gman3042 - 2012-08-09 works perfectly... thanks RE: failure with randomitems.py - RetroHolo - 2012-08-10 (2012-08-08, 21:31)Martijn Wrote:(2012-08-08, 21:29)lupick Wrote: I'm on eden and today the error start to appear being a total noob. how do i do that? RE: failure with randomitems.py - Martijn - 2012-08-10 (2012-08-10, 14:59)RetroHolo Wrote:(2012-08-08, 21:31)Martijn Wrote:(2012-08-08, 21:29)lupick Wrote: I'm on eden and today the error start to appear It should already be updated. Else press 'c' on xbmc repo and choose force refresh RE: failure with randomitems.py - skabyss - 2012-08-11 I'm trying to get this, and the watchlist script working again.. but force updating 'xbmc.org add-ons' doesnt seem to help the issue for me.. Would someone be able to provide the zip for version 3.1.5, as I cannot find it here: https://github.com/XBMC-Addons/script.randomitems/downloads Please and thanks! |