{"action":"created","issue":{"url":"https://api.github.com/repos/Razzeee/script.trakt/issues/62","labels_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/62/comments","events_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/62/events","html_url":"https://github.com/Razzeee/script.trakt/issues/62","id":56127934,"number":62,"title":"pytz is not compatible with Android","user":{"login":"NickSC","id":7351311,"avatar_url":"https://avatars.githubusercontent.com/u/7351311?v=3","gravatar_id":"","url":"https://api.github.com/users/NickSC","html_url":"https://github.com/NickSC","followers_url":"https://api.github.com/users/NickSC/followers","following_url":"https://api.github.com/users/NickSC/following{/other_user}","gists_url":"https://api.github.com/users/NickSC/gists{/gist_id}","starred_url":"https://api.github.com/users/NickSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickSC/subscriptions","organizations_url":"https://api.github.com/users/NickSC/orgs","repos_url":"https://api.github.com/users/NickSC/repos","events_url":"https://api.github.com/users/NickSC/events{/privacy}","received_events_url":"https://api.github.com/users/NickSC/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-01-31T15:16:25Z","updated_at":"2015-01-31T18:26:30Z","closed_at":null,"body":"It seems pytz has been made a dependency, however this module does not work on Android, making \r\nthe addon fail on startup for all Android Kodi devices.\r\nThis is because `/etc/localtime`, `/usr/local/etc/localtime`, `/etc/timezone`, etc do not exist. None of the files the script tries to access are on Android.\r\n\r\n```\r\n00:16:51 T:1739502720 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--\r\n- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!\r\nError Type:\r\nError Contents: 'Can not find any timezone configuration'\r\nTraceback (most recent call last):\r\nFile \"/storage/sdcard0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/default.py\", line 5, in\r\nimport utilities\r\nFile \"/storage/sdcard0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/utilities.py\", line 21, in\r\n__local = pytz.timezone (str(get_localzone()))\r\nFile \"/storage/sdcard0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/tzlocal/unix.py\", line 108, in get_localzone\r\n_cache_tz = _get_localzone()\r\nFile \"/storage/sdcard0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.trakt/tzlocal/unix.py\", line 102, in _get_localzone\r\nraise pytz.UnknownTimeZoneError('Can not find any timezone configuration')\r\nUnknownTimeZoneError: 'Can not find any timezone configuration'\r\n-->End of Python script error report<--\r\n```"},"comment":{"url":"https://api.github.com/repos/Razzeee/script.trakt/issues/comments/72329416","html_url":"https://github.com/Razzeee/script.trakt/issues/62#issuecomment-72329416","issue_url":"https://api.github.com/repos/Razzeee/script.trakt/issues/62","id":72329416,"user":{"login":"NickSC","id":7351311,"avatar_url":"https://avatars.githubusercontent.com/u/7351311?v=3","gravatar_id":"","url":"https://api.github.com/users/NickSC","html_url":"https://github.com/NickSC","followers_url":"https://api.github.com/users/NickSC/followers","following_url":"https://api.github.com/users/NickSC/following{/other_user}","gists_url":"https://api.github.com/users/NickSC/gists{/gist_id}","starred_url":"https://api.github.com/users/NickSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickSC/subscriptions","organizations_url":"https://api.github.com/users/NickSC/orgs","repos_url":"https://api.github.com/users/NickSC/repos","events_url":"https://api.github.com/users/NickSC/events{/privacy}","received_events_url":"https://api.github.com/users/NickSC/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T18:26:30Z","updated_at":"2015-01-31T18:26:30Z","body":"I'm running on OUYA too and the error is there.\r\n\r\nSent with AquaMail for Android\r\nhttp://www.aqua-mail.com"}}