Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2832 closed defect (fixed)

r.damflood return code

Reported by: pmav99 Owned by: grass-dev@…
Priority: normal Milestone: 7.0.3
Component: Addons Version: unspecified
Keywords: r.damflood Cc:
CPU: Unspecified Platform: Unspecified

Description

It seems that r.damflood is not returning an integer value from it's `main` and as a result the actual return value is undefined

Error: Failed to load processor bash
No macro or processor named 'bash' found

The problem with this is that when you invoke the script using e.g. grass.script.run_command() you get an exception even though the execution finished without problems. Not a huge deal but it caused me some headscratching.

Change History (3)

comment:1 by wenzeslaus, 9 years ago

This is definitively a bug. Fixed in r67259. Please test and close the ticket if it is OK.

comment:2 by neteler, 9 years ago

Resolution: fixed
Status: newclosed

No feedback, assuming that it is solved. Closing.

comment:3 by pmav99, 9 years ago

Just checked and it works as just fine.

Note: See TracTickets for help on using tickets.