Projet

Général

Profil

Actions

Anomalie #3399

fermé

CRASH when modifying a FIND

Ajouté par Yann Le Jeune il y a environ 8 ans. Mis à jour il y a plus de 7 ans.

Statut:
Résolu
Priorité:
Urgent
Assigné à:
Catégorie:
-
Version cible:
Début:
19 décembre 2016
Echéance:
% réalisé:

0%

Temps estimé:
Élément(s):
Difficulté:
Moyen

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

  1. response = callback(request, *callback_args, **callback_kwargs)

File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in _wrapped_view

  1. return view_func(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view

  1. return self.dispatch(request, *args, **kwargs)

File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in dispatch

  1. return super(Wizard, self).dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch

  1. response = super(WizardView, self).dispatch(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch

  1. return handler(request, *args, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get

  1. ), **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done

  1. return super(NamedUrlWizardView, self).render_done(form, **kwargs)

File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in render_done

  1. done_response = self.done(final_form_list, **kwargs)

File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in done

  1. return_object)

File "/srv/ishtarjiap2016/ishtar/ishtar_common/wizards.py" in save_model

  1. dct = self.get_extra_model(dct, form_list)

File "/srv/ishtarjiap2016/ishtar/archaeological_finds/wizards.py" in get_extra_model

  1. 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'

Actions

Formats disponibles : Atom PDF