Anomalie #3429
ferméCrash during CONTEXT RECORD import / Etiolles instance
0%
Description
MultipleObjectsReturned at /import-list/
get() returned more than one Dating -- it returned 2! Lookup parameters were {u'period': }
Request Method: POST
Request URL: http://etiolles.ishtar-archeo.net/import-list/
Django Version: 1.4.22
Exception Type: MultipleObjectsReturned
Exception Value:
get() returned more than one Dating -- it returned 2! Lookup parameters were {u'period': }
Exception Location: /usr/lib/python2.7/dist-packages/django/db/models/query.py in get, line 368
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtaretiolles/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: dim, 22 Jan 2017 18:10:11 +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/ishtaretiolles/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 "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper
- return bound_func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view
- return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func
- return func(self, *args2, **kwargs2)
File "/srv/ishtaretiolles/ishtar/ishtar_common/views.py" in dispatch
- **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
- return handler(request, *args, **kwargs)
File "/srv/ishtaretiolles/ishtar/ishtar_common/views.py" in post
- imprt.importation()
File "/srv/ishtaretiolles/ishtar/ishtar_common/models.py" in importation
- importer.importation(self.data_table)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in importation
- self._importation(table)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in _importation
- self._line_processing(idx_line, line)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in _line_processing
- obj, created = self.get_object(self.OBJECT_CLS, data)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in get_object
- new_created)
File "/srv/ishtaretiolles/ishtar/ishtar_common/data_importer.py" in get_field
- **v)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py" in get_or_create
- return self.get_query_set().get_or_create(**kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in get_or_create
- return self.get(**lookup), False
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in get
- % (self.model._meta.object_name, num, kwargs))
Exception Type: MultipleObjectsReturned at /import-list/
Exception Value: get() returned more than one Dating -- it returned 2! Lookup parameters were {u'period': }