ECD retuns an error on some locations

Bug #1389745 reported by Daniele Viganò
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Platform
Fix Committed
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
Changed in oq-platform:
status: New → Fix Committed
Revision history for this message
Matteo Nastasi (mop) (nastasi) wrote :
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.