2011-11-29, 10:03
I've been getting script errors on certain Tudou videos lately. About 50% of the videos I try to watch give me an error. I'm watching on ATV 4.3. Here is an example of error log. Any ideas?
23:52:03 T:106541056 M:135479296 DEBUG: RunScriptWithParams - calling plugin 土豆视频(Tudou)('plugin://plugin.video.tudou/','-1','?mode=3&name=%E7%AC%AC2%E9%9B%86&url=105876580&thumb=http%3A%2F%2Fi1.tdimg.com%2F105%2F876%2F580%2Fp.jpg')
23:52:03 T:106541056 M:135479296 INFO: initializing python engine.
23:52:03 T:106541056 M:135479296 DEBUG: new python thread created. id=7
23:52:03 T:128176128 M:135475200 DEBUG: Thread XBPyThread start, auto delete: 0
23:52:03 T:128176128 M:135475200 DEBUG: Python thread: start processing
23:52:04 T:128176128 M:135340032 NOTICE: -->Python Interpreter Initialized<--
23:52:04 T:128176128 M:135340032 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py
23:52:04 T:128176128 M:135340032 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.common.plugin.cache/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.keyboard.chinese/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
23:52:04 T:128176128 M:135340032 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou
23:52:04 T:128176128 M:135340032 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.tudou" dependent on version 1.0 of the xbmc.python api
23:52:08 T:128176128 M:135340032 INFO: -->Python script returned the following error<--
23:52:08 T:128176128 M:135340032 ERROR: Error Type: <type 'exceptions.IndexError'>
23:52:08 T:128176128 M:135340032 ERROR: Error Contents: list index out of range
23:52:09 T:128176128 M:135331840 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 323, in <module>
PlayVideo(name,url,thumb)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 200, in PlayVideo
xbmc.Player().play(match[0]+'|User-Agent='+UserAgent, listitem)
IndexError: list index out of range
23:52:09 T:128176128 M:135331840 INFO: -->End of Python script error report<--
23:52:09 T:106541056 M:135331840 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:52:09 T:128176128 M:134950912 INFO: Python script stopped
23:52:09 T:128176128 M:134950912 DEBUG: Thread Python Thread 128176128 terminating
23:52:09 T:106541056 M:134950912 DEBUG: waiting for python thread 7 to stop
23:52:09 T:106541056 M:134955008 DEBUG: python thread 7 destructed
23:52:14 T:106541056 M:134955008 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
23:52:03 T:106541056 M:135479296 DEBUG: RunScriptWithParams - calling plugin 土豆视频(Tudou)('plugin://plugin.video.tudou/','-1','?mode=3&name=%E7%AC%AC2%E9%9B%86&url=105876580&thumb=http%3A%2F%2Fi1.tdimg.com%2F105%2F876%2F580%2Fp.jpg')
23:52:03 T:106541056 M:135479296 INFO: initializing python engine.
23:52:03 T:106541056 M:135479296 DEBUG: new python thread created. id=7
23:52:03 T:128176128 M:135475200 DEBUG: Thread XBPyThread start, auto delete: 0
23:52:03 T:128176128 M:135475200 DEBUG: Python thread: start processing
23:52:04 T:128176128 M:135340032 NOTICE: -->Python Interpreter Initialized<--
23:52:04 T:128176128 M:135340032 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py
23:52:04 T:128176128 M:135340032 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou:/var/mobile/Library/Preferences/XBMC/addons/script.module.simplejson/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.common.plugin.cache/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.keyboard.chinese/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
23:52:04 T:128176128 M:135340032 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou
23:52:04 T:128176128 M:135340032 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.tudou" dependent on version 1.0 of the xbmc.python api
23:52:08 T:128176128 M:135340032 INFO: -->Python script returned the following error<--
23:52:08 T:128176128 M:135340032 ERROR: Error Type: <type 'exceptions.IndexError'>
23:52:08 T:128176128 M:135340032 ERROR: Error Contents: list index out of range
23:52:09 T:128176128 M:135331840 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 323, in <module>
PlayVideo(name,url,thumb)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 200, in PlayVideo
xbmc.Player().play(match[0]+'|User-Agent='+UserAgent, listitem)
IndexError: list index out of range
23:52:09 T:128176128 M:135331840 INFO: -->End of Python script error report<--
23:52:09 T:106541056 M:135331840 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:52:09 T:128176128 M:134950912 INFO: Python script stopped
23:52:09 T:128176128 M:134950912 DEBUG: Thread Python Thread 128176128 terminating
23:52:09 T:106541056 M:134950912 DEBUG: waiting for python thread 7 to stop
23:52:09 T:106541056 M:134955008 DEBUG: python thread 7 destructed
23:52:14 T:106541056 M:134955008 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------