Ticket #95 (new defect)

Opened 4 years ago

Last modified 5 months ago

python programs that uses grass.py do not work with --interface-description, --help, or --ui

Reported by: cgsbob Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: grass
Cc:

Description

I've developed a python script that uses the GRASS python module grass.py. When I use the options --help (displays command help), --ui (starts up a gui form for my command), or --interface-description (xml description of the gui), I do not see any output. Without --interface-description, I am not able to use my script in QGIS Toolbox.

Based on a discussion on the GRASS user ML (see  http://n2.nabble.com/Problems-with-GRASS-python-code-in-osgeo4w-td3122413.html), it appears that the current version of OSGEO4W needs  http://trac.osgeo.org/grass/changeset/37075 and there seems to be problems on how paths are specified in batch files.

Change History

Changed 3 years ago by hamish

  • keywords grass added

Changed 5 months ago by neteler

I believe that  http://trac.osgeo.org/grass/changeset/37075 is long available.

Can we close this?

Note: See TracTickets for help on using tickets.