Eldorado Wrote:Wesada,
Testing your latest script changes
- Win7, XBMC Nightly as of Aug 29th
Missing some imports?
Code:
12:04:26 T:8284 ERROR: C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib\pysqlite2\__init__.py:34: UserWarning: DeprecationWarning: the pysqlite2 module is deprecated; please change your script to use sqlite3.
warnings.warn("DeprecationWarning: the pysqlite2 module is deprecated; please change your script to use sqlite3.")
12:04:26 T:8284 INFO: -->Python script returned the following error<--
12:04:26 T:8284 ERROR: Error Type: <type 'exceptions.NameError'>
12:04:26 T:8284 ERROR: Error Contents: global name 'xbmcaddon' is not defined
12:04:26 T:8284 ERROR: Traceback (most recent call last):
File "C:\Users\M33282\AppData\Roaming\XBMC\addons\plugin.video.icefilms\default.py", line 23, in <module>
from icefilms_constants import * # moved the constants to somewhere manageable.
File "C:\Users\M33282\AppData\Roaming\XBMC\addons\plugin.video.icefilms\icefilms_constants.py", line 12, in <module>
ICEFILMS_URL = getSiteURL()
File "C:\Users\M33282\AppData\Roaming\XBMC\addons\plugin.video.icefilms\icefilms_constants.py", line 4, in getSiteURL
ao = xbmcaddon.Addon(id='plugin.video.icefilms')
NameError: global name 'xbmcaddon' is not defined
Haha, yeah bit of a pre-mature post yesterday. Was going through the code while waiting to pickup my wife. Posted the link to the needed import and the modified default.py on the release thread. Can get it from the unstable branch of my fork at bitbucket. http://code.wesada.ca/xbmc-icefilms/raw/...default.py
http://code.wesada.ca/xbmc-icefilms/raw/...nstants.py

Search
Help