Vundle.vim: Error detected while processing function vundle#installer#new

Created on 28 Jan 2016  路  25Comments  路  Source: VundleVim/Vundle.vim

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.

Most helpful comment

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.

All 25 comments

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

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

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

are you using root user?

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

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

error message after enter :PluginInstall:

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

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

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

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.

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)

Thank you @Fandekasp that fixed it for me!

@nscott32 still having this issue?

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

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

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

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

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

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.

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

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

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

I had this error and was able to get this to work. First I added the set shell=/bin/bash and that did not help.
I then removed the " comments (and trailing blank space) and then no errors and :BundleInstall worked.

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.

Thank you!

Was this page helpful?
0 / 5 - 0 ratings