{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/192","repository_url":"https://api.github.com/repos/AtomLinter/linter-pylint","labels_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/192/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/192/events","html_url":"https://github.com/AtomLinter/linter-pylint/issues/192","id":184887789,"number":192,"title":"cannot import name warn","user":{"login":"morenoh149","id":587438,"avatar_url":"https://avatars.githubusercontent.com/u/587438?v=3","gravatar_id":"","url":"https://api.github.com/users/morenoh149","html_url":"https://github.com/morenoh149","followers_url":"https://api.github.com/users/morenoh149/followers","following_url":"https://api.github.com/users/morenoh149/following{/other_user}","gists_url":"https://api.github.com/users/morenoh149/gists{/gist_id}","starred_url":"https://api.github.com/users/morenoh149/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morenoh149/subscriptions","organizations_url":"https://api.github.com/users/morenoh149/orgs","repos_url":"https://api.github.com/users/morenoh149/repos","events_url":"https://api.github.com/users/morenoh149/events{/privacy}","received_events_url":"https://api.github.com/users/morenoh149/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-24T16:18:48Z","updated_at":"2016-10-24T18:45:00Z","closed_at":null,"body":"I get the following error\r\n```\r\nError: Traceback (most recent call last): File \"/Users/harry/programming/pharmakon/env/pharmakon/bin/pylint\", line 11, in\r\nsys.exit(run_pylint()) File \"/Users/harry/programming/pharmakon/env/pharmakon/lib/python2.7/site-packages/pylint/init.py\", line 22, in\r\nrun_pylint from pylint.lint import Run File \"/Users/harry/programming/pharmakon/env/pharmakon/lib/python2.7/site-packages/pylint/lint.py\",\r\nline 31, in import contextlib File \"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py\", line 5, in\r\nfrom warnings import warn ImportError: cannot import name warn\r\n```\r\npylint is available on my path as I can execute it in the terminal just fine. What might be the problem?"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/comments/255829250","html_url":"https://github.com/AtomLinter/linter-pylint/issues/192#issuecomment-255829250","issue_url":"https://api.github.com/repos/AtomLinter/linter-pylint/issues/192","id":255829250,"user":{"login":"Arcanemagus","id":427137,"avatar_url":"https://avatars.githubusercontent.com/u/427137?v=3","gravatar_id":"","url":"https://api.github.com/users/Arcanemagus","html_url":"https://github.com/Arcanemagus","followers_url":"https://api.github.com/users/Arcanemagus/followers","following_url":"https://api.github.com/users/Arcanemagus/following{/other_user}","gists_url":"https://api.github.com/users/Arcanemagus/gists{/gist_id}","starred_url":"https://api.github.com/users/Arcanemagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arcanemagus/subscriptions","organizations_url":"https://api.github.com/users/Arcanemagus/orgs","repos_url":"https://api.github.com/users/Arcanemagus/repos","events_url":"https://api.github.com/users/Arcanemagus/events{/privacy}","received_events_url":"https://api.github.com/users/Arcanemagus/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T18:45:00Z","updated_at":"2016-10-24T18:45:00Z","body":"That error isn't anything that _could_ be thrown from this package or Atom, it _looks_ like it's being forwarded on from `pylint` itself.\r\n\r\nFrom looking at the code, it seems this package attempts to workaround the common issue with most of the Python related linters in that they don't support `stdin` input, so currently it is creating a temporary file  and linting that. This causes major issues with imports which _might_ be what you are hitting here. Are you able to provide the file/project you are seeing this on to attempt to reproduce and verify this guess?"}}
{"actor":{"display_login":"Arcanemagus"}}