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

Error detected while processing function vundle#installer#new #690

Closed
nscott32 opened this issue Jan 28, 2016 · 23 comments

Comments

Projects
None yet
@nscott32
Copy link

commented Jan 28, 2016

Hello,

after reading several issues about similar problems I couldn't get rid off errors, even with minimal settings recommended in another issue. I have move vim folder and vimrc to other places and running this vimrc :

set nocompatible
set shell=/bin/bash
syntax on
filetype off
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
call vundle#end()
filetype plugin indent on

After calling :PluginInstall or :BundleUpdate

Error detected while processing function vundle#installer#new:
line    6:
E121: Undefined variable: g:vundle#bundles
E116: Invalid arguments for function copy(g:vundle#bundles), 'index(a:000, v:val
.name) > -1')
E116: Invalid arguments for function filter(copy(g:vundle#bundles), 'index(a:000
, v:val.name) > -1')
E15: Invalid expression: filter(copy(g:vundle#bundles), 'index(a:000, v:val.name
) > -1')

Problem has been solve in some issues adding setting bash as vim's shell, but that's not the case for me.

@nscott32

This comment has been minimized.

Copy link
Author

commented Jan 29, 2016

I still get the same error. I run vim on updated Archlinux using zsh in termite.

@wsdjeg

This comment has been minimized.

Copy link
Contributor

commented Jan 29, 2016

how about this command

mv ~/.vimrc ~/.vimrc_back
mv ~/.vim ~/.vim_back
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
cp ~/.vim/bundle/Vundle.vim/test/minirc.vim ~/.vimrc
@nscott32

This comment has been minimized.

Copy link
Author

commented Jan 29, 2016

Sorry, it doesn't solve the problem, after PluginUpdate or BundleUpdate error is still the same, even after set shell=/bin/bash.

@wsdjeg

This comment has been minimized.

Copy link
Contributor

commented Jan 30, 2016

are you using root user?

@nscott32

This comment has been minimized.

Copy link
Author

commented Jan 30, 2016

No I use another user and I need sudo for root's commands.

@VeryCB

This comment has been minimized.

Copy link

commented Feb 1, 2016

I have the same issue in Ubuntu precise (12.04.2 LTS)

@VeryCB

This comment has been minimized.

Copy link

commented Feb 1, 2016

error message after enter :PluginInstall:

Error detected while processing function vundle#installer#new:
line   13:
No bundles were selected for operation
@VeryCB

This comment has been minimized.

Copy link

commented Feb 1, 2016

My issue is solved after I changed double quote " to single quote ' around plugin names.

@nscott32

This comment has been minimized.

Copy link
Author

commented Feb 4, 2016

Thanks but as you can see I use single quote in my vimrc.

@Fandekasp

This comment has been minimized.

Copy link

commented Mar 4, 2016

I got the same issue, and the reason was that I had installed the package "vundle" from aur, which is outdated. Removing it then installing "aur/vundle-git" fixed the issue.

@nonemaw

This comment has been minimized.

Copy link

commented Mar 18, 2016

I have the same error when I open python files under zsh via vim, and I fixed it after I update the "vim" alias in .zshrc (I changed the vim directory, therefore "vim" alias is used under .bashrc, and I forgot writing it into .zshrc)

@itsamoreh

This comment has been minimized.

Copy link

commented Apr 1, 2016

Thank you @Fandekasp that fixed it for me!

@ryanoasis

This comment has been minimized.

Copy link
Member

commented Apr 20, 2016

@nscott32 still having this issue?

@klas-genestack

This comment has been minimized.

Copy link

commented Jun 8, 2016

I'm still having this issue on MacOS X with up-to-date Vundle repo.

The only thing that comes to mind about what could cause something like this is that I have NeoVim installed as well, and they use the same config and vundle dirs.

Fixed for me by changing old set rtp+=~/.vim/bundle/vundle to new set rtp+=~/.vim/bundle/Vundle.vim

@pmalek

This comment has been minimized.

Copy link

commented Jun 22, 2016

I am still having this issue on Ubuntu 14.04 with zsh and all plugins listed with single quotes in ~/.vimrc and with properly set

set rtp+=~/.vim/bundle/Vundle.vim
@pmalek

This comment has been minimized.

Copy link

commented Jun 28, 2016

@nfischer Sure thing. Although now (after update or some magical intervention) the error went away.

@barnaba

This comment has been minimized.

Copy link

commented Sep 1, 2016

Had a same error in fish 2.2.0, setting shell=/bin/bash fixed it on ubuntu 16.04

Edit: well, it was a different error after all, but might help someone nonetheless.

The specifics if anyone cares, but I guess fish is just not supported:

Error detected while processing function vundle#installer#new[24]..<SNR>86_process[11]..vundle#installer#run[8]..vundle#installer#install[12]..<SNR>86_sync[6]..<SNR>86_make_sync_command[4]..<SNR>86_get_current_origin_url[3]..<SNR>86_system
@michft

This comment has been minimized.

Copy link

commented Sep 13, 2016

Might be spf13 specific.

spf13/spf13-vim#738

@ryanoasis

This comment has been minimized.

Copy link
Member

commented Oct 21, 2016

Closing for now. Seems like everyone with issues posted here have come to their own solutions. Please let it be known if otherwise.

@ryanoasis ryanoasis closed this Oct 21, 2016

@vikeri

This comment has been minimized.

Copy link

commented Mar 23, 2017

The overwhelming amount of 👍 for @Dorian's answer makes me think that that should be added to the install README as a not for fish shell users.

@ryanoasis

This comment has been minimized.

Copy link
Member

commented Mar 26, 2017

I will attempt to fast-track some of these issue tomorrow. Thanks everyone

shippy added a commit to shippy/Vundle.vim that referenced this issue Apr 12, 2017

shippy added a commit to shippy/Vundle.vim that referenced this issue Jun 2, 2018

@oswinfox

This comment has been minimized.

Copy link

commented Sep 4, 2018

for me :set bash=/bin/bash solved the issue

@pablojaviersosa

This comment has been minimized.

Copy link

commented Jun 21, 2019

for me :set bash=/bin/bash solved the issue
:set shell=/bin/bash
Esto me solucionó el problema, o lo que es lo mismo
set shell=/bin/bash en ~/.vimrc
Saludos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.