Actions
Anomalie #2981
ferméCrash when importing large CSV file for OPE
Début:
01 décembre 2015
Echéance:
% réalisé:
0%
Temps estimé:
Élément(s):
Difficulté:
Description
6000 records
RuntimeError at /import-list/
maximum recursion depth exceeded while calling a Python object
Request Method: POST
Request URL: http://ishtar-test.proxience.net/import-list/
Django Version: 1.4.5
Exception Type: RuntimeError
Exception Value:
maximum recursion depth exceeded while calling a Python object
Exception Location: /usr/lib/python2.7/dist-packages/django/utils/datastructures.py in __init__, line 116
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtar-ctest/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: mar, 1 Déc 2015 14:00:21 +0100
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
109. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
48. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in _wrapper
25. return bound_func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view
20. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py" in bound_func
21. return func(self, *args2, **kwargs2)
File "/srv/ishtar-ctest/ishtar/ishtar_common/views.py" in dispatch
1028. **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
69. return handler(request, *args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/views.py" in post
1100. imprt.importation()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in importation
1745. importer.importation(self.data_table)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in importation
806. self._importation(table)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in _importation
915. self._line_processing(idx_line, line)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in _line_processing
969. obj, created = self.get_object(self.OBJECT_CLS, data)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in get_object
1270. self.get_field(cls, attribute, data, m2ms, c_c_path)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in get_field
1249. field_object.rel.to, data[attribute].copy(), c_path)
File "/srv/ishtar-ctest/ishtar/ishtar_common/data_importer.py" in get_object
1313. obj, created = cls.objects.get_or_create(**dct)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py" in get_or_create
134. 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
452. obj.save(force_insert=True, using=self.db)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
1061. self.save()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1975. super(Person, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
528. super(BaseHistorizedItem, self).save(*args, **kwargs)
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in save
1083. self.generate_merge_candidate()
File "/srv/ishtar-ctest/ishtar/ishtar_common/models.py" in generate_merge_candidate
(...)
Exception Type: RuntimeError at /import-list/
Exception Value: maximum recursion depth exceeded while calling a Python object
Actions
#1
Mis à jour par Étienne Loks il y a plus de 8 ans
- Statut changé de Nouveau à Résolu
- Description mis à jour (diff)
This specific error should not occurs anymore.
Actions
#2
Mis à jour par Yann Le Jeune il y a plus de 8 ans
- Statut changé de Résolu à Fermé
Must be OK
Actions