[GRASS-user] r.threshold not found in repository -- GRASS 7.8.6 ubuntu machine

Hei guys

tried to load r.threshold from the repository but it was not available

best regards

Rengifo Ortega

[Errno 2] No such file or directory: 'r.threshold':

(Thu Apr 25 19:34:27 2024)
r.threshold
[Errno 2] No such file or directory: 'r.threshold':
'r.threshold'
(Thu Apr 25 19:34:27 2024) Command finished (0 sec)
(Thu Apr 25 19:35:05 2024)
g.extension extension=r.threshold
Fetching <r.threshold> from GRASS GIS Addons repository (be patient)...
svn: E170013: Unable to connect to a repository at URL
'https://github.com/OSGeo/grass-
addons/branches/grass7/src/raster/r.threshold'
svn: E160013: '/OSGeo/grass-
addons/branches/grass7/src/raster/r.threshold' path not
found
ERROR: GRASS Addons <r.threshold> not found
(Thu Apr 25 19:35:07 2024) Command finished (2 sec)

I think you should be able to download the extension for GRASS 7 from github here:

https://github.com/OSGeo/grass-addons/tree/grass7/src/raster/r.threshold/

So this should work:

g.extension r.threshold url="https://github.com/OSGeo/grass-addons/tree/grass7/src/raster/r.threshold&quot;

And consider upgrading your GRASS installation.:wink:

On 25/04/2024 20:40, Rengifo Ortega via grass-user wrote:

Hei guys

tried to load r.threshold from the repository but it was not available

best regards

Rengifo Ortega

[Errno 2] No such file or directory: 'r.threshold':

(Thu Apr 25 19:34:27 2024)
r.threshold
[Errno 2] No such file or directory: 'r.threshold':
'r.threshold'
(Thu Apr 25 19:34:27 2024) Command finished (0 sec)
(Thu Apr 25 19:35:05 2024)
g.extension extension=r.threshold
Fetching <r.threshold> from GRASS GIS Addons repository (be patient)...
svn: E170013: Unable to connect to a repository at URL
'https://github.com/OSGeo/grass-
addons/branches/grass7/src/raster/r.threshold'
svn: E160013: '/OSGeo/grass-
addons/branches/grass7/src/raster/r.threshold' path not
found
ERROR: GRASS Addons <r.threshold> not found
(Thu Apr 25 19:35:07 2024) Command finished (2 sec)

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

(cc-ing the list also)

I can confirm this problem. The `g.extension` module is looking at the wrong URL, it seems.

$ g.extension r.traveltime

Unable to connect to a repository at URL 'https://github.com/OSGeo/grass-addons/branches/grass8/src/raster/r.traveltime

Here is the correct source for the addon:

https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.traveltime

I submitted an issue for this on github:

https://github.com/OSGeo/grass-addons/issues/1089

Regards,

Micha

On 27/05/2024 12:40, Rengifo Ortega wrote:

hei Micha
Upggraded to grass gis 8 as suggested, still having some issues with the g.extension. This time with r.traveltime. Any hint?

g.extension extension=r.traveltime
Fetching <r.traveltime> from GRASS GIS Addons repository (be patient)...
svn: E170013: Unable to connect to a repository at URL
'https://github.com/OSGeo/grass-
addons/branches/grass8/src/raster/r.traveltime'
svn: E160013: '/OSGeo/grass-
addons/branches/grass8/src/raster/r.traveltime' path not
found
ERROR: GRASS Addons <r.traveltime> not found

best regards
Rengifo

Am Donnerstag, 25. April 2024 um 21:07:29 MESZ hat Micha Silver <tsvibar@gmail.com> Folgendes geschrieben:

I think you should be able to download the extension for GRASS 7 from
github here:

https://github.com/OSGeo/grass-addons/tree/grass7/src/raster/r.threshold/

So this should work:

g.extension r.threshold
url="https://github.com/OSGeo/grass-addons/tree/grass7/src/raster/r.threshold&quot;

And consider upgrading your GRASS installation.:wink:

On 25/04/2024 20:40, Rengifo Ortega via grass-user wrote:
> Hei guys
>
> tried to load r.threshold from the repository but it was not available
>
> best regards
>
> Rengifo Ortega
>
> [Errno 2] No such file or directory: 'r.threshold':
>
> (Thu Apr 25 19:34:27 2024)
> r.threshold
> [Errno 2] No such file or directory: 'r.threshold':
> 'r.threshold'
> (Thu Apr 25 19:34:27 2024) Command finished (0 sec)
> (Thu Apr 25 19:35:05 2024)
> g.extension extension=r.threshold
> Fetching <r.threshold> from GRASS GIS Addons repository (be patient)...
> svn: E170013: Unable to connect to a repository at URL
> 'https://github.com/OSGeo/grass-
> addons/branches/grass7/src/raster/r.threshold'
> svn: E160013: '/OSGeo/grass-
> addons/branches/grass7/src/raster/r.threshold' path not
> found
> ERROR: GRASS Addons <r.threshold> not found
> (Thu Apr 25 19:35:07 2024) Command finished (2 sec)

>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

Hi,

On Mon, May 27, 2024 at 1:54 PM Micha Silver via grass-user
<grass-user@lists.osgeo.org> wrote:

(cc-ing the list also)

I can confirm this problem. The `g.extension` module is looking at the
wrong URL, it seems.

The solution would be a backport to older GRASS GIS versions of
https://github.com/OSGeo/grass/pull/2895 which replaces SVN checkout
(no longer supported by GitHub) with git sparse checkout.

best,
Markus

$ g.extension r.traveltime

Unable to connect to a repository at URL
'https://github.com/OSGeo/grass-addons/branches/grass8/src/raster/r.traveltime

Here is the correct source for the addon:

https://github.com/OSGeo/grass-addons/tree/grass8/src/raster/r.traveltime

I submitted an issue for this on github:

https://github.com/OSGeo/grass-addons/issues/1089

Regards,

Micha