Closed gse-cc-git closed 4 years ago
Thanks for sharing. I will check it asap.
EDIT: I have to check the parsing of the GRASS
starting script there has obviously changed something. Hope to fix this until tomorrow.
I have tried to fix the parsing of the GRASS
init script which is looking and setting for the correct path of the GRASS
installation folder while starting GRASS
. Please check if findGrass()
will return the correct path and in addition runs.
Hello,
I installed v0.4.4 and still have the same issue with findGRASS()
On my machine GRASS
was installed in /usr/lib/grass78
(came with QGIS 3.10).
searchGRASSX
fails in finding v.clean
with file.exists(file.path(raw_GRASS,"v.clean"))
and falls back to "/opt/grass"
system2("find", paste(MP," ! -readable -prune -o -type f -executable -iname 'grass??' -print"),stdout = TRUE,stderr = FALSE)
points the binaries in "/usr/bin/grass78"
rd = file.exists(file.path(raw_GRASS,"v.clean"))
if (rd) root_dir = raw_GRASS
else root_dir = "/opt/grass"
Thanks a lot for your work.
@gse-cc-git could you pls check if this new workaround fix this issue?
@gisma it works now:
> grass <- link2GI::findGRASS()
> grass
instDir version installation_type
1 /usr/lib/grass78 7.8.2 grass78
Hello, Using Linux Ubuntu 20.04 where grass in installed here:
link2GI::findGRASS
returnsbut there is nothing in /opt/ directory
hence the following (from the examples) fails
Sorry to bother you if this issue is related to my understanding of the linux system files rather than on your package.
Thank you for your help