Anomalie #3382
ferméCRASH when deleting an OPE : JIAP instance
0%
Description
DatabaseError at /operation_deletion/done
ERREUR: la relation « operation_department » n'existe pas
LINE 1: ..._id", "operation_department"."department_id" FROM "operation...
^
Request Method: GET
Request URL: http://jiap2016.ishtar-archeo.net/operation_deletion/done
Django Version: 1.4.22
Exception Type: DatabaseError
Exception Value:
ERREUR: la relation « operation_department » n'existe pas
LINE 1: ..._id", "operation_department"."department_id" FROM "operation...
^
Exception Location: /usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py in execute, line 52
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 10:29:54 +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
- obj.delete()
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py" in delete
- collector.collect([self])
File "/usr/lib/python2.7/dist-packages/django/db/models/deletion.py" in collect
- if not sub_objs:
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in nonzero
- iter(self).next()
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in _result_iter
- self._fill_cache()
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in _fill_cache
- self._result_cache.append(self._iter.next())
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in iterator
- for row in compiler.results_iter():
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in results_iter
- for rows in self.execute_sql(MULTI):
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py" in execute_sql
- cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/util.py" in execute
- return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py" in execute
- return self.cursor.execute(query, args)
Exception Type: DatabaseError at /operation_deletion/done
Exception Value: ERREUR: la relation « operation_department » n'existe pas
LINE 1: ..._id", "operation_department"."department_id" FROM "operation...
^
Mis à jour par Étienne Loks il y a environ 8 ans
- Statut changé de Nouveau à Résolu
JIAP db specific. Manualy fixed.