Anomalie #3085
ferméCrash during import
0%
Description
ON ISHTAR-TEST-DEV with import_OPERATIO model :
DatabaseError at /import-list/
ERREUR: la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc
de la transaction
Request Method: POST
Request URL: http://test.ishtar-archeo.net/import-list/
Django Version: 1.4.5
Exception Type: DatabaseError
Exception Value:
ERREUR: la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc
de la transaction
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/ishtarctest/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: mer, 23 Mar 2016 13:01:49 +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/ishtarctest/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/ishtarctest/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/ishtarctest/ishtar/ishtar_common/views.py" in post
- imprt.importation()
File "/srv/ishtarctest/ishtar/ishtar_common/models.py" in importation
- self.save()
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py" in save
- self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py" in save_base
- manager.using(using).filter(pk=pk_val).exists())):
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py" in exists
- return self.query.has_results(using=self.db)
File "/usr/lib/python2.7/dist-packages/django/db/models/sql/query.py" in has_results
- return bool(compiler.execute_sql(SINGLE))
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 /import-list/
Exception Value: ERREUR: la transaction est annulée, les commandes sont ignorées jusqu'à la fin du bloc
de la transaction