[USRP-users] Reg : Image Downloader

Marcus D. Leech mleech at ripnet.com
Wed Oct 21 14:01:53 EDT 2015


On 10/21/2015 01:58 PM, Sumit Kumar wrote:
> Ahh .... my bad. I did a wrong export. But again the result is same :
>
> *This is with properly patched python code for proxy :*
>
> sumit at sumit-ThinkCentre-M72e:/usr/local/lib/uhd/utils$ *echo $http_proxy*
> *http://proxy.iiit.ac.in:8080/*
> sumit at sumit-ThinkCentre-M72e:/usr/local/lib/uhd/utils$ sudo 
> ./uhd_images_downloader.py
> Images destination:      /usr/local/share/uhd/images
> Downloading images from: 
> http://files.ettus.com/binaries/images/uhd-images_003.010.git-53-gb48fe5bb.zip
> Downloading images to: 
> /tmp/tmplrI1CR/uhd-images_003.010.git-53-gb48fe5bb.zip
> 36363 kB / 36363 kB (100%)
>
> Images successfully installed to: /usr/local/share/uhd/images
>
> *This is for original code :*
>
> sumit at sumit-ThinkCentre-M72e:/usr/local/lib/uhd/utils$ *echo $http_proxy*
> *http://proxy.iiit.ac.in:8080/*
> sumit at sumit-ThinkCentre-M72e:/usr/local/lib/uhd/utils$ sudo 
> ./uhd_images_downloader.py
> Images destination:      /usr/local/share/uhd/images
> Downloading images from: 
> http://files.ettus.com/binaries/images/uhd-images_003.010.git-53-gb48fe5bb.zip
> Downloading images to: 
> /tmp/tmpfHQTdy/uhd-images_003.010.git-53-gb48fe5bb.zip
> Downloader raised an unhandled exception: 
> HTTPConnectionPool(host='files.ettus.com <http://files.ettus.com>', 
> port=80): Max retries exceeded with url: 
> /binaries/images/uhd-images_003.010.git-53-gb48fe5bb.zip (Caused by 
> <class 'socket.error'>: [Errno 111] Connection refused)
> You can run this again with the '--verbose' flag to see more information
> If the problem persists, please email the output to: support at ettus.com 
> <mailto:support at ettus.com>
>
BOOM!

sudo doesn't export environment variables, unless you ask it nice, with 
the -E option.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20151021/17f63cc5/attachment-0002.html>


More information about the USRP-users mailing list