fsharp / zarchive-vim-fsharp

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

Error after install when opening .fs file #108

Closed jbpratt closed 5 years ago

jbpratt commented 5 years ago

I may have missed a step during install through Vim-Plug, but I have tried twice now as well as ran the bash script. Any advice would be appreciated :smile:

Error detected while processing /home/jbpratt/.vim/plugged/vim-fsharp/ftplugin/fsharp.vim:
line   81:
Traceback (most recent call last):
  File "/home/jbpratt/.vim/plugged/vim-fsharp/ftplugin/fsi.py", line 26, in __init__
    self.p = Popen(command, **opts)
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'fsharpi': 'fsharpi'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "<string>", line 28, in <module>
  File "/home/jbpratt/.vim/plugged/vim-fsharp/ftplugin/fsi.py", line 28, in __init__
    raise Exception ('Error executing fsi.  g:fsharp_interactive_bin="' + fsi_path + '" ' + str(e))
Exception: Error executing fsi.  g:fsharp_interactive_bin="fsharpi" [Errno 2] No such file or directory: 'fsharpi': 'fsharpi'
jbpratt commented 5 years ago

Got it, running on Arch. Simply had to rebuild FSharp.