[GRASS-user] my first script

Giuliano Urgeghe giuliano.u at gmail.com
Sun Oct 12 17:44:16 PDT 2014


Hi all,
I have my first script in python for grass
but when I launch it on windows vista for grass 6.4.2 in quantum gis
I have this output:
...
File "C:\PROGRA~1\QUANTU~3\apps\grass\grass-6.4.2\etc\pyth
on\grass\script\core.py", line 189, in run_command
    ps = start_command(*args, **kwargs)
  File "C:\PROGRA~1\QUANTU~3\apps\grass\grass-6.4.2\etc\pyth
on\grass\script\core.py", line 167, in start_command
    args = make_command(prog, flags, overwrite, quiet,
verbose, **options)
  File "C:\PROGRA~1\QUANTU~3\apps\grass\grass-6.4.2\etc\pyth
on\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"

someone know this problem?

thanks in advance
Giuliano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20141013/b3fea499/attachment.html>


More information about the grass-user mailing list