[GRASS-dev] [GRASS GIS] #3399: installing addons with g.extension fails on windows

#3399: installing addons with g.extension fails on windows
-------------------------+-------------------------
Reporter: baharmon | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Addons | Version: unspecified
Keywords: | CPU: x86-64
Platform: Unspecified |
-------------------------+-------------------------
GRASS 7.2.1 64 bit on Windows 10 g.extension fails to install addons for
me. I've tried r.geomorphon, r.skyview, & r.stream.distance.

g.extension extension=r.geomorphon operation=add
Downloading precompiled GRASS Addons <r.geomorphon>...
Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
7.2.1/scripts/g.extension.py", line 1733, in <module>
     sys.exit(main())
   File "C:\Program Files\GRASS GIS
7.2.1/scripts/g.extension.py", line 1712, in main
     install_extension(source=source, url=url, xmlurl=xmlurl)
   File "C:\Program Files\GRASS GIS
7.2.1/scripts/g.extension.py", line 680, in
install_extension
     ret += install_extension_win(module)
   File "C:\Program Files\GRASS GIS
7.2.1/scripts/g.extension.py", line 953, in
install_extension_win
     outdev=outdev, directory=srcdir, tmpdir=TMPDIR)
   File "C:\Program Files\GRASS GIS
7.2.1/scripts/g.extension.py", line 1094, in
download_source_code
     f, h = urlretrieve(url, zip_name)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\urllib.py", line 94, in urlretrieve
     return _urlopener.retrieve(url, filename, reporthook,
data)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\urllib.py", line 240, in retrieve
     fp = self.open(url, data)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\urllib.py", line 208, in open
     return getattr(self, name)(url)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\urllib.py", line 345, in open_http
     h.endheaders(data)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\httplib.py", line 969, in endheaders
     self._send_output(message_body)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\httplib.py", line 829, in _send_output
     self.send(msg)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\httplib.py", line 791, in send
     self.connect()
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\httplib.py", line 772, in connect
     self.timeout, self.source_address)
   File "C:\Program Files\GRASS GIS
7.2.1\Python27\lib\socket.py", line 553, in
create_connection
     for res in getaddrinfo(host, port, 0, SOCK_STREAM):
IOError: [Errno socket error] [Errno 11002] getaddrinfo
failed
(Fri Aug 11 17:41:48 2017) Command finished (10 sec)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3399&gt;
GRASS GIS <https://grass.osgeo.org>

#3399: installing addons with g.extension fails on windows
-----------------------+-------------------------
  Reporter: baharmon | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords:
       CPU: x86-64 | Platform: Unspecified
-----------------------+-------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
* status: new => assigned
* owner: grass-dev@… => martinl

Comment:

All servers which are used for building and publishing will be unavailable
for few days (over weekend), due to heavy network reconfiguration of the
CTU network. Unfortunately we don't have any mirror server outside of this
network. On Monday Windows addons should be back. I created new ticket for
this issue (#3400).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3399#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3399: installing addons with g.extension fails on windows
-----------------------+-------------------------
  Reporter: baharmon | Owner: martinl
      Type: defect | Status: assigned
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: | Keywords:
       CPU: x86-64 | Platform: Unspecified
-----------------------+-------------------------

Comment (by martinl):

Would be also nice if `g.extension` would fails more gracefully.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3399#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>

#3399: installing addons with g.extension fails on windows
-----------------------+-------------------------
  Reporter: baharmon | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone:
Component: Addons | Version: unspecified
Resolution: wontfix | Keywords:
       CPU: x86-64 | Platform: Unspecified
-----------------------+-------------------------
Changes (by martinl):

* status: assigned => closed
* resolution: => wontfix

Comment:

The server is back. Closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3399#comment:3&gt;
GRASS GIS <https://grass.osgeo.org>