[USRP-users] Reg : Image Downloader

Sumit Kumar cogwsn at gmail.com
Wed Oct 21 14:25:30 EDT 2015


BAAM !

*Putting -E worked with the original code. (The one without proxy
modification)*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 -E
./uhd_images_downloader.py
UHD_IMAGES_DIR environment variable is set.
Default install location: /usr/local/share/uhd/images
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/tmpT_ASbW/uhd-images_003.010.git-53-gb48fe5bb.zip
36363 kB / 36363 kB (100%)

Images successfully installed to: /usr/local/share/uhd/images

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But I am wondering, why build-gnuradio script threw error at the first
place ?

On Wed, Oct 21, 2015 at 11:31 PM, Marcus D. Leech <mleech at ripnet.com> wrote:

> 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/ <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/ <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', 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
>
> BOOM!
>
> sudo doesn't export environment variables, unless you ask it nice, with
> the -E option.
>
>
>
>
>


-- 
Sumit kumar
Research Assistant
Communication Research Center
IIIT Hyderabad, India
+91-7799081452
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20151021/809c6a5c/attachment-0002.html>


More information about the USRP-users mailing list