Opened 10 years ago

Closed 10 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 Changed 10 years ago by martinl

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

comment:2 in reply to:  1 ; Changed 10 years ago by 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.

comment:3 in reply to:  2 ; Changed 10 years ago by 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

comment:4 in reply to:  3 Changed 10 years ago by martinl

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 Changed 10 years ago by martinl

Resolution: fixed
Status: assignedclosed

Closing. Feel free to re-open if needed.

Note: See TracTickets for help on using tickets.