Opened 6 years ago

Closed 6 years ago

Last modified 6 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 Changed 6 years ago by wenzeslaus

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

comment:2 Changed 6 years ago by neteler

Resolution: fixed
Status: newclosed

No feedback, assuming that it is solved. Closing.

comment:3 Changed 6 years ago by pmav99

Just checked and it works as just fine.

Note: See TracTickets for help on using tickets.