This is maybe a very silly question, but I do not know what I am missing. I’m trying to run a script using the --exec interface but using the following command, I get:
grass73svn /home/veroandreo/grassdata/nc_spm_08_grass7/user1/ --exec test.sh
Cleaning up temporary files…
Starting GRASS GIS…
Executing <test.sh> …
ERROR: Execution of <test.sh> failed:
[Errno 2] No such file or directory
Exiting…
What am I missing? Do I need to add extra permissions to my grassdata folder? I find it strange since I’ve used the exec interface with scripts before without any issues.
Thanks much in advance!
Cheers,
Vero
ps: in case it matters, I use fedora24, grass trunk r69962M.
Le 5 décembre 2016 21:35:04 GMT+01:00, Veronica Andreo <veroandreo@gmail.com> a écrit :
Hello list,
This is maybe a very silly question, but I do not know what I am
missing.
I'm trying to run a script using the --exec interface but using the
following command, I get:
grass73svn /home/veroandreo/grassdata/nc_spm_08_grass7/user1/ --exec
test.sh
Cleaning up temporary files...
Starting GRASS GIS...
Executing <test.sh> ...
ERROR: Execution of <test.sh> failed:
[Errno 2] No such file or directory
Exiting...
What am I missing? Do I need to add extra permissions to my grassdata
folder? I find it strange since I've used the exec interface with
scripts
before without any issues.
Thanks much in advance!
Cheers,
Vero
ps: in case it matters, I use fedora24, grass trunk r69962M.
On Mon, Dec 5, 2016 at 9:35 PM, Veronica Andreo <veroandreo@gmail.com> wrote:
Hello list,
This is maybe a very silly question, but I do not know what I am missing.
I'm trying to run a script using the --exec interface but using the
following command, I get:
On Mon, Dec 5, 2016 at 9:35 PM, Veronica Andreo <veroandreo@gmail.com> wrote:
Hello list,
This is maybe a very silly question, but I do not know what I am missing.
I'm trying to run a script using the --exec interface but using the
following command, I get:
This is maybe a very silly question, but I do not know what I am missing.
I’m trying to run a script using the --exec interface but using the
following command, I get:
On Tue, Dec 6, 2016 at 12:27 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Tue, Dec 6, 2016 at 9:55 AM, Veronica Andreo <veroandreo@gmail.com>
wrote:
...
> It works both with sh test.sh and ./test.sh (@Moritz, yes the +x was
there)
>
> Thanks again! Will send a diff with the example for the manual page.
I have used that diff (thanks) and expanded it for Python. Submitted in
r70014.
The Python example therein still needs an improvement to find GISBASE.
I can also see the comment there
TODO: how to find GISBASE? must be defined
but I still don't understand. What is the issue with that? GRASS Python
modules don't need to check or directly use GISBASE and this is the same
case.
Does the code in the example run? (It runs for me.)