Hi @
sualfred Getting a repeatable error on a specific movie in my library all the others I have checked work fine. Not sure what is so special about this one
I am using:
xml:
RunScript(script.embuary.info,call=movie,external_id=$INFO[ListItem.IMDBNumber])
Here is
full LOG.
Error report:
xml:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnicodeEncodeError'>
Error Contents: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128)
Traceback (most recent call last):
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\default.py", line 51, in <module>
Main()
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\default.py", line 19, in __init__
TheMovieDB(self.call,self.params)
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_main.py", line 37, in __init__
self.entry_point()
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_main.py", line 108, in entry_point
dialog = self.fetch_person() if self.call == 'person' else self.fetch_video()
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_main.py", line 131, in fetch_video
data = TMDBVideos(self.call_params)
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_video.py", line 47, in __init__
self.result['similar'] = self.get_similar()
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_video.py", line 138, in get_similar
list_item = tmdb_handle_movie(item,self.local_movies)
File "C:\Program Files\Kodi (Matrix)\portable_data\addons\script.embuary.info\resources\lib\tmdb_utils.py", line 401, in tmdb_handle_movie
list_item.setProperty('file', str(local_info['file']))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 16: ordinal not in range(128)
-->End of Python script error report<--
Thanks
EDIT: Found another movie
Same traceback but different position.
Code:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbd' in position 30: ordinal not in range(128)
Do you want another log?
Quick search on Google led me
HERE.
Don't know if that helps but I do see str on line 401 in tmdb_utils.
I also have no idea what I am talking about...