[GRASS-user] Add-Ons and batch job with the --exec interface [Solved]

Vincent Bain bain at toraval.fr
Sun Dec 20 03:15:51 PST 2020


Sorry for it: I just figured out there was a mess with a wrong symlink
in my addons directory.

Now it's humming!

V.

Le dimanche 20 décembre 2020 à 12:01 +0100, Vincent Bain a écrit :
> Hi dear Grass users,
> 
> I'm wondering how/if one can run an Add-On command while invoking
> grass
> from the --exec interface.
> 
> As an example, if I run :
> 
>    grass79 /path/to/my/location/mapset --exec g.list rast
> 
> I succeed.
> 
> As well as checking my GRASS_ADDON_PATH :
> 
>    echo $GRASS_ADDON_PATH
>    /usr/local/grass-addons/
> 
>    But :
> 
>    grass79 /path/to/my/location/mapset --exec r.my.addon
> 
>    fails :
> 
>    [Errno 2] No such file or directory: 'r.my.addon': 'r.my.addon'
>    Exiting...
> 
> 
>    Would anyone help me solve this issue ?
>    Have a nice sunday,
> 
>    Vincent.
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list