Saviq 22 Posted November 6, 2018 Share Posted November 6, 2018 It seems after I've left Kodi for a while I have to restart it to be able to play from Emby: 09:25:33.417 T:3079664544 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: 'NoneType' object has no attribute '__getitem__' Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.emby.tvshows/default.py", line 29, in <module> Events() File "/storage/.kodi/addons/plugin.video.emby/resources/lib/entrypoint/default.py", line 72, in __init__ Actions(server).play(item, params.get('dbid'), playlist=params.get('playlist') == 'true') File "/storage/.kodi/userdata/addon_data/plugin.video.emby/emby/objects/actions.py", line 53, in play LOG.info("[ play/%s ] %s", item['Id'], item['Name']) TypeError: 'NoneType' object has no attribute '__getitem__' My addon version is 3.1.33a: 21:47:18.183 T:3027235744 NOTICE: EMBY.entrypoint.service -> --->>>[ EMBY ] 21:47:18.185 T:3027235744 NOTICE: EMBY.entrypoint.service -> Version: 3.1.33a 21:47:18.186 T:3027235744 NOTICE: EMBY.entrypoint.service -> KODI Version: 17.6 Git:a9a7a20 21:47:18.199 T:3027235744 NOTICE: EMBY.entrypoint.service -> Platform: LibreElec 21:47:18.209 T:3027235744 NOTICE: EMBY.entrypoint.service -> Python Version: 2.7.13 (default, Jan 18 2018, 22:46:27) 21:47:18.223 T:3027235744 NOTICE: EMBY.entrypoint.service -> Using dynamic paths: True 21:47:18.224 T:3027235744 NOTICE: EMBY.entrypoint.service -> Log Level: 1 21:47:18.233 T:3027235744 NOTICE: EMBY.entrypoint.service -> ---[ db/None ] Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 6, 2018 Share Posted November 6, 2018 Please provide the complete log. Link to comment Share on other sites More sharing options...
Saviq 22 Posted November 6, 2018 Author Share Posted November 6, 2018 There was nothing else relevant in the log, I'll enable debug logging and report back when I see this problem again - it's not easy to reproduce. Anything specific I should be looking for? Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted November 6, 2018 Share Posted November 6, 2018 Only enable debug in the addon. Not Kodi. The only time this may return none is if shut down or profile switch was called previously... but without the full log I can't really say why that happened. Link to comment Share on other sites More sharing options...
Recommended Posts