fsharp / zarchive-vim-fsharp

F# bindings for vim
MIT License
143 stars 34 forks source link

python error message #41

Closed dcmwong closed 8 years ago

dcmwong commented 8 years ago

I'm on a mac running ubuntu 14.04 on a VM.

Installed vim-fsharp through vundle, opened a fsx file and I get this error:

Error detected while processing /home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharp.vim: line 65: Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in *bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.__target(_self.__args, _self.kwargs) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 108, in work parsed = json.loads(data) File "/usr/lib/python2.7/json/init**.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe

kjnilsson commented 8 years ago

I don't use vundle myself but I've heard similar reports before. could you try to follow the pathogen install instructions (run make manually)?

On Fri, 11 Mar 2016 at 13:52 dcmwong notifications@github.com wrote:

I'm on a mac running ubuntu 14.04 on a VM.

Installed vim-fsharp through vundle, opened a fsx file and I get this error:

Error detected while processing /home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharp.vim: line 65: Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 810, in

_bootstrapinner self.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.target(self.args, *self.kwargs) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 108, in work parsed = json.loads(data) File "/usr/lib/python2.7/json/init.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe Traceback (most recent call last): File "", line 25, in File "", line 22, in get_path File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 149, in get_paths return self._getpaths.send("compilerlocation\n") File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 43, in send self._write(command) File "/home/vagrant/.vim/bundle/vim-fsharp/ftplugin/fsharpvim.py", line 28, in _write self.proc.stdin.write(txt) IOError: [Errno 32] Broken pipe

— Reply to this email directly or view it on GitHub https://github.com/fsharp/vim-fsharp/issues/41.

elliottt commented 8 years ago

I had the same problem, and running make manually fixed it for me. Thanks!

dcmwong commented 8 years ago

Sorry for the late reply. Yes running make manually fixed it.