[GRASS-user] How to use g.extension in GRASS7.8

Bernardo Santos bernardo_brandaum at yahoo.com.br
Mon Jan 9 05:58:22 PST 2023


 Hi Markus,
That was my first try, and then I get the error below:
> g.extension extension=r.areaFetching <r.area> from GRASS GIS Addons repository (be patient)...svn: E170000: URL 'https://github.com/OSGeo/grass-addons/trunk/grass7/raster/r.area' doesn't existERROR: GRASS Addons <r.area> not found
B
    Em segunda-feira, 9 de janeiro de 2023 14:35:48 GMT+1, Markus Neteler <neteler at osgeo.org> escreveu:  
 
 Hi,

On Mon, Jan 9, 2023 at 11:50 AM Bernardo Santos via grass-user
<grass-user at lists.osgeo.org> wrote:
>
> Hi,
>
> I am trying to install the extension r.area using the g.extension tool in GRASS 7.8.
> However, I get the error that it was not found in the Github repo (because the repo changed).
> Here the error:
>
> > g.extension extension=r.area
> Fetching <r.area> from GRASS GIS Addons repository (be patient)...
> svn: E170000: URL 'https://github.com/OSGeo/grass-addons/trunk/grass7/raster/r.area' doesn't exist
> ERROR: GRASS Addons <r.area> not found
>
> I tried adding url=https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.area" but it also does not work:
> > g.extension extension=r.area url=https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.area
>  The command:
> g.extension extension=r.area url=https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.area operation=add
> produced an error (1) during execution:
> Fetching <r.area> from
> <https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.area/archive/master.zip>
> (be patient)...
> ERROR: Extension <r.area> not found
>
> How should I proceed to install it in GRASS 7.8?

It should work like this (g.extension will figure out the correct path):

g.extension extension=r.area

HTH,
Markus

PS: Full path is only needed when the addon isn't part of the standard
addon repository but found elsewhere.
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230109/4bfece86/attachment.htm>


More information about the grass-user mailing list