ECD retuns an error on some locations

Bug #1389745 reported by Daniele Viganò on 2014-11-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Platform
Matteo Nastasi

Bug Description

The error is:

Internal Server Error: /ecd/location/7803
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/", line 115, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/dist-packages/django/views/generic/", line 68, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openquakeplatform/gemecdwebsite/location/", line 309, in dispatch
    casualtyMatrixDisplayArr[inventoryClassesList.index(survey_record.inventoryclassid_id)][casualtyLevelsList.index(survey_record.damagelevelid_id)] = {'cell':surveyfields, 'id': }
ValueError: 0 is not in list

Tags: ecd Edit Tag help
Changed in oq-platform:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers