{"action":"created","issue":{"url":"https://api.github.com/repos/Razzeee/script.trakt/issues/112","labels_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/112/comments","events_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/112/events","html_url":"https://github.com/Razzeee/script.trakt/issues/112","id":57869912,"number":112,"title":"Script doesn't launch/function on FireTV","user":{"login":"razambon","id":3072932,"avatar_url":"https://avatars.githubusercontent.com/u/3072932?v=3","gravatar_id":"","url":"https://api.github.com/users/razambon","html_url":"https://github.com/razambon","followers_url":"https://api.github.com/users/razambon/followers","following_url":"https://api.github.com/users/razambon/following{/other_user}","gists_url":"https://api.github.com/users/razambon/gists{/gist_id}","starred_url":"https://api.github.com/users/razambon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razambon/subscriptions","organizations_url":"https://api.github.com/users/razambon/orgs","repos_url":"https://api.github.com/users/razambon/repos","events_url":"https://api.github.com/users/razambon/events{/privacy}","received_events_url":"https://api.github.com/users/razambon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Razzeee/script.trakt/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Razzeee/script.trakt/milestones/1","labels_url":"https://api.github.com/repos/Razzeee/script.trakt/milestones/1/labels","id":976570,"number":1,"title":"Release 3.0.0","description":"","creator":{"login":"Razzeee","id":5943908,"avatar_url":"https://avatars.githubusercontent.com/u/5943908?v=3","gravatar_id":"","url":"https://api.github.com/users/Razzeee","html_url":"https://github.com/Razzeee","followers_url":"https://api.github.com/users/Razzeee/followers","following_url":"https://api.github.com/users/Razzeee/following{/other_user}","gists_url":"https://api.github.com/users/Razzeee/gists{/gist_id}","starred_url":"https://api.github.com/users/Razzeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Razzeee/subscriptions","organizations_url":"https://api.github.com/users/Razzeee/orgs","repos_url":"https://api.github.com/users/Razzeee/repos","events_url":"https://api.github.com/users/Razzeee/events{/privacy}","received_events_url":"https://api.github.com/users/Razzeee/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-02-12T09:49:03Z","updated_at":"2015-02-17T18:17:18Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-02-17T00:49:53Z","updated_at":"2015-02-17T19:31:07Z","closed_at":null,"body":"So, on the FireTV it seems that the addon isn't working.  You can edit settings and the dialog window after watching something comes up - which registers a show/movie as 'watched' on trakt - but nothing else works.  The addon doesn't launch, when you set a rating in the after watching dialog it isn't recorded, and a full library parse/scrobble to trakt based on status doesn't work either.\r\n\r\nMy system is a FireTV, with Gotham (13.2).  Let me know if any additional log portions are needed and I can post as well.  Have about half a meg of logs :)\r\n\r\nBelow are a few errors:\r\n\r\n16:31:11 T:1514285496   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.ImportError'>\r\n                                            Error Contents: No module named six\r\n                                            Traceback (most recent call last):\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/default.py\", line 5, in <module>\r\n                                                import kodilogging\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/kodilogging.py\", line 19, in <module>\r\n                                                from utilities import getSettingAsBool\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/utilities.py\", line 11, in <module>\r\n                                                from dateutil.tz import tzutc, tzlocal\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/dateutil/tz.py\", line 16, in <module>\r\n                                                from six import string_types, PY3\r\n                                            ImportError: No module named six\r\n                                            -->End of Python script error report<--\r\n16:31:11 T:1514285496    INFO: Python script stopped\r\n\r\n\r\n16:33:10 T:1746600304  NOTICE: Thread LanguageInvoker start, auto delete: false\r\n16:33:10 T:1746600304    INFO: initializing python engine.\r\n16:33:10 T:1746600304   DEBUG: CPythonInvoker(18, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py): start processing\r\n16:33:10 T:1746600304  NOTICE: -->Python Interpreter Initialized<--\r\n16:33:10 T:1746600304   DEBUG: CPythonInvoker(18, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py): the source file to load is \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py\"\r\n16:33:10 T:1746600304   DEBUG: CPythonInvoker(18, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.t0mm0.common/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.simplejson/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.beautifulsoup4/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.myconnpy/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.addon.common/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.pyxbmct/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.beautifulsoup/lib:/data/user/0/org.xbmc.xbmc/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.unidecode/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.simple.downloader/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.pytz/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.grab.fanart/default.py:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.urlresolver/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.eminencefunctions/default.py:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.buggalo/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.mechanize/lib:/data/user/0/org.xbmc.xbmc/cache/apk/assets/addons/xbmc.debug/:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.parsedom/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.xbmcswift2/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.feedparser/lib:/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.module.metahandler/lib:/:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python26.zip:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/plat-linux3:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-tk:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-old:/data/app/org.xbmc.xbmc-1.apk/assets/python2.6/lib/python2.6/lib-dynload\r\n16:33:10 T:1746600304   DEBUG: CPythonInvoker(18, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt\r\n16:33:10 T:1746600304   DEBUG: CPythonInvoker(18, /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py): instantiating addon using automatically obtained id of \"script.trakt\" dependent on version 2.1.0 of the xbmc.python api\r\n16:33:10 T:1091003704   DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------\r\n16:33:11 T:1746600304   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\n                                            Error Type: <type 'exceptions.ImportError'>\r\n                                            Error Contents: No module named six\r\n                                            Traceback (most recent call last):\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/script.py\", line 2, in <module>\r\n                                                import utilities as utils\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/utilities.py\", line 11, in <module>\r\n                                                from dateutil.tz import tzutc, tzlocal\r\n                                              File \"/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/addons/script.trakt/dateutil/tz.py\", line 16, in <module>\r\n                                                from six import string_types, PY3\r\n                                            ImportError: No module named six\r\n                                            -->End of Python script error report<--\r\n16:33:11 T:1746600304    INFO: Python script stopped"},"comment":{"url":"https://api.github.com/repos/Razzeee/script.trakt/issues/comments/74735457","html_url":"https://github.com/Razzeee/script.trakt/issues/112#issuecomment-74735457","issue_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/112","id":74735457,"user":{"login":"razambon","id":3072932,"avatar_url":"https://avatars.githubusercontent.com/u/3072932?v=3","gravatar_id":"","url":"https://api.github.com/users/razambon","html_url":"https://github.com/razambon","followers_url":"https://api.github.com/users/razambon/followers","following_url":"https://api.github.com/users/razambon/following{/other_user}","gists_url":"https://api.github.com/users/razambon/gists{/gist_id}","starred_url":"https://api.github.com/users/razambon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razambon/subscriptions","organizations_url":"https://api.github.com/users/razambon/orgs","repos_url":"https://api.github.com/users/razambon/repos","events_url":"https://api.github.com/users/razambon/events{/privacy}","received_events_url":"https://api.github.com/users/razambon/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T19:31:07Z","updated_at":"2015-02-17T19:31:07Z","body":"So, I found the cause - I think.  It's two things.  First, I had a few dates that were in 2038 for some reason.  I fixed those directly in my database and it seems to have addressed one aspect.  The second was when the watched date was before the added date.  Fixed all of those as well.  Now just doing the ingestion again and seeing if it works."}}