Projet

Général

Profil

Actions

Anomalie #4084

fermé

CRASH when deleting an IMPORT

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

Statut:
Fermé
Priorité:
Urgent
Assigné à:
Catégorie:
Import/Export
Version cible:
Début:
15 mai 2018
Echéance:
% réalisé:

0%

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

Description

Seen on CVL instance, when trying t delete Import for OPE 67480

Traceback:

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner

  1. response = get_response(request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response

  1. response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response

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

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

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

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper

  1. return bound_func(*args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view

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

File "/usr/local/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func

  1. return func.get(self, type(self))(*args2, **kwargs2)

File "/srv/ishtar/ishtar_common/views.py" in dispatch

  1. **kwargs)

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

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

File "/usr/local/lib/python2.7/dist-packages/django/views/generic/edit.py" in post

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

File "/usr/local/lib/python2.7/dist-packages/django/views/generic/edit.py" in delete

  1. self.object.delete()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py" in delete

  1. return collector.delete()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/deletion.py" in delete

  1. sender=model, instance=obj, using=self.using

File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py" in send

  1. for receiver in self._live_receivers(sender)

File "/srv/ishtar/ishtar_common/models_imports.py" in pre_delete_import

  1. item.delete()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/base.py" in delete

  1. return collector.delete()

File "/usr/local/lib/python2.7/dist-packages/django/db/models/deletion.py" in delete

  1. sender=model, instance=obj, using=self.using

File "/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py" in send

  1. for receiver in self._live_receivers(sender)

File "/srv/ishtar/archaeological_finds/models_finds.py" in pre_clean_find

  1. if instance.downstream_treatment:

File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related_descriptors.py" in get

  1. rel_obj = self.get_object(instance)

File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/related_descriptors.py" in get_object

  1. return qs.get(self.field.get_reverse_related_filter(instance))

File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py" in get

  1. self.model._meta.object_name

Exception Type: DoesNotExist at /import-delete/66/

Exception Value: Treatment matching query does not exist.

Mis à jour par Étienne Loks il y a plus de 6 ans

  • Version cible changé de 2.1 à 2.0 - maintenance
  • Statut changé de Nouveau à Résolu

Mis à jour par Yann Le Jeune il y a plus de 6 ans

  • Statut changé de Résolu à Fermé

OK

Actions

Formats disponibles : Atom PDF