Anomalie #3399
ferméCRASH when modifying a FIND
0%
Description
JIAP INSTANCE
AttributeError at /find_modification/done
'module' object has no attribute 'ContextRecord'
Request Method: GET
Request URL: http://jiap2016.ishtar-archeo.net/find_modification/done
Django Version: 1.4.22
Exception Type: AttributeError
Exception Value:
'module' object has no attribute 'ContextRecord'
Exception Location: /srv/ishtarjiap2016/ishtar/archaeological_finds/wizards.py in get_extra_model, line 69
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtarjiap2016/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']
Server time: lun, 19 Déc 2016 16:59:41 +0100
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in _wrapped_view
- return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
- return self.dispatch(request, *args, **kwargs)
File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in dispatch
- return super(Wizard, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch
- response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
- return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get
- ), **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done
- return super(NamedUrlWizardView, self).render_done(form, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done
- done_response = self.done(final_form_list, **kwargs)
File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in done
- return_object)
File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in save_model
- dct = self.get_extra_model(dct, form_list)
File "/srv/ishtarjiap2016/ishtar/archaeological_finds/wizards.py" in get_extra_model
- if 'pk' in dct and type(dct['pk']) == models.ContextRecord:
Exception Type: AttributeError at /find_modification/done
Exception Value: 'module' object has no attribute 'ContextRecord'