engine-server: the calculate tab does not work

Bug #1381932 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
Critical
Michele Simionato

Bug Description

Here is the traceback when launching a hazard calculation:

INFO Copying to temporary stream
ERROR 'OqJob' object has no attribute 'calculation'
Traceback (most recent call last):
  File "/usr/local/openquake/oq-engine/openquake/server/tasks.py", line 70, in safely_call
    func(*args)
  File "/usr/local/openquake/oq-engine/openquake/server/tasks.py", line 119, in run_calc
    _trigger_migration(job, callback_url, foreign_calc_id, dbname)
  File "/usr/local/openquake/oq-engine/openquake/server/tasks.py", line 163, in _trigger_migration
    copy_output(platform_connection, output, foreign_calc_id)
  File "/usr/local/openquake/oq-engine/openquake/server/tasks.py", line 357, in copy_output
    'calculation_id': output.oq_job.calculation.id}),
AttributeError: 'OqJob' object has no attribute 'calculation'

Changed in oq-engine:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Michele Simionato (michele-simionato)
milestone: none → 1.0.1
Revision history for this message
Michele Simionato (michele-simionato) wrote :
Changed in oq-engine:
status: In Progress → Fix Committed
Changed in oq-engine:
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.