[GRASS-dev] r.surf.fractal [was: v.buffer]

Hamish ha scritto:
> no? what is the exact error message?

Paolo:

option d not recognized

Using grep I can not find any trace of that message in the latest qgis
trunk/ SVN or GRASS's libgis. Has it been retranslated?

does QGIS's grass toolbox double-check the module options using the 'g.module --interface-description' or does it just try to run what the programmer/user threw at it and see what happens?

??
Hamish

(I have cc'd grass-dev ML in the bug ticket to avoid all this cross posting)

Hamish ha scritto:

Hamish ha scritto:

no? what is the exact error message?

Paolo:

option d not recognized

Using grep I can not find any trace of that message in the latest qgis
trunk/ SVN or GRASS's libgis. Has it been retranslated?

Sorry, it may be slightly different: I do not have a qgis1.x+grass64
machine at hand now, so I cannot check.

does QGIS's grass toolbox double-check the module options using the 'g.module --interface-description' or does it just try to run what the programmer/user threw at it and see what happens?

Dunno. When a module is called, if an option is not present, it throws
an error, so it seems the first of the two options.
Thanks.
--
Paolo Cavallini: http://www.faunalia.it/pc

On Thu, Apr 23, 2009 at 4:30 PM, Paolo Cavallini <cavallini@faunalia.it> wrote:

Hamish ha scritto:

Hamish ha scritto:

no? what is the exact error message?

Paolo:

option d not recognized

Using grep I can not find any trace of that message in the latest qgis
trunk/ SVN or GRASS's libgis. Has it been retranslated?

Sorry, it may be slightly different: I do not have a qgis1.x+grass64
machine at hand now, so I cannot check.

I have:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE qgisgrassmodule SYSTEM "http://mrcc.com/qgisgrassmodule.dtd&quot;&gt;

<qgisgrassmodule label="Create fractal surface of given fractal
dimension" module="r.surf.fractal">
        <option key="d" />
        <option key="n" />
        <option key="out" />
</qgisgrassmodule>

r.surf.fractal output=name [dimension=value] [number=value]
   [--overwrite] [--verbose] [--quiet]

Looks fine.

BUT: I can reproduce the error. I *feel* that it is a parsing problem
in QGIS that might expect full names. If so it should not do so.
?

Markus