{"action":"created","issue":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/902","labels_url":"https://api.github.com/repos/scrooloose/syntastic/issues/902/labels{/name}","comments_url":"https://api.github.com/repos/scrooloose/syntastic/issues/902/comments","events_url":"https://api.github.com/repos/scrooloose/syntastic/issues/902/events","html_url":"https://github.com/scrooloose/syntastic/issues/902","id":24034508,"number":902,"title":"Syntastic fails with pylint on OS X 10.9","user":{"login":"shkodrang","id":1761110,"avatar_url":"https://avatars.githubusercontent.com/u/1761110?v=3","gravatar_id":"","url":"https://api.github.com/users/shkodrang","html_url":"https://github.com/shkodrang","followers_url":"https://api.github.com/users/shkodrang/followers","following_url":"https://api.github.com/users/shkodrang/following{/other_user}","gists_url":"https://api.github.com/users/shkodrang/gists{/gist_id}","starred_url":"https://api.github.com/users/shkodrang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shkodrang/subscriptions","organizations_url":"https://api.github.com/users/shkodrang/orgs","repos_url":"https://api.github.com/users/shkodrang/repos","events_url":"https://api.github.com/users/shkodrang/events{/privacy}","received_events_url":"https://api.github.com/users/shkodrang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-12-10T13:24:12Z","updated_at":"2015-02-06T04:40:55Z","closed_at":"2013-12-11T10:57:55Z","body":"Pylint seems to crash when Syntastic attempts to invoke it to check a python source file.\r\n\r\nWith the following in .vimrc:\r\n\r\nlet g:syntastic_python_checkers=['pylint']\r\nlet g:syntastic_always_populate_loc_list=1\r\nlet g:syntastic_debug=1\r\n\r\nI am getting the following debug output when saving Python files:\r\n\r\nsyntastic: 1.561945: &shell = '/bin/bash', &shellcmdflag = '-c', &shellxquote = '', &shellredir = '>%s 2>&1', &shellslash = 0\r\nsyntastic: 1.562269: g:syntastic_aggregate_errors = 0\r\nsyntastic: 1.821157: CacheErrors: Invoking checker: pylint\r\nsyntastic: 1.821678: SyntasticMake: called with options: {'postprocess': ['sort'], 'errorformat': '%A%f:%l: %m,%A%f:(%l): %m,%-Z%p^%.%#,%-G%.%#', 'makeprg': 'pylint --msg-template=\"{path}:{line}: [{msg_id\r\n}] {msg}\" -r n backup_project.py'}\r\nsyntastic: 2.133238: getLocList: checker python/pylint returned 1\r\n\r\nRunning pylint on the Python source file works just fine and produces the expected output.\r\n\r\nIt would be amazing if someone could look into this, since my Vim-scripting foo is pretty much nonexistent and the only other viable option - python-mode - segfaults on me on some Python files, and pyflakes is deprecated."},"comment":{"url":"https://api.github.com/repos/scrooloose/syntastic/issues/comments/73182070","html_url":"https://github.com/scrooloose/syntastic/issues/902#issuecomment-73182070","issue_url":"https://api.github.com/repos/scrooloose/syntastic/issues/902","id":73182070,"user":{"login":"lcd047","id":1281736,"avatar_url":"https://avatars.githubusercontent.com/u/1281736?v=3","gravatar_id":"","url":"https://api.github.com/users/lcd047","html_url":"https://github.com/lcd047","followers_url":"https://api.github.com/users/lcd047/followers","following_url":"https://api.github.com/users/lcd047/following{/other_user}","gists_url":"https://api.github.com/users/lcd047/gists{/gist_id}","starred_url":"https://api.github.com/users/lcd047/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcd047/subscriptions","organizations_url":"https://api.github.com/users/lcd047/orgs","repos_url":"https://api.github.com/users/lcd047/repos","events_url":"https://api.github.com/users/lcd047/events{/privacy}","received_events_url":"https://api.github.com/users/lcd047/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T04:40:55Z","updated_at":"2015-02-06T04:40:55Z","body":"@sengaya:  Sorry, but no.  This would break valid locale configurations on other systems.  Write a wrapper if you must, and point `g:syntastic_python_pylint_exec` to it.  Perhaps something like this:\r\n```sh\r\n#! /bin/sh\r\nunset LC_CTYPE\r\nexec pylint \"$@\"\r\n```"}}