Greetings all
I have exactly the same problem. If I place a script a ADDON_PATH i get the same error but, If I place at Script folder (inside GRASSsvn6.4.0) it’s ok
Any ideas of what it might be missing?
Franz Schiller wrote:
Hello All
Regarding a message that Hamish sent me a last week ago, related with:
FWIW, I try to copy custom stuff into a dir outside the install
dir which is pointed to by the GRASS_ADDON_PATH environment
variable, that way I can replace & upgrade grass versions
without accidentally deleting all my custom scripts.
see the “variables” help page.
I have added the following
export GRASS_ADDON_PATH=/usr/local/myproject
in grass64 (file located in /usr/local/bin)
When I run my function (i.ndvi) in Command line, in WXPYTHON GUI, instead of opening my function module, with all tabs, bla bla, an error window appears stating:
Execution failed: ‘i.ndvi’
Details:
Error:
And in command output Are printed errors regarding that required data for this script was not inserted
RROR: Required parameter not set:
(raster input map (Near Infrared)).
ERROR: Required parameter not set:
(raster input map (Red)).
ERROR: Required parameter not set:
(raster output NDVI map).
Do I haRROR: Required parameter not set:
(raster input map (Near Infrared)).
ERROR: Required parameter not set:
(raster input map (Red)).
ERROR: Required parameter not set:
(raster output NDVI map).
is it possible to run scripts, by using Module window, that are located in a external folder?
It seems like g.parser is not recognizing MODULE parameters