oq-engine should report source names and ids if exceptions are raised when oq-hazardlib sources are created

Bug #1154512 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Lars Butler

Bug Description

When a hazardlib source is generated (from the NRML representation), oq-engine should have some general try-catch-all to catch errors and show a useful error message to the user, containing the name and id of the source so that the user can inspect his/her source model and quickly resolve the issue. Such errors can occur at runtime if, for example, the modeller has defined a source with invalid geometry.

matley (matley)
Changed in openquake:
assignee: nobody → matley (matley)
status: New → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
Revision history for this message
Lars Butler (lars-butler) wrote :

There does not exist a check in oq-engine to propagate a useful error message to the user. I'll re-open this.

Changed in openquake:
status: Fix Released → In Progress
assignee: matley (matley) → Lars Butler (lars-butler)
milestone: none → 1.0.0
importance: Undecided → Medium
Revision history for this message
Lars Butler (lars-butler) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.