[GRASS-user] grass 6.4 rc5 and python scripting

Ricardo Filipe Soares Garcia da wrote:

Thanks for your good advice. I decided to go with the
option of EXPORTing the grass addon path and put my scripts
there, which works ok, well... kind of.

It happens that when I launch GRASS from the terminal, the
GRASS_ADDON_PATH gets correctly added to the PATH and I can
load my test script. However, if I start GRASS from the gnome
menu (or gnome-do) the GRASS_ADDON_PATH gets ignored. Maybe
theres some config file that I have to tweak?

how/where do you set the variable? it needs to be set before
GRASS begins.
in the gnome menu entry prefs do you have "start in terminal" ticked?

Hamish

how/where do you set the variable? it needs to be set before
GRASS begins.

I have set the GRASS_ADDON_PATH variable in my ~/.bashrc, like this

export GRASS_ADDON_PATH=/home/ricardo/gisProjectos/grassAddons

in the gnome menu entry prefs do you have "start in terminal" ticked?

Yep, it actually says "Application in Terminal", and it is selected

--
___________________________ ___ __
Ricardo Garcia Silva