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 
<nete...@osgeo.org> escreveu:  
 
 Hi,

On Mon, Jan 9, 2023 at 11:50 AM Bernardo Santos via grass-user
<grass-user@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.
  
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to