{"action":"created","issue":{"url":"https://api.github.com/repos/sdispater/pendulum/issues/40","repository_url":"https://api.github.com/repos/sdispater/pendulum","labels_url":"https://api.github.com/repos/sdispater/pendulum/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/sdispater/pendulum/issues/40/comments","events_url":"https://api.github.com/repos/sdispater/pendulum/issues/40/events","html_url":"https://github.com/sdispater/pendulum/issues/40","id":174181021,"number":40,"title":"Pendulum==0.5.4 on ArchLinux timezone broken","user":{"login":"Edke","id":115118,"avatar_url":"https://avatars.githubusercontent.com/u/115118?v=3","gravatar_id":"","url":"https://api.github.com/users/Edke","html_url":"https://github.com/Edke","followers_url":"https://api.github.com/users/Edke/followers","following_url":"https://api.github.com/users/Edke/following{/other_user}","gists_url":"https://api.github.com/users/Edke/gists{/gist_id}","starred_url":"https://api.github.com/users/Edke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Edke/subscriptions","organizations_url":"https://api.github.com/users/Edke/orgs","repos_url":"https://api.github.com/users/Edke/repos","events_url":"https://api.github.com/users/Edke/events{/privacy}","received_events_url":"https://api.github.com/users/Edke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-31T04:18:35Z","updated_at":"2016-08-31T08:14:09Z","closed_at":null,"body":"- python 3.5.2\r\n- pendulum 0.5.2\r\n\r\n```python\r\nimport pendulum\r\npendulum.now()\r\n\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/pendulum.py\", line 274, in now\r\n    return cls.instance(dt, tz)\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/pendulum.py\", line 205, in instance\r\n    tzinfo=tz\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/pendulum.py\", line 180, in __init__\r\n    self._tz = self._safe_create_datetime_zone(tzinfo)\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/pendulum.py\", line 111, in _safe_create_datetime_zone\r\n    return cls._local_timezone()\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/pendulum.py\", line 130, in _local_timezone\r\n    return local_timezone()\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/__init__.py\", line 25, in local_timezone\r\n    return LocalTimezone.get()\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/local_timezone.py\", line 25, in get\r\n    name = cls.get_local_tz_name()\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/local_timezone.py\", line 60, in get_local_tz_name\r\n    return getattr(cls, 'get_tz_name_for_{}'.format(os))()\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/local_timezone.py\", line 157, in get_tz_name_for_unix\r\n    return Timezone.load(tzpath)\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/timezone.py\", line 50, in load\r\n    default_transition_type) = Loader.load(name)\r\n  File \"/usr/lib/python3.5/site-packages/pendulum/tz/loader.py\", line 36, in load\r\n    with pytz.open_resource(name) as f:\r\n  File \"/usr/lib/python3.5/site-packages/pytz-2016.6.1-py3.5.egg/pytz/__init__.py\", line 96, in open_resource\r\n  File \"/usr/lib/python3.5/site-packages/pkg_resources/__init__.py\", line 1208, in resource_stream\r\n    self, resource_name\r\n  File \"/usr/lib/python3.5/site-packages/pkg_resources/__init__.py\", line 1486, in get_resource_stream\r\n    return io.BytesIO(self.get_resource_string(manager, resource_name))\r\n  File \"/usr/lib/python3.5/site-packages/pkg_resources/__init__.py\", line 1489, in get_resource_string\r\n    return self._get(self._fn(self.module_path, resource_name))\r\n  File \"/usr/lib/python3.5/site-packages/pkg_resources/__init__.py\", line 1562, in _get\r\n    return self.loader.get_data(path)\r\nOSError: [Errno 0] Error: 'pytz/zoneinfo/usr/share/zoneinfo/Europe/Bratislava'\r\n```\r\nAfter reverting back to 0.5.2 it works as expected:\r\n\r\n```python\r\nimport pendulum\r\npendulum.now()\r\n<Pendulum [2016-08-31T06:17:32.144487+02:00]>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sdispater/pendulum/issues/comments/243691485","html_url":"https://github.com/sdispater/pendulum/issues/40#issuecomment-243691485","issue_url":"https://api.github.com/repos/sdispater/pendulum/issues/40","id":243691485,"user":{"login":"Edke","id":115118,"avatar_url":"https://avatars.githubusercontent.com/u/115118?v=3","gravatar_id":"","url":"https://api.github.com/users/Edke","html_url":"https://github.com/Edke","followers_url":"https://api.github.com/users/Edke/followers","following_url":"https://api.github.com/users/Edke/following{/other_user}","gists_url":"https://api.github.com/users/Edke/gists{/gist_id}","starred_url":"https://api.github.com/users/Edke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Edke/subscriptions","organizations_url":"https://api.github.com/users/Edke/orgs","repos_url":"https://api.github.com/users/Edke/repos","events_url":"https://api.github.com/users/Edke/events{/privacy}","received_events_url":"https://api.github.com/users/Edke/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T08:14:09Z","updated_at":"2016-08-31T08:14:09Z","body":"Great, no problem, we switched to 0.5.2 till resolved, thank you."}}
{"actor":{"display_login":"Edke"}}