[GRASS-dev] Info about MS windows add-ons packaging
Margherita Di Leo
dileomargherita at gmail.com
Thu Aug 2 01:40:07 PDT 2012
Hi all,
I am trying to fix some issues related to my add-on "r.hazard.flood", since
Carolina is trying to use it on MSwindows without success. She pointed me
out this error message:
On Thu, Aug 2, 2012 at 10:16 AM, Carolina Rogelis <c.rogeliz at gmail.com>wrote:
>
>
> r.hazard.flood --overwrite --verbose map=ras_wshdtunj_5m at PERMANENTflood=flood mti=MTI
> Traceback (most recent call last):
> File "C:\Documents and Settings\rogel1\Application
> Data\GRASS6\addons\r.hazard.flood.py", line 121, in <module>
> sys.exit(main())
> File "C:\Documents and Settings\rogel1\Application
> Data\GRASS6\addons\r.hazard.flood.py", line 100, in main
> grass.run_command('r.clump', input = 'r_flood', output =
> 'r_clump', flags = '-o')
> File "C:\Program Files\GRASS
> 6.4.2\etc\python\grass\script\core.py", line 189, in
> run_command
> ps = start_command(*args, **kwargs)
> File "C:\Program Files\GRASS
> 6.4.2\etc\python\grass\script\core.py", line 167, in
> start_command
> args = make_command(prog, flags, overwrite, quiet,
> verbose, **options)
> File "C:\Program Files\GRASS
> 6.4.2\etc\python\grass\script\core.py", line 124, in
> make_command
> raise ScriptError("'-' is not a valid flag")
> grass.script.core.ScriptError: "'-' is not a valid flag"
> (Thu Aug 02 03:09:38 2012) Command finished (161 sec)
>
>
>
> this is an old bug already fixed some months ago.. problem is that, to my
knowledge, addOns on windows are pre-compiled and packaged in order to be
downloaded and ready-to-use. In other words, the bug is already fixed, but
the package she is using is still bugged. Am I wrong? Would it be possible
to package the latest version for windows users?
Thanks!
--
Dr. Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20120802/09b4a211/attachment.html>
More information about the grass-dev
mailing list