[GRASS-user] Proxy Authorization Required Error

Dear Grass Users,

I am a new GRASS user and I installed few days ago the 7.2 Version on WIN7 64bit.

I am trying to install some of the extensions using “install extension addons”. The tool does not connect to the repository and it finds therefore no extensions.

As alternative, I used g.extension. In this case I receive the error 407 “Proxy Authorization Required”. I looked for some solution online but I didn’t find any clear and easy-to-apply solution.

Following I report the complete error message of g.extensions.

Can anybody suggest a solution?

Best Regards

Francesco

(Fri Jan 20 15:27:45 2017)

g.extension extension=exstension=r.geomorphon operation=add

Downloading precompiled GRASS Addons <exstension=r.geomorphon>…

Traceback (most recent call last):

File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0/script

s/g.extension.py", line 1730, in

sys.exit(main())

File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0/script

s/g.extension.py", line 1709, in main

install_extension(source=source, url=url, xmlurl=xmlurl)

File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0/script

s/g.extension.py", line 680, in install_extension

ret += install_extension_win(module)

File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0/script

s/g.extension.py", line 953, in install_extension_win

outdev=outdev, directory=srcdir, tmpdir=TMPDIR)

File "C:\PROGRA~1\QGIS2~1.18\apps\grass\grass-7.2.0/script

s/g.extension.py", line 1094, in download_source_code

f, h = urlretrieve(url, zip_name)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 94, in urlretrieve

return _urlopener.retrieve(url, filename, reporthook,

data)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 240, in retrieve

fp = self.open(url, data)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 208, in open

return getattr(self, name)(url)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 359, in open_http

return self.http_error(url, fp, errcode, errmsg,

headers)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 372, in http_error

result = method(url, fp, errcode, errmsg, headers)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 711, in http_error_407

errcode, errmsg, headers)

File “C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\urllib.py”,

line 381, in http_error_default

raise IOError, (‘http error’, errcode, errmsg, headers)

IOError: (‘http error’, 407, ‘Proxy Authorization Required’,

<httplib.HTTPMessage instance at 0x00000000026CD748>)

(Fri Jan 20 15:27:46 2017) Command finished (0 sec)

On Wed, Jan 25, 2017 at 3:21 AM, Mascioli, Francesco <
Francesco.Mascioli@nlwkn-ny.niedersachsen.de> wrote:

In this case I receive the error 407 “Proxy Authorization Required”.

Hi, did you try

https://grass.osgeo.org/grass72/manuals/g.extension#
download-and-install-of-an-extension-when-behind-a-proxy

?

Vaclav