Unable to export "bcr_distribution" outputs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Critical
|
matley |
Bug Description
When running the new BCR risk demo (see bug # 1180698), I get the following when I try to run the calculation with `--exports=xml`, or if I try to export it with `--export-risk`.
[2013-05-17 11:13:37,618 risk #2 1.0.0.127.
Traceback (most recent call last):
File "bin/openquake", line 648, in <module>
main()
File "bin/openquake", line 632, in main
hazard_
File "bin/openquake", line 494, in run_risk
job, log_level, log_file, exports, 'risk')
File "/Users/
_do_
File "/Users/
calc.
File "/Users/
for output in export.
File "/Users/
return [fn(output, os.path.
File "/Users/
return fn(output, target_dir)
File "/Users/
args = _export_
File "/Users/
metadata = output.
File "/Users/
' "%s"' % self.output_type
RuntimeError: Error getting hazard metadata: Unexpected output_type "bcr_distribution"
[2013-05-17 11:13:38,624 risk #2 - ERROR MainProcess/71739 supervisor] job process 71738 crashed or terminated
Calculation 2 failed
Changed in oq-engine: | |
milestone: | none → 1.0.0 |
importance: | Undecided → Critical |
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/gem/ oq-engine/ pull/1191