You are not logged in.

#1 2018-02-09 01:42:13

woodenfish
Member
Registered: 2018-02-08
Posts: 3

[solved]Can't install Plugins for vim through Vunder

As a newbie in arch, I met trouble when trying to install plugins for my vim using Vundle. I followed the instruction on github, but failed. I guess there's something wrong with my proxy configuration, but I'm not sure. So I am looking for help here.
I use shadowsocks because several useful websites are blocked in my country, like google. And  I installed and configured the ss proxy successfully in my gnome desktop so that I can connect to websites like google normally. But when I input ":PluginInstall " in my vim (with my .vimrc updated and Vundle installed), I cannot download those Plugins.
Here are the logs:

[2018-02-09 09:19:03]               
  1
  2 [2018-02-09 09:19:03] Plugin Valloric/YouCompleteMe                                   
  3 [2018-02-09 09:19:03] $ git clone -- recursive 'https://github.com/Vallor                                     
    ic/YouCompleteMe.git' '/home/woodenfish/.vim/bundle/YouCompleteMe'                                           
  4 [2018-02-09 09:19:03] > Cloning into '/home/woodenfish/.vim/bundle/YouCo                                     
    mpleteMe'...                             
  5 [2018-02-09 09:19:03] > fatal: unable to access 'https://github.com/Vall|~                                     
    oric/YouCompleteMe.git/': Operation timed out after 300000 milliseconds |~                                     
    with 0 out of 0 bytes received

Another information is that when I try to ping github.com ( which is not blocked in my country ) in my gnome terminal, it succeeds. But when I try to ping www.google.com, it fails. I thought there was something wrong with my proxy so I googled and installed proxychains and tried to run my vim with the command "proxychains vim". But the installation failed again and the logs are as follows:

1 [2018-02-09 09:39:01] Plugin URI change detected for Plugin Vundle.vim                                   
  2 [2018-02-09 09:39:01] >  Plugin Vundle.vim old URI: [proxychains] DLL in it: proxychains-ng 4.12                                                   
  3 [2018-02-09 09:39:01] https://github.com/VundleVim/Vundle.vim.git                                             
  4 [2018-02-09 09:39:01] >  Plugin Vundle.vim new URI: https://github.com/VundleVim/Vundle.vim.git                                                   
  5 [2018-02-09 09:39:01]                                                     
  6 [2018-02-09 09:39:01] Plugin VundleVim/Vundle.vim

I hope some one can help me solve this problem. Thank you all very much!

Last edited by woodenfish (2018-02-09 05:32:45)

Offline

#2 2018-02-09 04:46:54

woodenfish
Member
Registered: 2018-02-08
Posts: 3

Re: [solved]Can't install Plugins for vim through Vunder

Well, there are many other problems with my proxy settings.
When I tried 'updpkgsums' to download packages, it showed in the terminal "curl: (7) Failed to connect to 127.0.0.1 port 1080: Connection refused" but in fact, at that time I had closed all proxies with the script ProxyMan, including the desktop, the terminal and so on.

Offline

#3 2018-02-09 05:33:31

woodenfish
Member
Registered: 2018-02-08
Posts: 3

Re: [solved]Can't install Plugins for vim through Vunder

Such a foolish problem! There was something wrong with my git proxy configuration. Now it is fixed.

Offline

Board footer

Powered by FluxBB