[GRASS-dev] [GRASS GIS] #1540: grass python scripts run from grass6
return 1 on success
GRASS GIS
trac at osgeo.org
Tue Jan 17 09:48:03 EST 2012
#1540: grass python scripts run from grass6 return 1 on success
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 6.4.2
Component: Python | Version: 6.4.2 RCs
Keywords: qgis-plugin | Platform: Linux
Cpu: x86-64 |
-------------------------+--------------------------------------------------
Hi,
as worked-around here: http://hub.qgis.org/issues/4667
grass python scripts run with grass 6.4.svn are returning 1 on exit not 0
with --help or --interface-description. (maybe other ways too)
the modules seem to otherwise run fine.
in grass7 the exits codes are ok.
e.g. install the v.transects.py script from addons or try
{{{
$GISBASE/etc/gui/scripts/g.extension.py --help
echo $?
}}}
???!
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1540>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list