Anomalie #2260
ferméFILE/ACT/ADD : crash at the end of the wizard
0%
Description
Seen on ISHTAR Amiens Test :
KeyError at /file_administrativeactfile/done
0
Request Method: GET
Request URL: http://ishtar-amiens.proxience.net/file_administrativeactfile/done
Django Version: 1.4.5
Exception Type: KeyError
Exception Value:
0
Exception Location: /srv/ishtar-amiens/ishtar/archaeological_operations/wizards.py in save_model, line 366
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtar-amiens/ishtar/',
'.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7',
'/usr/local/lib/',
'/usr/local/lib/']
Server time: mar, 3 Fév 2015 10:43:43 +0100
Traceback Switch to copy-and-paste view
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in view
return self.dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in dispatch
response = super(WizardView, self).dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in dispatch
return handler(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in get
), **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done
return super(NamedUrlWizardView, self).render_done(form, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done
done_response = self.done(final_form_list, **kwargs)
...
▶ Local vars
/srv/ishtar-amiens/ishtar/ishtar_common/wizards.py in done
return_object)
...
▶ Local vars
/srv/ishtar-amiens/ishtar/archaeological_operations/wizards.py in save_model
if r[0]:
Mis à jour par Yann Le Jeune il y a presque 10 ans
Same crash for an act related to an OPE. (crash after validation) :
KeyError at /operation_administrativeactop/done
0
Request Method: GET
Request URL: http://ishtar-amiens.proxience.net/operation_administrativeactop/done
Django Version: 1.4.5
Exception Type: KeyError
Exception Value:
0
Exception Location: /srv/ishtar-amiens/ishtar/archaeological_operations/wizards.py in save_model, line 366
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtar-amiens/ishtar/',
'.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7',
'/usr/local/lib/',
'/usr/local/lib/']
Server time: mar, 3 Fév 2015 10:50:40 +0100
Traceback Switch to copy-and-paste view
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response
response = callback(request, *callback_args, **callback_kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in view
return self.dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in dispatch
response = super(WizardView, self).dispatch(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/views/generic/base.py in dispatch
return handler(request, *args, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in get
), **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done
return super(NamedUrlWizardView, self).render_done(form, **kwargs)
...
▶ Local vars
/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done
done_response = self.done(final_form_list, **kwargs)
...
▶ Local vars
/srv/ishtar-amiens/ishtar/ishtar_common/wizards.py in done
return_object)
...
▶ Local vars
/srv/ishtar-amiens/ishtar/archaeological_operations/wizards.py in save_model
if r[0]:
...
▶ Local vars