Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on Mac OS 10.12.5 #55

Open
coin8086 opened this issue Sep 15, 2017 · 2 comments
Open

Errors on Mac OS 10.12.5 #55

coin8086 opened this issue Sep 15, 2017 · 2 comments
Assignees

Comments

@coin8086
Copy link

coin8086 commented Sep 15, 2017

When doing ":so %" I encountered the following errors:

Vimball Archive
extracted <README.md>: 383 lines
Error detected while processing function vimball#Vimball:
line  146:
"~/.vim/README.md" E212: Can't open file for writing
wrote /Users/robert/.vim/README.md
extracted <RELEASE.md>: 16 lines
"~/.vim/RELEASE.md" E212: Can't open file for writing
wrote /Users/robert/.vim/RELEASE.md
extracted <doc/localvimrc.txt>: 490 lines
line  113:
E739: Cannot create directory: /Users/robert/.vim/doc
line  146:
"~/.vim/doc/localvimrc.txt" E212: Can't open file for writing
wrote /Users/robert/.vim/doc/localvimrc.txt
extracted <plugin/localvimrc.vim>: 782 lines
line  113:
E739: Cannot create directory: /Users/robert/.vim/plugin
line  146:
"~/.vim/plugin/localvimrc.vim" E212: Can't open file for writing
wrote /Users/robert/.vim/plugin/localvimrc.vim
line  174:
E150: Not a directory: /Users/robert/.vim/doc
did helptags
Press ENTER or type command to continue

I'm using version 2.5.0 by https://vim.sourceforge.io/scripts/download_script.php?src_id=25017 And my VIM version is 7.4.8056. I do have a .vim directory under /Users/robert, but it's empty.

@embear
Copy link
Owner

embear commented Sep 15, 2017

This seems to be a problem with the vimball plugin used for installation and/or your setting of runtimepath. Vimball uses the first writable directory in runtimepath to place the plugin files. It seems in your case /Users/robert/.vim/ is first element in runtimepath, is a directory, is reported to be writeable but in fact is not. Could you please check your runtimepath (:echo &runtimepath) and whats the status of the first element.

Additionally you can open localvimrc.vmb in vim and start installation manually (:UseVimball /your/plugin/directory).

@embear embear self-assigned this Sep 15, 2017
@coin8086
Copy link
Author

@embear Thanks for your information. I checked my runtimepath as you said and got this:

/Users/robert/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim74,/usr/share/vim/vimfiles/after,/Users/robert/.vim/after

I'm not a VIM expert so it would be nice to have it installed automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants