[GRASS-dev] GRASS_ADDON_PATH in GRASS6.4 UbuntuOS

Kim Besson kimbesson1981 at gmail.com
Thu Feb 4 09:56:32 EST 2010


>
> 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 <bandnir> not set:
>
>     (raster input map (Near Infrared)).
>
> ERROR: Required parameter <bandred> not set:
>
>     (raster input map (Red)).
>
> ERROR: Required parameter <ndvi> not set:
>
>     (raster output NDVI map).
>
>
> Do I haRROR: Required parameter <bandnir> not set:
>
>     (raster input map (Near Infrared)).
>
> ERROR: Required parameter <bandred> not set:
>
>     (raster input map (Red)).
>
> ERROR: Required parameter <ndvi> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100204/211436c2/attachment-0001.html


More information about the grass-dev mailing list