[GRASS-web] r.futures not working

Anna Petrášová kratochanna at gmail.com
Wed Dec 9 05:58:00 PST 2020


Hi,

r.futures.potential calls Rscript, so the error means it can't find the
Rscript binary. If R is installed, I would recommend reinstalling GRASS,
during installation it tries to automatically look for it, so there is a
chance it will work then. I would recommend subscribing to grass-user
mailing list and ask more questions there.

Anna

On Wed, Dec 9, 2020 at 5:55 AM Tom Hackbarth <txhackbarth at gmail.com> wrote:

> Dear all,
>
> I am trying to work my way through the r.futures workshop (
> https://grasswiki.osgeo.org/wiki/Workshop_on_urban_growth_modeling_with_FUTURES#Potential_submodel),
> but as soon as I get to the point of using the first r.futures module -
> r.futures-potential I come to a dead end.
>
> This is the message I get:
>
> ___________________________
>
> r.futures.potential input=sampling at practice1 output=potential.csv
> columns=devpressure_0_5_92,road_dens_perc,forest_1992_smooth_perc,dist_to_water_km,dist_to_protected_km
> developed_column=urban_change_clip subregions_column=counties
> Computing model...
> Traceback (most recent call last):
>   File "C:\Users\XXXX\AppData\Roaming\GRASS7\addons/scripts
> /r.futures.potential.py", line 221, in <module>
>     sys.exit(main())
>   File "C:\Users\XXXX\AppData\Roaming\GRASS7\addons/scripts
> /r.futures.potential.py", line 192, in main
>     p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
> stderr=subprocess.PIPE)
>   File "D:\Programme\apps\Python37\lib\subprocess.py", line
> 756, in __init__
>     restore_signals, start_new_session)
>   File "D:\Programme\apps\Python37\lib\subprocess.py", line
> 1155, in _execute_child
>     startupinfo)
> FileNotFoundError: [WinError 2] The system cannot find the file
> specified)
>
> _____________________________
>
> There seems to be a problem with the Python code. I also tried to work it
> out on linux manjaro, but I get more or less the same error message in the
> End.
>
> Is there anyone who can help me on this? I came not even close to
> repairing the error, so I am happy about any advice one can give me.
>
> Thank you in advance.
>
> Best regards
>
> Tom
> _______________________________________________
> grass-web mailing list
> grass-web at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-web
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-web/attachments/20201209/2932f1c5/attachment.html>


More information about the grass-web mailing list