Recently added script error
#1
When I start up XBMC with the 2.11 version of Transparency, I get a script error when XBMC tries to add new movies.


16:21:59 T:5432 M:1408020480 NOTICE: -->Python Interpreter Initialized<--
16:22:03 T:5432 M:1400508416 ERROR: Error Type: exceptions.IndexError
16:22:03 T:5432 M:1400508416 ERROR: Error Contents: list index out of range
16:22:03 T:5432 M:1399693312 ERROR: Traceback (most recent call last):
File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 260, in ?
Main()
File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 71, in __init__
self._fetch_totals()
File "C:\Program Files\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 133, in _fetch_totals
self.WINDOW.setProperty( "TVShows.Watched" , tvshows_totals[ 2 ] or "" )
IndexError: list index out of range
Reply
#2
do you have the latest xbmc? if not do so
Reply
#3
Sorry thought I was being more efficient but not posting the entire log and just the relevant portion but in doing so did not include the version info at the top of the debug log.

Runing the SVN 26115 of Camelot

17:32:48 T:3604 M:1273483264 NOTICE: -----------------------------------------------------------------------
17:32:48 T:3604 M:1273454592 NOTICE: Starting XBMC, Platform: Windows XP Home Edition Service Pack 3 build 2600. Built on Dec 28 2009 (SVN:26115, compiler 1500)
17:32:48 T:3604 M:1273454592 NOTICE: Dual Core AMD Opteron™ Processor 170
17:32:48 T:3604 M:1273454592 NOTICE: Desktop Resolution: 1280x1024 32Bit at 60Hz
17:32:48 T:3604 M:1273454592 NOTICE: Running with administrator rights
17:32:48 T:3604 M:1273454592 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
17:32:48 T:3604 M:1273450496 NOTICE: special://masterprofile/ is mapped to: C:\Documents and Settings\Owner\Application Data\XBMC\userdata
17:32:48 T:3604 M:1273450496 NOTICE: special://home/ is mapped to: C:\Documents and Settings\Owner\Application Data\XBMC
17:32:48 T:3604 M:1273450496 NOTICE: special://temp/ is mapped to: C:\Documents and Settings\Owner\Application Data\XBMC\cache
17:32:48 T:3604 M:1273450496 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
17:32:48 T:3604 M:1273450496 NOTICE: Log File is located: C:\Documents and Settings\Owner\Application Data\XBMC\xbmc.log
Reply
#4
last time someone had an issue like this, he had a corrupt movie database...

btw, always post a full Debug Log on pastebin. ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
ronnie, grab the script again to make sure you have the most recent. i fixed that bug. it happened when you had no tvshows scanned.

http://xbmc-addons.googlecode.com/svn/pa...lyAdded.py
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#6
thanx for the tip, the latest version of the script is already included though.
even tested it on my system without any tv shows in the db and it runs fine.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
Hello I have another error with this script :

My xbmc is the last Camelot version
I put your last script version too

I tried the scrip from mediastream_redux skin and it works well but no fanart shown on the home screen

Is there any solution without rescanning database because it is too long to rescan and modify some movie properties.

