{"action":"created","issue":{"url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/66","repository_url":"https://api.github.com/repos/MrMinimal64/timezonefinder","labels_url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/66/comments","events_url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/66/events","html_url":"https://github.com/MrMinimal64/timezonefinder/issues/66","id":388388156,"node_id":"MDU6SXNzdWUzODgzODgxNTY=","number":66,"title":"IOError: first argument must be an open file","user":{"login":"chesstrian","id":3923412,"node_id":"MDQ6VXNlcjM5MjM0MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3923412?v=4","gravatar_id":"","url":"https://api.github.com/users/chesstrian","html_url":"https://github.com/chesstrian","followers_url":"https://api.github.com/users/chesstrian/followers","following_url":"https://api.github.com/users/chesstrian/following{/other_user}","gists_url":"https://api.github.com/users/chesstrian/gists{/gist_id}","starred_url":"https://api.github.com/users/chesstrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesstrian/subscriptions","organizations_url":"https://api.github.com/users/chesstrian/orgs","repos_url":"https://api.github.com/users/chesstrian/repos","events_url":"https://api.github.com/users/chesstrian/events{/privacy}","received_events_url":"https://api.github.com/users/chesstrian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-06T20:38:34Z","updated_at":"2018-12-07T14:38:55Z","closed_at":null,"author_association":"NONE","body":"Hi everyone, I'm using this library to get timezone from user addresses, I'm getting this error for the following coordinates:\r\n\r\n`tf.timezone_at(lng=-87.6330737, lat=41.9112897)`\r\n\r\nCan you help me please telling what it means in this case?, this seems a numpy issue, but not sure what's wrong in this case.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/comments/445251945","html_url":"https://github.com/MrMinimal64/timezonefinder/issues/66#issuecomment-445251945","issue_url":"https://api.github.com/repos/MrMinimal64/timezonefinder/issues/66","id":445251945,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTI1MTk0NQ==","user":{"login":"chesstrian","id":3923412,"node_id":"MDQ6VXNlcjM5MjM0MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/3923412?v=4","gravatar_id":"","url":"https://api.github.com/users/chesstrian","html_url":"https://github.com/chesstrian","followers_url":"https://api.github.com/users/chesstrian/followers","following_url":"https://api.github.com/users/chesstrian/following{/other_user}","gists_url":"https://api.github.com/users/chesstrian/gists{/gist_id}","starred_url":"https://api.github.com/users/chesstrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesstrian/subscriptions","organizations_url":"https://api.github.com/users/chesstrian/orgs","repos_url":"https://api.github.com/users/chesstrian/repos","events_url":"https://api.github.com/users/chesstrian/events{/privacy}","received_events_url":"https://api.github.com/users/chesstrian/received_events","type":"User","site_admin":false},"created_at":"2018-12-07T14:38:55Z","updated_at":"2018-12-07T14:38:55Z","author_association":"NONE","body":"@adamchainz Sorry for delay, somehow I missed the notification.\r\n\r\n![image](https://user-images.githubusercontent.com/3923412/49653568-54d6a880-fa03-11e8-9520-8199a87ddd3a.png)\r\n\r\n```\r\nIOError                                   Traceback (most recent call last)\r\n<ipython-input-45-2a15118102c3> in <module>()\r\n----> 1 tf.timezone_at(lng=-87.6330737, lat=41.9112897)\r\n\r\n/Users/christian/.venvs/mw/lib/python2.7/site-packages/timezonefinder/kwargs_only.pyc in wrapper(*args, **kwargs)\r\n     30         if len(args) > allowable_args:\r\n     31             raise TypeError(\"{} should only be called with keyword args\".format(func.__name__))\r\n---> 32         return func(*args, **kwargs)\r\n     33\r\n     34     return wrapper\r\n\r\n/Users/christian/.venvs/mw/lib/python2.7/site-packages/timezonefinder/timezonefinder.pyc in timezone_at(self, lng, lat)\r\n    505             return timezone_names[unpack(b'<H', self.shortcuts_unique_id.read(2))[0]]\r\n    506         except IndexError:\r\n--> 507             possible_polygons = self.polygons_of_shortcut(shortcut_id_x, shortcut_id_y)\r\n    508             nr_possible_polygons = len(possible_polygons)\r\n    509             if nr_possible_polygons == 0:\r\n\r\n/Users/christian/.venvs/mw/lib/python2.7/site-packages/timezonefinder/timezonefinder.pyc in polygons_of_shortcut(self, x, y)\r\n    203         self.shortcuts_adr2data.seek(1440 * x + 4 * y)\r\n    204         self.shortcuts_data.seek(unpack(b'<I', self.shortcuts_adr2data.read(4))[0])\r\n--> 205         return fromfile(self.shortcuts_data, dtype='<u2', count=nr_of_entries)\r\n    206\r\n    207     def coords_of(self, line=0):\r\n\r\nIOError: first argument must be an open file\r\n```"}}
{"actor":{"display_login":"chesstrian"}}