2012-08-01, 02:15
(2011-08-26, 10:47)reddwarf355 Wrote: Getting the following errors:
10:27:54 T:2958184448 DEBUG: WaitOnScriptResult - waiting on the iTunes Playlist Importer plugin...
10:27:54 T:2955980800 NOTICE: -->Python Interpreter Initialized<--
10:27:54 T:2955980800 DEBUG: Process - The source file to load is /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py
10:27:54 T:2955980800 DEBUG: Process - Setting the Python path to /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u:/Users/maurice/Library/Application Support/XBMC/addons/script.module.simplejson/lib:/Users/maurice/Library/Application Support/XBMC/addons/script.module.beautifulsoup/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
10:27:54 T:2955980800 DEBUG: Process - Entering source directory /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u
10:27:54 T:2955980800 DEBUG: Instantiating addon using automatically obtained id of "script.itunestom3u" dependent on version 1.0 of the xbmc.python api
10:27:54 T:2955980800 ERROR: /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py:36: SyntaxWarning: import * only allowed at module level
def __init__(self):
10:27:54 T:2955980800 ERROR: /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py:20: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
PLUGIN_PATH = xbmc.translatePath(os.getcwd())
10:27:54 T:2955980800 ERROR: /Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py:30: DeprecationWarning: os.getcwd() currently lies to you so please use addon.getAddonInfo('path') to find the script's root directory and DO NOT make relative path accesses based on the results of 'os.getcwd.'
addon = xbmcaddon.Addon(id=os.path.basename(os.getcwd()))
10:27:55 T:2894398144 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:27:55 T:2894398144 DEBUG: Alloc resources: 0.01ms (0.00 ms skin load)
10:27:56 T:2958184448 INFO: Loading skin file: DialogProgress.xml
10:27:56 T:2958184448 DEBUG: Load DialogProgress.xml: 4.86ms
10:27:56 T:2958184448 DEBUG: DialogProgress::StartModal called
10:27:56 T:2958184448 DEBUG: ------ Window Init (DialogProgress.xml) ------
10:27:56 T:2958184448 DEBUG: Alloc resources: 0.29ms (0.00 ms skin load)
10:27:59 T:2894398144 DEBUG: ------ Window Deinit (Pointer.xml) ------
10:28:14 T:2955980800 INFO: -->Python script returned the following error<--
10:28:14 T:2955980800 ERROR: Error Type: <type 'exceptions.KeyError'>
10:28:14 T:2955980800 ERROR: Error Contents: ('Location',)
10:28:14 T:2955980800 ERROR: Traceback (most recent call last):
File "/Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py", line 81, in <module>
run_program = Main()
File "/Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/addon.py", line 70, in __init__
number_playlist= itunesconvert(libraryfile,oldmusicpath,musicpath,m3u_path)
File "/Users/maurice/Library/Application Support/XBMC/addons/script.itunestom3u/resources/lib/xmltom3u.py", line 37, in itunesconvert
fileloc_quote = playlist['Tracks'][str(track_id)]['Location']
KeyError: ('Location',)
10:28:14 T:2955980800 INFO: -->End of Python script error report<--
10:28:14 T:2894398144 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
I get the same error...