Recentlyadded.py problems with A.R.
#1
I keep getting this error after a failed update:

Code:
20:08:32 T:2932333456 M:149549056   ERROR: Traceback (most recent call last):
                                              File "/root/.xbmc/addons/script.recentlyadded/RecentlyAdded.py", line 357, in ?
                                                Main()
                                              File "/root/.xbmc/addons/script.recentlyadded/RecentlyAdded.py", line 108, in __init__
                                                self._fetch_tvshow_info()
                                              File "/root/.xbmc/addons/script.recentlyadded/RecentlyAdded.py", line 253, in _fetch_tvshow_info
                                                self.WINDOW.setProperty( "LatestEpisode.%d.EpisodeNo" % ( count + 1, ), "s%02de%02d" % ( int( fields[ 14 ] ), int( fields[ 15 ] ), ) )
                                            ValueError: invalid literal for int():

I tried removing and reinstalling both the recentlyadded script and the skin. Both without success, I dont understand that I got this error after a faulty update (I had it on autoupdate) while other skins seem to get allong fine with the recentlyadded script.

It apparantly runs the script, but somehow a invalid number is being parsed thru the script. My knowledge of python is zero, but thats what im getting out of it.

The error is driving me crazy, everytime I get to the mainmenu it freezes and then the error pops up.
Reply
#2
I can only think it's a database problem.

Back up your VideoDB and see what happens, then add some content and try again.
Reply
#3
will do that. But if its a database problem, then why is it that the other skins don't have any problems?
Reply
#4
tried it, didnt help unfortunately.
Reply
#5
add that:
Code:
print "current: %s" % fields[ 28 ]

after that:
Code:
# separate individual fields
            fields = re.findall( "<field>(.*?)</field>", episode, re.DOTALL )

in recentlyadded.py, retry and post full log on pastebin please
Reply
#6
will do that first thing tomorrow, wife aggro ;( (its almost 2 a.m. here)
Reply
#7
well, here too Wink
Reply
#8
done that, different error, here is my whole log.

http://pastebin.com/Pp1jQHrz

here is my version of recentlyadded.py

I added your line at line 209

http://pastebin.com/380c0K7m
Reply
#9
the way and the place you put it, it can't work.

you have a problem with your library, seems episode ans season are not number in your db.
Reply
#10
Can i just delete my video lib and rebuild it? How can i delete it
Reply
#11
Metsadah Wrote:Can i just delete my video lib and rebuild it? How can i delete it


In Windows:

/Users/yourname/AppData/Roaming/XBMC/userdata/Database/MyVideos34.db


In Linux:

/home/xbmc/.xbmc/userdata/Database/MyVideos34.db


Exit XBMC, delete file, restart XBMC. It will recreate the .db file when it restarts.
Reply
#12
thanks! Will try it as soon as I get home (in a few hours). Will pot results
Reply
#13
Metsadah Wrote:Can i just delete my video lib and rebuild it? How can i delete it
I thought you already rebuilt the database?
Hitcher Wrote:I can only think it's a database problem.

Back up your VideoDB and see what happens, then add some content and try again.

Metsadah Wrote:tried it, didnt help unfortunately.
Reply
#14
srry, I just thought you ment only exporting. I see now that that is quite a dumb assumption (I did that, and then I added some files to my library, but offcourse that didnt do nothin' Tongue )
Reply
#15
Ok, its working again! Seems you were right the first time (@hitcher) Smile

Thanks for all the help though!
Reply

Logout Mark Read Team Forum Stats Members Help
Recentlyadded.py problems with A.R.0