{"action":"created","issue":{"url":"https://api.github.com/repos/celery/celery/issues/3457","repository_url":"https://api.github.com/repos/celery/celery","labels_url":"https://api.github.com/repos/celery/celery/issues/3457/labels{/name}","comments_url":"https://api.github.com/repos/celery/celery/issues/3457/comments","events_url":"https://api.github.com/repos/celery/celery/issues/3457/events","html_url":"https://github.com/celery/celery/issues/3457","id":178439462,"number":3457,"title":"AttributeError(\"'bytes' object has no attribute 'encode'\",)","user":{"login":"astronouth7303","id":401438,"avatar_url":"https://avatars.githubusercontent.com/u/401438?v=3","gravatar_id":"","url":"https://api.github.com/users/astronouth7303","html_url":"https://github.com/astronouth7303","followers_url":"https://api.github.com/users/astronouth7303/followers","following_url":"https://api.github.com/users/astronouth7303/following{/other_user}","gists_url":"https://api.github.com/users/astronouth7303/gists{/gist_id}","starred_url":"https://api.github.com/users/astronouth7303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astronouth7303/subscriptions","organizations_url":"https://api.github.com/users/astronouth7303/orgs","repos_url":"https://api.github.com/users/astronouth7303/repos","events_url":"https://api.github.com/users/astronouth7303/events{/privacy}","received_events_url":"https://api.github.com/users/astronouth7303/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/celery/celery/labels/DEV-VERSION","name":"DEV-VERSION","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-21T19:22:46Z","updated_at":"2016-09-29T19:16:53Z","closed_at":null,"body":"Running Celery 4.0.0rc4 on Python 3.4.3 on AWS EC2:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/kombu/utils/objects.py\", line 40, in __get__\r\n    return obj.__dict__[self.__name__]\r\nKeyError: 'scheduler'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python3.4/shelve.py\", line 111, in __getitem__\r\n    value = self.cache[key]\r\nKeyError: b'entries'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/apps/beat.py\", line 107, in start_scheduler\r\n    service.start()\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 522, in start\r\n    humanize_seconds(self.scheduler.max_interval))\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/kombu/utils/objects.py\", line 42, in __get__\r\n    value = obj.__dict__[self.__name__] = self.__get(obj)\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 566, in scheduler\r\n    return self.get_scheduler()\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 561, in get_scheduler\r\n    lazy=lazy,\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 406, in __init__\r\n    Scheduler.__init__(self, *args, **kwargs)\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 205, in __init__\r\n    self.setup_schedule()\r\n  File \"/opt/python/run/venv/local/lib/python3.4/site-packages/celery/beat.py\", line 436, in setup_schedule\r\n    self._store[b'entries']\r\n  File \"/usr/lib64/python3.4/shelve.py\", line 113, in __getitem__\r\n    f = BytesIO(self.dict[key.encode(self.keyencoding)])\r\nAttributeError: 'bytes' object has no attribute 'encode'\r\n```"},"comment":{"url":"https://api.github.com/repos/celery/celery/issues/comments/250564117","html_url":"https://github.com/celery/celery/issues/3457#issuecomment-250564117","issue_url":"https://api.github.com/repos/celery/celery/issues/3457","id":250564117,"user":{"login":"mjmonroe","id":9063378,"avatar_url":"https://avatars.githubusercontent.com/u/9063378?v=3","gravatar_id":"","url":"https://api.github.com/users/mjmonroe","html_url":"https://github.com/mjmonroe","followers_url":"https://api.github.com/users/mjmonroe/followers","following_url":"https://api.github.com/users/mjmonroe/following{/other_user}","gists_url":"https://api.github.com/users/mjmonroe/gists{/gist_id}","starred_url":"https://api.github.com/users/mjmonroe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjmonroe/subscriptions","organizations_url":"https://api.github.com/users/mjmonroe/orgs","repos_url":"https://api.github.com/users/mjmonroe/repos","events_url":"https://api.github.com/users/mjmonroe/events{/privacy}","received_events_url":"https://api.github.com/users/mjmonroe/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T19:16:53Z","updated_at":"2016-09-29T19:16:53Z","body":"It appears to be fixed in the https://github.com/celery/celery/commit/d87f9db7371838369e7ff6cbb400d29f9220a789 commit.\r\n"}}
{"actor":{"display_login":"mjmonroe"}}