here is the log
Quote:14:21:05 T:2164 M:1766305792 NOTICE: -----------------------------------------------------------------------
14:21:05 T:2164 M:1766289408 NOTICE: Starting XBMC, Platform: Windows XP Professional Service Pack 2 build 2600. Built on Dec 23 2009 (SVN:26017, compiler 1500)
14:21:05 T:2164 M:1766289408 NOTICE: AMD Athlon™ 64 X2 Dual Core Processor 6000+
14:21:05 T:2164 M:1766289408 NOTICE: Desktop Resolution: 1920x1080 32Bit at 60Hz
14:21:05 T:2164 M:1766289408 NOTICE: Running with administrator rights
14:21:05 T:2164 M:1766285312 NOTICE: special://xbmc/ is mapped to: C:\Program Files\XBMC
14:21:05 T:2164 M:1766285312 NOTICE: special://masterprofile/ is mapped to: C:\Documents and Settings\XBMC\Application Data\XBMC\userdata
14:21:05 T:2164 M:1766285312 NOTICE: special://home/ is mapped to: C:\Documents and Settings\XBMC\Application Data\XBMC
14:21:05 T:2164 M:1766285312 NOTICE: special://temp/ is mapped to: C:\Documents and Settings\XBMC\Application Data\XBMC\cache
14:21:05 T:2164 M:1766285312 NOTICE: The executable running is: C:\Program Files\XBMC\XBMC.exe
14:21:05 T:2164 M:1766285312 NOTICE: Log File is located: C:\Documents and Settings\XBMC\Application Data\XBMC\xbmc.log
14:21:05 T:2164 M:1766285312 NOTICE: -----------------------------------------------------------------------
14:21:05 T:2164 M:1766260736 NOTICE: Setup SDL
14:21:05 T:2164 M:1766002688 NOTICE: Found mode: 640x480 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765998592 NOTICE: Found mode: 720x480 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765998592 NOTICE: Found mode: 720x576 @ 50.00 - Full Screen
14:21:05 T:2164 M:1765998592 NOTICE: Found mode: 800x600 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765998592 NOTICE: Found mode: 1024x768 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765998592 NOTICE: Found mode: 1280x720 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765994496 NOTICE: Found mode: 1280x1024 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765990400 NOTICE: Found mode: 1600x900 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765990400 NOTICE: Found mode: 1920x1080 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765990400 NOTICE: Found mode: 1280x720 @ 50.00 - Full Screen
14:21:05 T:2164 M:1765990400 NOTICE: Found mode: 1768x992 @ 60.00 - Full Screen
14:21:05 T:2164 M:1765990400 NOTICE: Found mode: 1920x1080 @ 50.00 - Full Screen
14:21:05 T:2164 M:1765933056 NOTICE: load settings...
14:21:05 T:2164 M:1765916672 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:21:05 T:2164 M:1765916672 NOTICE: loading special://masterprofile/guisettings.xml
14:21:05 T:2164 M:1765343232 NOTICE: Getting hardware information now...
14:21:05 T:2164 M:1765335040 NOTICE: Checking resolution 12
14:21:05 T:2164 M:1765269504 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:21:05 T:2164 M:1765240832 NOTICE: Loaded playercorefactory configuration
14:21:05 T:2164 M:1765228544 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
14:21:05 T:2164 M:1765228544 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
14:21:05 T:2164 M:1765228544 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
14:21:05 T:2164 M:1765224448 NOTICE: Default DVD Player: dvdplayer
14:21:05 T:2164 M:1765224448 NOTICE: Default Video Player: dvdplayer
14:21:05 T:2164 M:1765224448 NOTICE: Default Audio Player: paplayer
14:21:05 T:2164 M:1765335040 NOTICE: special://masterprofile/sources.xml
14:21:05 T:2164 M:1758322688 NOTICE: initializing playlistplayer
14:21:05 T:2164 M:1758310400 NOTICE: DONE initializing playlistplayer
14:21:05 T:2164 M:1758302208 NOTICE: load default skin:[Transparency!]
14:21:05 T:2164 M:1739407360 NOTICE: initialize done
14:21:05 T:2164 M:1739407360 NOTICE: Running the application...
14:21:05 T:2164 M:1738764288 NOTICE: ES: Starting event server
14:21:05 T:1932 M:1738727424 NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
14:21:05 T:1932 M:1738702848 NOTICE: UDP: Listening on port 9777
14:21:05 T:1804 M:1730068480 NOTICE: -->Python Interpreter Initialized<--
14:21:06 T:1804 M:1723613184 NOTICE: Traceback (most recent call last):
14:21:06 T:1804 M:1723613184 NOTICE: File "C:\Documents and Settings\XBMC\Application Data\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 260, in ?
14:21:06 T:1804 M:1723613184 NOTICE: Main()
14:21:06 T:1804 M:1723613184 NOTICE: File "C:\Documents and Settings\XBMC\Application Data\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 71, in __init__
14:21:06 T:1804 M:1723613184 NOTICE: self._fetch_totals()
14:21:06 T:1804 M:1723613184 NOTICE: File "C:\Documents and Settings\XBMC\Application Data\XBMC\skin\Transparency!\scripts\RecentlyAdded.py", line 102, in _fetch_totals
14:21:06 T:1804 M:1723613184 NOTICE: movies_totals[ 6 ] = datetime.date( int( date[ 0 ] ), int( date[ 1 ] ), int( date[ 2 ] ) ).strftime( date_format ) # last played
14:21:06 T:1804 M:1723613184 NOTICE: ValueError
14:21:06 T:1804 M:1723613184 NOTICE: :
14:21:06 T:1804 M:1723613184 NOTICE: invalid literal for int(): :00
14:21:06 T:1804 M:1723613184 ERROR: Scriptresult: Error
14:21:11 T:2164 M:1728999424 NOTICE: Storing total System Uptime
14:21:11 T:2164 M:1729241088 NOTICE: Saving settings
14:21:11 T:2164 M:1729163264 NOTICE: stop all
14:21:11 T:2164 M:1729159168 NOTICE: ES: Stopping event server
14:21:11 T:1932 M:1729146880 NOTICE: ES: UDP Event server stopped
14:21:11 T:2164 M:1729167360 NOTICE: stop sap announcement listener
14:21:11 T:2164 M:1729167360 NOTICE: clean cached files!
14:21:11 T:2164 M:1729159168 NOTICE: unload skin
14:21:11 T:2164 M:1746055168 NOTICE: stop python
14:21:11 T:2164 M:1746051072 NOTICE: stopped
14:21:11 T:2164 M:1746051072 NOTICE: destroy
14:21:11 T:2164 M:1746108416 NOTICE: unload sections
Reply
#8
if you're using Camelot, you should be using T! v2.11.
T! v2.11 already includes a recently added script and it should not be changed/updated.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#9
yes it is T! 2.11 but it's from this version the error appears

so no solution ?
Reply
#10
nope, can't help you i'm afraid.
check the recently added script thread for support.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#11
ok i didn't wait for an update and I scan again all my fresh database so the plugin works perfectly except for 1 point. is it notmal that no tv show fanarts are displayed on home screen ?
Reply
#12
on home screen movies fanarts and music fanarts work but not tv shows
Reply
#13
i've had that for a very long time.

it should be fixed in the latest version of the recently added script (available through the add-on system in xbmc).

you'll need a svn version of both T! and xbmc though.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Recently added script error0