1656: ReviewBoard doesn't install through proxy using easy_install

sne****@gmai***** (Google Code) (Is this you? Claim this profile.)
chipx86
chipx86
May 21, 2010
Hi,
I am trying to follow the installation guide on Ubuntu 10.04 LTS. I am 
using a proxy which I specified using:
$ export http_proxy="http://myawesome.proxy.com:80"
Just to make sure I then do:
$ wget google.com
--2010-05-19 19:29:20--  http://google.com/
Resolving myawesome.proxy.com... xxx.xxx.xxx.xx, yy.yyy.yyy.y
Connecting to myawesome.proxy.com|xxx.xxx.xxx.xx|:80... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.com/ [following]
--2010-05-19 19:29:21--  http://www.google.com/
Connecting to myawesome.proxy.com|xxx.xxx.xxx.xx|:80... connected.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html'

    [ <=>                                   ] 8,542       54.9K/s   in 0.2s    

2010-05-19 19:29:21 (54.9 KB/s) - `index.html' saved [8542]

So now I do:

$ sudo easy_install ReviewBoard
Searching for ReviewBoard
Best match: ReviewBoard 1.5beta2
Processing ReviewBoard-1.5beta2-py2.6.egg
ReviewBoard 1.5beta2 is already the active version in easy-install.pth
Installing rb-site script to /usr/local/bin

Using /usr/local/lib/python2.6/dist-packages/ReviewBoard-1.5beta2-py2.6.egg
Processing dependencies for ReviewBoard
Searching for recaptcha-client
Reading http://downloads.reviewboard.org/mirror/
Download error: [Errno 110] Connection timed out -- Some packages may not 
be found!
Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/

The same error is given for every single package.

Please advise what I can do get ReviewBoard installed.

Thanks,
Arty
chipx86
#1 chipx86
Do sudo -s, and then set the proxy there.

The problem you're hitting is that you're setting the environment variable for your
user, then doing sudo, and the variable isn't being carried over.
#2 sne****@gmai***** (Google Code) (Is this you? Claim this profile.)
You are right! I didn't know variables of current user aren't used if you sudo. Thanks!
chipx86
#3 chipx86
No prob :) Glad it works.
  • +UserError
  • +chipx86