failure with randomitems.py
#16
Fixed the indentation error. But I'm still getting failed script error. Log
#17
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.
#18
(2012-08-08, 12:06)hastarin Wrote: 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 are appropriate.

Worked for me too. Thanks!

#19
Will be updated in couple of hours
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#20
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.
My full HTPC build log:
http://forum.xbmc.org/showthread.php?tid=129352
Core i3-2120T 2.6Ghz, 4gb Kingston DDR3, mSATA SSD, Moneual 312 Case, GT520 GPU
#21
(2012-08-08, 13:59)SavellM Wrote: 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.

Latest nightlies since August 5th won't be fixed until the pre-Frodo repo is active
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#22
Dang, do you know when this will be?
My full HTPC build log:
http://forum.xbmc.org/showthread.php?tid=129352
Core i3-2120T 2.6Ghz, 4gb Kingston DDR3, mSATA SSD, Moneual 312 Case, GT520 GPU
#23
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.
#24
(2012-08-08, 21:29)lupick Wrote: 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.

made a stupid c/p mistake.
3.1.5 should fix it. Hit force refresh on xbmc repo
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#25
(2012-08-08, 21:29)lupick Wrote: 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.

Same here.
#26
(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

I've tried to update the scrip to ver 3.14 but it's still there.

L.

Same here.

is reading that hard?
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#27
works perfectly...

thanks Big Grin
#28
(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

I've tried to update the scrip to ver 3.14 but it's still there.

L.

made a stupid c/p mistake.
3.1.5 should fix it. Hit force refresh on xbmc repo

being a total noob. how do i do that?

#29
(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

I've tried to update the scrip to ver 3.14 but it's still there.

L.

made a stupid c/p mistake.
3.1.5 should fix it. Hit force refresh on xbmc repo

being a total noob. how do i do that?

It should already be updated.
Else press 'c' on xbmc repo and choose force refresh
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
#30
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.ra.../downloads

Please and thanks!

Logout Mark Read Team Forum Stats Members Help
failure with randomitems.py0