2011-01-30, 04:50
Hello, I am just following the tutorial right now. this one line "int(sys.argv[1])" seems to be causing my plugin to fail to load from the home menu. It runs perfectly fine when run from a folder. Other plugins fail when loaded from the home menu as a custom item too.
is there any way to fix this?
xbmc.log
is there any way to fix this?
xbmc.log
Code:
18:46:17 T:2900568944 M:443015168 NOTICE: -->Python Interpreter Initialized<--
18:46:18 T:2900568944 M:441872384 ERROR: Error Type: exceptions.IndexError
18:46:18 T:2900568944 M:441872384 ERROR: Error Contents: list index out of range
line 14, in ?
thisPlugin = int(sys.argv[1])
IndexError: list index out of range