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

PluginSearch Error #599

Closed
noscripter opened this issue May 10, 2015 · 23 comments
Closed

PluginSearch Error #599

noscripter opened this issue May 10, 2015 · 23 comments

Comments

@noscripter
Copy link

qq20150510-1 2x

@alxdnlnko
Copy link

+1

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

@alxkv
Copy link

alxkv commented May 25, 2015

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

@noscripter
Copy link
Author

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

@noscripter
Copy link
Author

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)

@fourlincoln10
Copy link

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?

@gmarik
Copy link
Contributor

gmarik commented Oct 24, 2015

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

@fourlincoln10
Copy link

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

@gmarik
Copy link
Contributor

gmarik commented Oct 26, 2015

@nfischer @fourlincoln10 thanks for the feedback!

@rally25rs
Copy link

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.

@Logan-47
Copy link

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

@ghost
Copy link

ghost commented Jul 7, 2019

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??

@Godron629
Copy link

@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 ☕

@i-cooltea
Copy link

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

@lifahao
Copy link

lifahao commented Nov 14, 2019

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.

@EI5JS
Copy link

EI5JS commented Jan 15, 2020

@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.

@1z-z1
Copy link

1z-z1 commented Jan 17, 2020

@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.

@sreeakshay
Copy link

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.

@alpeshjamgade
Copy link

@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

@dancingmonkey
Copy link

@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!

@unorthodox-character
Copy link

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?

@Armadill0
Copy link

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

@deividaspetraitis
Copy link

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?

@wyonghao
Copy link

wyonghao commented Jul 4, 2021

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?

I think the VundleVIM is not actively maintained any more. and the 'http://vim-scripts.org/api/scripts.json' in the search script doesn't exist any more. maybe someone can pick it up and start to maintain it.

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