Vundle.vim: PluginSearch Error

Created on 10 May 2015  路  22Comments  路  Source: VundleVim/Vundle.vim

Most helpful comment

The root of this problem is that PluginSearch queries http://vim-scripts.org, and this site no longer exists. This is because most vim plugin development and distribution occurs via github/gitlab now.

I recommend searching for plugins directly, or searching for plugins on github. This functionality should be considered dead now.

or use curl or wget to get the file(either is ok, pick one as you like), like:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json

or

wget https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json -v -O ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

All 22 comments

+1

UPD: Seems like a connection issue, because after several tries it worked

The same issue while trying to search. Can't even catch text log - it disappears and empty search window showed:
vundle_search

I came to the solution, simply remove the .vundle folder from your .vim directory and use :PluginInstall! to update/reinstall the vundle plugin. Then use :VundleSearch or :PluginSearch again and you shall see the result come out smoothly.

recap steps as follow:

  1. remove ~/.vim/bundle/.vundle;
  2. open vim and run :PluginInstall! or :VundleInstall!, make sure you add !;
  3. run :VundleSearch or :PluginSearch again, and you'll be OK.

thks for this helpful issue posted by @phillipwei , related issues are #535 and #602

update at 20150924

I dived into the vim script and found that the reason is simple, because the command :PluginSearch did just about one thing, use curl to download the json file representing the vim plugins in vim-scripts.org, and so the solution is very simple. Just use curl to download the file from vim-scripts.org to the folder ~/.vim/bunlde/.vundle/ and save as script-names.vim-scripts.org.json.

The main logic is as follows(located in ~/.vim/bundle/Vundle.vim/autoload/vundle/scripts.vim:

image

So the solution is simple:

  1. just remove the file ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json and try :PluginSearch again.

or use curl or wget to get the file(either is ok, pick one as you like), like:

  • curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json http://vim-scripts.org/api/scripts.json

or

  • wget http://vim-scripts.org/api/scripts.json -v -O ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

Recommend use the second solution(ie. use curl or wget to download the file)

I followed these steps to fix the scripts not found error...and found that the domain vim-scripts.org has expired. Is the file available anywhere else?

it works for me: i can access the website and the json file.
What am I doing wrong?

Just tried it. I was able to download the json file using wget as described above. :PluginSearch! works for me now.

@nfischer @fourlincoln10 thanks for the feedback!

Strangely this curl command that was listed above:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json http://vim-scripts.org/api/scripts.json

downloaded a 0-byte file, which caused PluginSearch to continue to fail. I had to manually open a browser to http://vim-scripts.org/api/scripts.json and save the content to ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

But now it seems to be working.

I tried every solution that is given above but I am still facing the same issue any help?

I tried every solution that is given above but I am still facing the same issue any help?

I'm also facing this issue, I wonder if you have any update??

@yungHa It looks like the site that used to serve that JSON file is no longer active. However, it looks like the JSON is simply a list of package names. I am looking into this :coffee:

The root of this problem is that PluginSearch queries http://vim-scripts.org, and this site no longer exists. This is because most vim plugin development and distribution occurs via github/gitlab now.

I recommend searching for plugins directly, or searching for plugins on github. This functionality should be considered dead now.

or use curl or wget to get the file(either is ok, pick one as you like), like:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json

or

wget https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json -v -O ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

there is no .vundle in ~/.vim/bundle instead of Vundle.vim.I change dir to ~/.vim/bundle/Vundle.vim/autoload,there is there files in it.then use "wget http://vim-scripts.org/api/scripts.json" to download this json file .it works.no errors report anymore.

@i-cooltea ..all evening trying the different fixes for this issue and none worked but i-cooltea has it spot on. The vim-scripts site no longer exists.

I deleted my current "script-names.vim-scripts.org.json" from the .vundle folder and ran:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json

PluginSearch now works a charm.

Thank you I-cooltea.

@EI5JS I had success with your method, even after deleting my .vundle and having it remade by using :PluginInstall I believe. This is a weird little glitch.

changing http://vim-scripts.org/api/scripts.json to https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json In .vim/bundle/Vundle.vim/autoload/vundle/scripts.vim fixed problem for me.

@i-cooltea ..all evening trying the different fixes for this issue and none worked but i-cooltea has it spot on. The vim-scripts site no longer exists.

I deleted my current "script-names.vim-scripts.org.json" from the .vundle folder and ran:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json

PluginSearch now works a charm.

Thank you I-cooltea.

worked for me. thanks

@i-cooltea ..all evening trying the different fixes for this issue and none worked but i-cooltea has it spot on. The vim-scripts site no longer exists.
I deleted my current "script-names.vim-scripts.org.json" from the .vundle folder and ran:
curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json
PluginSearch now works a charm.
Thank you I-cooltea.

worked for me. thanks

Gracie!

The root of this problem is that PluginSearch queries http://vim-scripts.org, and this site no longer exists. This is because most vim plugin development and distribution occurs via github/gitlab now.

I recommend searching for plugins directly, or searching for plugins on github. This functionality should be considered dead now.

or use curl or wget to get the file(either is ok, pick one as you like), like:

curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json

or

wget https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json -v -O ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

after a lot of google search , this particular worked. I'm happy it worked but can anybody explain me how?

The root of this problem is that PluginSearch queries http://vim-scripts.org, and this site no longer exists. This is because most vim plugin development and distribution occurs via github/gitlab now.
I recommend searching for plugins directly, or searching for plugins on github. This functionality should be considered dead now.
or use curl or wget to get the file(either is ok, pick one as you like), like:
curl -v -o ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json
or
wget https://raw.githubusercontent.com/i-cooltea/resource/master/vim-api_scripts.json -v -O ~/.vim/bundle/.vundle/script-names.vim-scripts.org.json

after a lot of google search , this particular worked. I'm happy it worked but can anybody explain me how?

Well the original URL is not available anymore. The code here needs to be fixed to point to a new properly downloadable resource: https://github.com/VundleVim/Vundle.vim/blob/master/autoload/vundle/scripts.vim#L237

Such behaviour creates a lot of confusion for such new users like me. Why this is not resolved yet with so many ( working ) proposed solutions/workarounds?

Was this page helpful?
0 / 5 - 0 ratings