07:53:44 T:2953318400 DEBUG: Process - Entering source directory /Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers
07:53:44 T:2953318400 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.itunes_trailers" dependent on version 2.1.0 of the xbmc.python api
07:53:44 T:2953318400 NOTICE: ########################################
07:53:44 T:2953318400 NOTICE: /Users/mini/Library/Application Support/XBMC/addons/script.module.dmd-czech.common/lib/json.pyc
07:53:44 T:2953318400 NOTICE: ['JsonReader', 'JsonWriter', 'ReadException', 'WriteException', '_StringGenerator', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 'read', 'string', 'types', 'write']
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Adding url rule "/" named "show_movies" pointing to function "show_movies"
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Adding url rule "/movie/<movie_title>/<location>/show/" named "show_trailers" pointing to function "show_trailers"
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Adding url rule "/trailer/play/<play_url>" named "play_trailer" pointing to function "play_trailer"
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Adding url rule "/trailer/download/<download_url>/<play_url>" named "download_trailer" pointing to function "download_trailer"
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Loaded storage ".functions" from disk
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Handling incoming request for /
07:53:44 T:2953318400 NOTICE: [xbmcswift2] Request for "/" matches rule for function "show_movies"
07:53:44 T:2953318400 DEBUG: [xbmcswift2] Storage miss for function "get_movies" with args "('all', 0)" and kwargs "{}"
07:53:44 T:2953318400 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'module' object has no attribute 'loads'
Traceback (most recent call last):
File "/Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers/addon.py", line 226, in <module>
plugin.run()
File "/Users/mini/Library/Application Support/XBMC/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/Users/mini/Library/Application Support/XBMC/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers/addon.py", line 51, in show_movies
items = get_movies(source, limit)
File "/Users/mini/Library/Application Support/XBMC/addons/script.module.xbmcswift2/lib/xbmcswift2/xbmcmixin.py", line 81, in wrapper
result = function(*args, **kwargs)
File "/Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers/addon.py", line 166, in get_movies
} for i, movie in enumerate(movies)]
File "/Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers/resources/lib/scraper.py", line 80, in _get_movies
for i, movie in enumerate(self.__get_json(source)):
File "/Users/mini/Library/Application Support/XBMC/addons/plugin.video.itunes_trailers/resources/lib/scraper.py", line 106, in __get_json
return json.loads(urllib2.urlopen(req).read())
AttributeError: 'module' object has no attribute 'loads'
-->End of Python script error report<--
07:53:44 T:2953318400 INFO: Python script stopped