Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Error 470: status code 470 #3238

Closed
rengifoo opened this issue Nov 13, 2023 · 9 comments
Closed

HTTP Error 470: status code 470 #3238

rengifoo opened this issue Nov 13, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@rengifoo
Copy link

rengifoo commented Nov 13, 2023

** ERROR: Cannot open URL http://wingrass.fsv.cvut.cz/grass83/addons/grass-8.3.1/r.stream.distance.zip: HTTP Error 470: status code 470**
I get a error 470 when trying to install any l extension on newly installed AVD (Azure virtual device). I am running GRASS GIS 8.3.1 stable installed as standalone.

To Reproduce
Steps to reproduce the behavior:

  1. Install standalone stable grass gis 8.3.1
  2. g.extension ' any extension '
  3. Compute
  4. See error : HTTP Error 470: status code 470

System description and entire error log

Launching GUI in the background, please wait...
Microsoft Windows [Version 10.0.22621.2428]
(c) Microsoft Corporation. All rights reserved.

C:\Users\reno>g.extension
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS 8.3\gui\wxpython\gui_core\forms.py", line 3257, in
task.set_options(cmd[1:])
File "C:\Program Files\GRASS GIS 8.3\etc\python\grass\script\task.py", line 298, in set_options
key, value = opt.split("=", 1)
ValueError: not enough values to unpack (expected 2, got 1)

C:\Users\reno>g.extension
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS 8.3\gui\wxpython\gui_core\forms.py", line 3257, in
task.set_options(cmd[1:])
File "C:\Program Files\GRASS GIS 8.3\etc\python\grass\script\task.py", line 298, in set_options
key, value = opt.split("=", 1)
ValueError: not enough values to unpack (expected 2, got 1)

C:\Users\reno>g.extension extension=r.sim.water.mp
Downloading precompiled GRASS Addons <r.sim.water.mp>...
ERROR: Cannot open URL
http://wingrass.fsv.cvut.cz/grass83/addons/grass-8.3.1/r.sim.water.mp.zip:
HTTP Error 470: status code 470

C:\Users\reno>python
Python 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

It seems to be an issue of GRASS GIS 8.3.1.
thanks for help

best regards
Rengifo Ortega

@rengifoo rengifoo added the bug Something isn't working label Nov 13, 2023
@petrasovaa
Copy link
Contributor

From quick googling of the error code, it looks like it has something to do with Azure, not sure what to do about it.

Regarding the other error, that does happen with any module? Maybe it would be better to create a separate issue for that one.

@hellik
Copy link
Member

hellik commented Nov 13, 2023

which windows OS flavour is this?

@rengifoo
Copy link
Author

rengifoo commented Nov 14, 2023

@hellik
grafik
I am running GRASS on an Azure Virtual Device, with Windows 11 enterprise multi-session, version 22H2.
Best regards.
Rengifo

@rengifoo
Copy link
Author

rengifoo commented Nov 14, 2023

From quick googling of the error code, it looks like it has something to do with Azure, not sure what to do about it.

Regarding the other error, that does happen with any module? Maybe it would be better to create a separate issue for that one.

thanks for the quick response. Here what I did sofar. Downgraded GRASS GIS to 7.8.8 [1] version and tried to install r.sim.water.mp [2] it says it was successfully installed, run it [3], failed [4].

Best regards
Rengifo
grafik

and her the rest of the message when I attempt to open r.sim.water.mp, which according to g.extension is installed Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.8\gui\wxpython\gui_core\prompt.py", line 272, in
OnItemSelected

self.cmdDesc = gtask.parse_interface(cmd)
File "C:\Program Files\GRASS GIS
7.8\etc\python\grass\script\task.py", line 522, in
parse_interface

tree = etree.fromstring(get_interface_description(name))
File "C:\Program Files\GRASS GIS
7.8\etc\python\grass\script\task.py", line 497, in
get_interface_description

raise ScriptError(_("Unable to fetch interface description
for command '<{cmd}>'."
grass.exceptions
.
ScriptError
:
Unable to fetch interface description for command
'<r.sim.water.mp>'.
Details: <C:\Program Files\GRASS GIS
7.8\extrabin\python3.exe: can't open file
'C:\Users\reno\r.sim.water.mp': [Errno 2] No such file or
directory

@rengifoo
Copy link
Author

I guess I should devide these into new issues since I downgraded and reinstalled GRASS GIS !

@petrasovaa
Copy link
Contributor

Looking at r.sim.water.mp, this is actually a leftover, the multiprocessing has been moved to core, so you should be able to use r.sim.water with multiple cores, you don't need this extension.

@rengifoo
Copy link
Author

rengifoo commented Nov 15, 2023

Looking at r.sim.water.mp, this is actually a leftover, the multiprocessing has been moved to core, so you should be able to use r.sim.water with multiple cores, you don't need this extension.

thanks a lot. It saves me a lot of search time for answers. This information should be more visible though!
Best regards
Rengifo

@rengifoo
Copy link
Author

rengifoo commented Nov 15, 2023

thanks for the great help. In resume, I removed Grass 8.3.1 from Azure Virtual Device, installed Grass 7.8.8. As @petrasovaa explained to me is r.sim.water.mp not longer required to run multiprocessing with simwe. Now, I have an operative GRASS GIS runing on a virtual machine (AVD - Azure virtual device) in Azure.

@petrasovaa
Copy link
Contributor

Issue to remove it from addons to avoid confusion:
OSGeo/grass-addons#983

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants