<div dir="ltr"><div>Hi Martin,</div><div><br></div><div>please create an issue:</div><div><a href="https://github.com/OSGeo/grass/issues/new/choose">https://github.com/OSGeo/grass/issues/new/choose</a><br></div><div><br></div><div>Indeed, looks like the URL on the server doesn't match the url g.extension expects. Note that you are using a daily build, you may want to consider using released GRASS 8.0.0.</div><div><br></div><div>Anna</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 7, 2022 at 2:57 PM Martin Bittens <<a href="mailto:martin.bittens@gmx.de">martin.bittens@gmx.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello GRASS User,<br>
<br>
here comes an update concerning the installation of GRASS GIS addons:<br>
<br>
In the meantime I could change the addon-download link provided by<br>
GRASS. Using some of the 'recipes' I found in the internet I manipulated<br>
the <a href="http://g.extension.py" rel="noreferrer" target="_blank">g.extension.py</a> file in line 1442 by adding " patch='dev' " and<br>
deactivating " patch=version[2] ". As a result, GRASS GIS is now calling<br>
'/grass80/addons/<a href="http://grass-8.0.dev" rel="noreferrer" target="_blank">grass-8.0.dev</a>' for the download of addons. It´s not a<br>
very professional solution because each time when the addon's web site<br>
changing its address (what happens as far as I know with each GRASS<br>
update) I have to made the respective adjustment in <a href="http://g.extension.py" rel="noreferrer" target="_blank">g.extension.py</a>. But<br>
for know it is working.<br>
<br>
But...! The addon installation is obviously working only for addons<br>
which are based on python scripts (e.g., <a href="http://v.centerline.py" rel="noreferrer" target="_blank">v.centerline.py</a>). Addons which<br>
come with an exe-file are being installed with error messages and don´t<br>
work:<br>
<br>
g.extension extension=v.centerpoint operation=add<br>
Downloading precompiled GRASS Addons <v.centerpoint>...<br>
Fetching <v.centerpoint> from<br>
<<a href="http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.dev/v.centerpoint.zip" rel="noreferrer" target="_blank">http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.dev/v.centerpoint.zip</a>><br>
(be patient)...<br>
Updating extensions metadata file...<br>
Updating extension modules metadata file...<br>
WARNING: No metadata available for module 'v.centerpoint': Unable to<br>
fetch interface description for command '<v.centerpoint>'.<br>
<br>
Details: <C:\Program Files\GRASS GIS 8.0\extrabin\python3.exe: can't<br>
find '__main__' module in<br>
'C:\\Users\\Martin\\AppData\\Local\\Temp\\grass8-Martin-25356\\tmpc6exzl8p\\v.centerpoint'<br>
 ><br>
Installation of <v.centerpoint> successfully finished<br>
(Mon Feb  7 16:49:42 2022) Command finished (19 sec)<br>
<br>
<br>
So, what is the correct way for installing the GRASS GIS addons?<br>
<br>
<br>
Regards<br>
<br>
<br>
Martin<br>
<br>
<br>
<br>
<br>
<br>
Am 2/7/2022 um 11:45 AM schrieb Martin Bittens:<br>
> Hello GRASS User,<br>
><br>
> I just installed the latest GRASS GIS Stand Alone version (8.0.0). When<br>
> I tried installing some addons I always received an error message:<br>
><br>
> ERROR: Cannot open URL:<br>
> <a href="http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.0dev/v.centerpoint.zip" rel="noreferrer" target="_blank">http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.0dev/v.centerpoint.zip</a><br>
><br>
><br>
> I checked the web site and could the that there only exist 2 versions:<br>
><br>
> - /grass80/addons/<a href="http://grass-8.0.dev" rel="noreferrer" target="_blank">grass-8.0.dev</a><br>
><br>
> - /grass80/addons/grass-8.0.0<br>
><br>
><br>
> How I can change the web address GRASS GIS is calling to the ones which<br>
> are providing the addons?<br>
><br>
><br>
> Thank you very much for a suggestion.<br>
><br>
><br>
> Regards<br>
><br>
><br>
> Martin<br>
><br>
><br>
> --<br>
> This email has been checked for viruses by Avast antivirus software.<br>
> <a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
><br>
> _______________________________________________<br>
> grass-user mailing list<br>
> <a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>