[GRASS-dev] GRASS_ADDON_PATH in GRASS6.4 UbuntuOS

Hamish hamish_b at yahoo.com
Fri Feb 5 02:17:01 EST 2010


> Franz Schiller wrote:
> 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 <bandnir> not
> set:    (raster input map (Near
> Infrared)).ERROR: Required
> parameter <bandred> not
> set:    (raster input map
> (Red)).
...

Kim wrote:
> 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



if running from the msys prompt, try to run it as "g.module --ui", or
just the module name from the Cmd> prompt in the GUI.


I find it strange that about 5 of us are all noticing this in the last
day or two and yet apparently it's been like that forever. Maybe the way
it fails has changed and now we are just getting further than we ever
did before?


Hamish



      


More information about the grass-dev mailing list