Opened 13 years ago

Closed 4 years ago

#95 closed defect (worksforme)

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

Reported by: cgsbob Owned by: martinl
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 (4)

comment:1 by hamish, 12 years ago

Keywords: grass added

comment:2 by neteler, 9 years ago

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

Can we close this?

comment:3 by jef, 6 years ago

Owner: changed from osgeo4w-dev@… to martinl

comment:4 by martinl, 4 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.