Hello Anna,

thanks a lot for your fast reply.

I got the GRASS GIS stand alone installer from "
https://grass.osgeo.org/download/windows/#standalone-installers ". The
provided file there is "
https://grass.osgeo.org/grass80/binary/mswindows/native/WinGRASS-8.0.0-1-Setup.exe
" which installs " GRASS GIS 8.0.0dev (04e3de8fa)". I did not see any
installation file for " GRASS GIS 8.0.0 ". From where I can get tat one?


Regards


Martin




Am 2/8/2022 um 2:35 AM schrieb Anna Petrášová:
Hi Martin,

please create an issue:
https://github.com/OSGeo/grass/issues/new/choose

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.

Anna

On Mon, Feb 7, 2022 at 2:57 PM Martin Bittens <[email protected]>
wrote:

    Hello GRASS User,

    here comes an update concerning the installation of GRASS GIS addons:

    In the meantime I could change the addon-download link provided by
    GRASS. Using some of the 'recipes' I found in the internet I
    manipulated
    the g.extension.py <http://g.extension.py> file in line 1442 by
    adding " patch='dev' " and
    deactivating " patch=version[2] ". As a result, GRASS GIS is now
    calling
    '/grass80/addons/grass-8.0.dev <http://grass-8.0.dev>' for the
    download of addons. It´s not a
    very professional solution because each time when the addon's web site
    changing its address (what happens as far as I know with each GRASS
    update) I have to made the respective adjustment in g.extension.py
    <http://g.extension.py>. But
    for know it is working.

    But...! The addon installation is obviously working only for addons
    which are based on python scripts (e.g., v.centerline.py
    <http://v.centerline.py>). Addons which
    come with an exe-file are being installed with error messages and
    don´t
    work:

    g.extension extension=v.centerpoint operation=add
    Downloading precompiled GRASS Addons <v.centerpoint>...
    Fetching <v.centerpoint> from
    <http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.dev/v.centerpoint.zip>
    (be patient)...
    Updating extensions metadata file...
    Updating extension modules metadata file...
    WARNING: No metadata available for module 'v.centerpoint': Unable to
    fetch interface description for command '<v.centerpoint>'.

    Details: <C:\Program Files\GRASS GIS 8.0\extrabin\python3.exe: can't
    find '__main__' module in
    
'C:\\Users\\Martin\\AppData\\Local\\Temp\\grass8-Martin-25356\\tmpc6exzl8p\\v.centerpoint'
     >
    Installation of <v.centerpoint> successfully finished
    (Mon Feb  7 16:49:42 2022) Command finished (19 sec)


    So, what is the correct way for installing the GRASS GIS addons?


    Regards


    Martin





    Am 2/7/2022 um 11:45 AM schrieb Martin Bittens:
    > Hello GRASS User,
    >
    > I just installed the latest GRASS GIS Stand Alone version
    (8.0.0). When
    > I tried installing some addons I always received an error message:
    >
    > ERROR: Cannot open URL:
    >
    http://wingrass.fsv.cvut.cz/grass80/addons/grass-8.0.0dev/v.centerpoint.zip
    >
    >
    > I checked the web site and could the that there only exist 2
    versions:
    >
    > - /grass80/addons/grass-8.0.dev <http://grass-8.0.dev>
    >
    > - /grass80/addons/grass-8.0.0
    >
    >
    > How I can change the web address GRASS GIS is calling to the
    ones which
    > are providing the addons?
    >
    >
    > Thank you very much for a suggestion.
    >
    >
    > Regards
    >
    >
    > Martin
    >
    >
    > --
    > This email has been checked for viruses by Avast antivirus software.
    > https://www.avast.com/antivirus
    >
    > _______________________________________________
    > grass-user mailing list
    > [email protected]
    > https://lists.osgeo.org/mailman/listinfo/grass-user
    _______________________________________________
    grass-user mailing list
    [email protected]
    https://lists.osgeo.org/mailman/listinfo/grass-user


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to