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

Already on GitHub? Sign in to your account

Error .vimrc.bundles in windows xp #213

Closed
bennybobw opened this Issue Nov 12, 2012 · 6 comments

Comments

Projects
None yet
2 participants

I'm trying to install on Windows XP and I'm getting the following error when I run spf13-vim-windows-xp-install.cmd

C:\Documents and Settings\ben\My Documents\Downloads\spf13>call vim -u " $BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall Error detected while processing C:\Documents and Settings\ben\.spf13-vim-3\.vimrc.bundles: line 36: E107: Missing braces: vundle#rc() line 43: E492: Not an editor command: Bundle 'gmarik/vundle' line 44: E492: Not an editor command: Bundle 'MarcWeber/vim-addon-mw-utils' line 45: E492: Not an editor command: Bundle 'tomtom/tlib_vim' line 67: E15: Invalid expression: ['general', 'neocomplcache', 'programming', 'php', 'ruby', 'python', 'javascript', 'html', 'misc', 'scala'] E15: Invalid expression: ['general', 'neocomplcache', 'programming', 'php', 'ruby', 'python', 'javascript', 'html', 'misc', 'scala'] line 76: E121: Undefined variable: g:spf13_bundle_groups E116: Invalid arguments for function count(g:spf13_bundle_groups, 'general')

Owner

spf13 commented Nov 13, 2012

Do you have git installed?

Steve Francia
@spf13

On Monday, November 12, 2012 at 4:15 PM, bennybobw wrote:

I'm trying to install on Windows XP and I'm getting the following error when I run spf13-vim-windows-xp-install.cmd
C:\Documents and Settings\ben\My Documents\Downloads\spf13>call vim -u "
$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall
Error detected while processing C:\Documents and Settings\ben.spf13-vim-3.vimrc.bundles:
line 36: E107: Missing braces: vundle#rc()
line 43: E492: Not an editor command: Bundle 'gmarik/vundle'
line 44: E492: Not an editor command: Bundle 'MarcWeber/vim-addon-mw-utils'
line 45: E492: Not an editor command: Bundle 'tomtom/tlib_vim'
line 67: E15: Invalid expression: ['general', 'neocomplcache', 'programming', 'php', 'ruby', 'python', 'javascript', 'html', 'misc', 'scala']
E15: Invalid expression: ['general', 'neocomplcache', 'programming', 'php', 'ruby', 'python', 'javascript', 'html', 'misc', 'scala']
line 76: E121: Undefined variable: g:spf13_bundle_groups
E116: Invalid arguments for function count(g:spf13_bundle_groups, 'general')


Reply to this email directly or view it on GitHub (#213).

yeah, git --version gives me:
git version 1.7.11.msysgit.1

Another clue is that it's copying two directories "and" and "Settings" into the directory where I run the script from, as though it's not escaping the spaces correctly.

Owner

spf13 commented Nov 13, 2012

For some reason vundle didn't install properly. Usually it's because git isn't installed. Not sure why it didn't work. I'd try reinstalling or manually installing vundle.

Steve Francia
@spf13

On Monday, November 12, 2012 at 7:48 PM, bennybobw wrote:

yeah, git --version gives me:
git version 1.7.11.msysgit.1


Reply to this email directly or view it on GitHub (#213 (comment)).

Hm. So it was choking on this line in the normal command prompt
vim -u "$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall

But when I ran it from git bash it worked (without $BASE_DIR). Does the whole thing have to be run from git bash? Maybe that was my issue. Or it could be that when I installed git I had the "Use git bash only" setting checked under the path settings.

Thanks for your help. Love your work on this. Hopefully this issue will help others if they run into a similar issue.

Owner

spf13 commented Nov 14, 2012

It's probably because you had 'use git bash only' enabled. The script
requires git be in the path.

Steve Francia
http://stevefrancia.com
http://spf13.com
http://twitter.com/spf13

On Tue, Nov 13, 2012 at 2:28 PM, bennybobw notifications@github.com wrote:

Hm. So it was choking on this line in the normal command prompt

vim -u "$BASE_DIR/.vimrc.bundles" - +BundleInstall! +BundleClean +qall

But when I ran it from git bash it worked (without $BASE_DIR). Does the
whole thing have to be run from git bash? Maybe that was my issue. Or it
could be that when I installed git I had the "Use git bash only" setting
checked under the path settings.


Reply to this email directly or view it on GitHubhttps://github.com/spf13/spf13-vim/issues/213#issuecomment-10339354.

Owner

spf13 commented Nov 21, 2012

Nevermind, I fixed it.

010d213

@spf13 spf13 closed this Nov 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment