{"action":"opened","issue":{"url":"https://api.github.com/repos/DamnWidget/anaconda/issues/596","repository_url":"https://api.github.com/repos/DamnWidget/anaconda","labels_url":"https://api.github.com/repos/DamnWidget/anaconda/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/DamnWidget/anaconda/issues/596/comments","events_url":"https://api.github.com/repos/DamnWidget/anaconda/issues/596/events","html_url":"https://github.com/DamnWidget/anaconda/issues/596","id":193080665,"number":596,"title":"Enum module backport out of date","user":{"login":"Elliot2560","id":11139113,"avatar_url":"https://avatars.githubusercontent.com/u/11139113?v=3","gravatar_id":"","url":"https://api.github.com/users/Elliot2560","html_url":"https://github.com/Elliot2560","followers_url":"https://api.github.com/users/Elliot2560/followers","following_url":"https://api.github.com/users/Elliot2560/following{/other_user}","gists_url":"https://api.github.com/users/Elliot2560/gists{/gist_id}","starred_url":"https://api.github.com/users/Elliot2560/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elliot2560/subscriptions","organizations_url":"https://api.github.com/users/Elliot2560/orgs","repos_url":"https://api.github.com/users/Elliot2560/repos","events_url":"https://api.github.com/users/Elliot2560/events{/privacy}","received_events_url":"https://api.github.com/users/Elliot2560/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-02T10:19:12Z","updated_at":"2016-12-02T10:19:12Z","closed_at":null,"body":"The `enum` module included in the `anaconda_lib` directory is from an earlier version of python 3.4, and is out of date when used with later versions of python. This causes issue because the `socket` module (in 3.5.2) calls `_convert` as a class method from `IntEnum`, which was not defined in earlier versions. This causes the import of `socket` in `jsonserver.py` to fail, crashes the server, and then triggers an infinite sequence of attempts to start jsonserver.\r\n\r\n## Steps to Reproduce\r\nThis error happens at start up. \r\n\r\nThe symptoms are similar to some previous issues (such as [#558](https://github.com/DamnWidget/anaconda/issues/558), [#527](https://github.com/DamnWidget/anaconda/issues/527), [#514](https://github.com/DamnWidget/anaconda/issues/514), and [#575](https://github.com/DamnWidget/anaconda/issues/575)), but the cause seems to be different, as those issues don't seem to have been produced under python 3.5+.\r\n\r\nIt is not possible, however, to work around this by copying/symlinking the new version of `enum` to the `anaconda_lib` directory, because at startup the plugins are imported in the embedded python 3.3 environment of sublime text, so the 3.5 version of `enum` will trigger an `ImportError`. \r\n\r\n## ST3, Anaconda and OS versions\r\nI'm running ST3 build 3126, on 64bit Arch Linux, with Anaconda up to date, at 2.1.10."}}
{"actor":{"display_login":"Elliot2560"}}