Syntastic: Syntastic Error When Opening Vim

Created on 28 Apr 2017  路  5Comments  路  Source: vim-syntastic/syntastic

Running into the following issue whenever I start vim:

syntastic: error: exception running system('uname'): Vim(let):E484: Can't open file /tmp/vDxlRus/0
Error detected while processing function syntastic#util#system:
line   19:
E121: Undefined variable: g:_SYNTASTIC_DEBUG_CHECKERS
E116: Invalid arguments for function syntastic#log#debug

System:
3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64

Vim 7.4

I had just recently installed Syntastic via Pathogen. Let me know what other information I can provide to help!

Most helpful comment

Solved - shell variable was set to fish. Apparently fish doesn't work well with Syntastic. Fix was to set shell to bash.
:set shell=/usr/bin/bash

All 5 comments

Your system() function in Vim is broken. It's up to you to find out how or why; that has nothing to do with syntastic. My first guess would be that you messed up some of the variables affecting shell running (shell, shellcmdflag, shellquote etc.).

Ok, thank you!

Solved - shell variable was set to fish. Apparently fish doesn't work well with Syntastic. Fix was to set shell to bash.
:set shell=/usr/bin/bash

Believe it or not, this is documented: :h syntastic-fish.

Thanks. In the future I be sure to read through documentation before I post an issue.

Was this page helpful?
0 / 5 - 0 ratings