Classical PSHA Risk demo with --output-type=xml is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Lars Butler |
Bug Description
[at=1.5h]
$ bin/openquake --config-
[2012-03-01 10:47:58,529 #153 - INFO MainProcess/58813 supervisor] Entering supervisor for job 153
[2012-03-01 10:47:58,541 #153 - DEBUG MainProcess/58813 amqplib] Start from server, version: 8.0, properties: {u'information': u'Licensed under the MPL. See http://
[2012-03-01 10:47:58,542 #153 - DEBUG MainProcess/58813 amqplib] Open OK! known_hosts []
[2012-03-01 10:47:58,543 #153 - DEBUG MainProcess/58813 amqplib] using channel_id: 1
[2012-03-01 10:47:58,543 #153 - DEBUG MainProcess/58813 amqplib] Channel open
[2012-03-01 10:47:59,839 #153 geop-076.ethz.ch CRITICAL MainProcess/58812 root] Calculation failed with exception: 'argument of type 'ExposureData' is not iterable'
Traceback (most recent call last):
File "bin/openquake", line 169, in <module>
log_
File "/Users/
_launch_
File "/Users/
calculator.
File "/Users/
self.
File "/Users/
self.
File "/Users/
curve_
File "/Users/
writer.
File "/Users/
self.write(key, val)
File "/Users/
super(
File "/Users/
if 'nrml_id' in asset:
TypeError: argument of type 'ExposureData' is not iterable
[2012-03-01 10:48:00,844 #153 - INFO MainProcess/58813 supervisor] Process 58812 not running
[2012-03-01 10:48:00,859 #153 - INFO MainProcess/58813 supervisor] job finished with status u'failed'
[2012-03-01 10:48:00,859 #153 - INFO MainProcess/58813 root] Recording stop time for job 153 to calc_stats
[2012-03-01 10:48:00,875 #153 - INFO MainProcess/58813 root] Cleaning up after job 153
[2012-03-01 10:48:00,877 #153 - INFO MainProcess/58813 root] KVS garbage collection removed 9 keys for job 153
[2012-03-01 10:48:00,887 #153 - DEBUG MainProcess/58813 amqplib] Closed channel #1
[2012-03-01 10:48:00,888 #153 - INFO MainProcess/58813 supervisor] Job 153 finished in 0:00:02.340829
[2012-03-01 10:48:00,888 #153 - INFO MainProcess/58813 supervisor] Exiting supervisor for job 153
Changed in openquake: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Lars Butler (lars-butler) |
milestone: | none → 0.6.0 |
status: | Confirmed → In Progress |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
Pull request: https:/ /github. com/gem/ openquake/ pull/705