Opened 12 years ago

Closed 12 years ago

#1540 closed defect (fixed)

grass python scripts run from grass6 return 1 on success

Reported by: hamish Owned by: martinl
Priority: blocker Milestone: 6.4.2
Component: Python Version: 6.4.2 RCs
Keywords: qgis-plugin Cc: grass-dev@…
CPU: x86-64 Platform: Linux

Description

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

Change History (5)

comment:1 by martinl, 12 years ago

Cc: grass-dev@… added
Owner: changed from grass-dev@… to martinl
Priority: majorblocker
Status: newassigned

Hopefully fixed r50240 (devbr6). After some testing should be backported to relbr64

in reply to:  1 ; comment:2 by brushtyler, 12 years ago

Replying to martinl:

Hopefully fixed r50240 (devbr6). After some testing should be backported to relbr64

It works here, I've also updated the QGis ticket http://hub.qgis.org/issues/4667.

in reply to:  2 ; comment:3 by martinl, 12 years ago

Replying to brushtyler:

Replying to martinl:

Hopefully fixed r50240 (devbr6). After some testing should be backported to relbr64

It works here, I've also updated the QGis ticket http://hub.qgis.org/issues/4667.

done in r50263

in reply to:  3 comment:4 by martinl, 12 years ago

Replying to martinl:

Replying to brushtyler:

Replying to martinl:

Hopefully fixed r50240 (devbr6). After some testing should be backported to relbr64

It works here, I've also updated the QGis ticket http://hub.qgis.org/issues/4667.

done in r50263

can you confirm it also for G64?

comment:5 by martinl, 12 years ago

Resolution: fixed
Status: assignedclosed

Closing. Feel free to re-open if needed.

Note: See TracTickets for help on using tickets.