Project

General

Profile

Actions

Anomalie #3399

closed

CRASH when modifying a FIND

Added by Yann Le Jeune almost 8 years ago. Updated about 7 years ago.

Status:
Résolu
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
19 December 2016
Due date:
% Done:

0%

Estimated time:
É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 #1

Updated by Étienne Loks almost 8 years ago

  • Status changed from Nouveau to Résolu
Actions #2

Updated by Étienne Loks about 7 years ago

  • Target version changed from 16 to 1.0
Actions

Also available in: Atom PDF