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

Veronica Andreo veroandreo at gmail.com
Mon Jan 9 06:03:51 PST 2023


Which GRASS 7.8 you have and which operating system? Any chances you can
update to GRASS 8.2?

El lun, 9 ene 2023 a las 10:58, Bernardo Santos via grass-user (<
grass-user at lists.osgeo.org>) escribió:

> Hi Markus,
>
> That was my first try, and then I get the error below:
>
> > 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
>
> 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.
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230109/86773fc4/attachment.htm>


More information about the grass-user mailing list