2013-05-12, 14:51
While that one is fixed, I just encountered another problem when trying to add the movie "Thor: The Dark World" with the Apple iTunes Trailers add-on. Other movies seem to work fine, so I guess it has anything to do with the colon character in the title name? Here a snap of the error:
Code:
14:47:20 T:2705826880 NOTICE: [TraktListApi]: '_api_call using url: https://api.trakt.tv/movie/watchlist/2ce240ab6543ebd7d84abe5268a822d5'
14:47:21 T:2705826880 NOTICE: [TraktListApi]: "_api_call response: {u'status': u'success', u'skipped': 0, u'inserted': 1, u'already_exist': 0, u'skipped_movies': []}"
14:47:46 T:2705826880 NOTICE: Thread XBPyThread start, auto delete: false
14:47:46 T:2705826880 NOTICE: -->Python Interpreter Initialized<--
14:47:47 T:2705826880 NOTICE: [TraktListApi]: '_api_call using url: https://api.trakt.tv/account/test/2ce240ab6543ebd7d84abe5268a822d5'
14:47:48 T:2705826880 NOTICE: [TraktListApi]: "_api_call response: {u'status': u'success', u'message': u'all good!'}"
14:47:48 T:2705826880 NOTICE: [xbmcswift2] Request for "/movies/add" matches rule for function "add_movie_to_list"
14:47:48 T:2705826880 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: not enough arguments for format string
Traceback (most recent call last):
File "/home/xbian/.xbmc/addons/plugin.video.trakt_list_manager/addon.py", line 499, in <module>
plugin.run()
File "/home/xbian/.xbmc/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/home/xbian/.xbmc/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/home/xbian/.xbmc/addons/plugin.video.trakt_list_manager/addon.py", line 266, in add_movie_to_list
movie = get_movie()
File "/home/xbian/.xbmc/addons/plugin.video.trakt_list_manager/addon.py", line 330, in get_movie
movies = api.search_movie(movie['title'])
File "/home/xbian/.xbmc/addons/plugin.video.trakt_list_manager/resources/lib/api.py", line 79, in search_movie
return self._api_call(path)
File "/home/xbian/.xbmc/addons/plugin.video.trakt_list_manager/resources/lib/api.py", line 166, in _api_call
'username': self._username
TypeError: not enough arguments for format string
-->End of Python script error report<--