Ticket #24539: traceback.txt

File traceback.txt, 6.2 KB (added by Evandro Myller, 10 years ago)

full traceback

Line 
1Environment:
2
3
4Request Method: POST
5Request URL: http://127.0.0.1:8000/admin/showcase/product/add/?category=ind-foo
6
7Django Version: 1.7.7
8Python Version: 3.4.3
9Installed Applications:
10('django.contrib.admin',
11 'django.contrib.auth',
12 'django.contrib.contenttypes',
13 'django.contrib.sessions',
14 'django.contrib.messages',
15 'django.contrib.staticfiles',
16 'custom_user',
17 'imagekit',
18 'pipeline',
19 'storages',
20 'test_project.base',
21 'test_project.showcase')
22Installed Middleware:
23('django.contrib.sessions.middleware.SessionMiddleware',
24 'django.middleware.common.CommonMiddleware',
25 'django.middleware.csrf.CsrfViewMiddleware',
26 'django.contrib.auth.middleware.AuthenticationMiddleware',
27 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
28 'django.contrib.messages.middleware.MessageMiddleware',
29 'django.middleware.clickjacking.XFrameOptionsMiddleware')
30
31
32Traceback:
33File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
34 111. response = wrapped_callback(request, *callback_args, **callback_kwargs)
35File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in wrapper
36 583. return self.admin_site.admin_view(view)(*args, **kwargs)
37File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapped_view
38 105. response = view_func(request, *args, **kwargs)
39File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
40 52. response = view_func(request, *args, **kwargs)
41File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/sites.py" in inner
42 206. return view(request, *args, **kwargs)
43File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/admin/product.py" in add_view
44 45. return super(ProductAdmin, self).add_view(request)
45File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in add_view
46 1453. return self.changeform_view(request, None, form_url, extra_context)
47File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/admin/product.py" in changeform_view
48 33. request, object_id, *args, **kwargs)
49File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapper
50 29. return bound_func(*args, **kwargs)
51File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in _wrapped_view
52 105. response = view_func(request, *args, **kwargs)
53File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/decorators.py" in bound_func
54 25. return func.__get__(self, type(self))(*args2, **kwargs2)
55File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/transaction.py" in inner
56 394. return func(*args, **kwargs)
57File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in changeform_view
58 1404. self.save_model(request, new_object, form, not add)
59File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/contrib/admin/options.py" in save_model
60 1045. obj.save()
61File "/home/emyller/Devel/7ws/customers/test_project/test_project/showcase/models.py" in save
62 110. super(Product, self).save(**kwargs)
63File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in save
64 589. force_update=force_update, update_fields=update_fields)
65File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in save_base
66 617. updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
67File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in _save_table
68 679. forced_update)
69File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/base.py" in _do_update
70 723. return filtered._update(values) > 0
71File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/query.py" in _update
72 600. return query.get_compiler(self.db).execute_sql(CURSOR)
73File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
74 1004. cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
75File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
76 786. cursor.execute(sql, params)
77File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
78 81. return super(CursorDebugWrapper, self).execute(sql, params)
79File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
80 65. return self.cursor.execute(sql, params)
81File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/utils.py" in __exit__
82 94. six.reraise(dj_exc_type, dj_exc_value, traceback)
83File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/utils/six.py" in reraise
84 658. raise value.with_traceback(tb)
85File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
86 65. return self.cursor.execute(sql, params)
87File "/home/emyller/Devel/_misc/python-envs/test_project/lib/python3.4/site-packages/django/db/backends/sqlite3/base.py" in execute
88 485. return Database.Cursor.execute(self, query, params)
89
90Exception Type: IntegrityError at /admin/showcase/product/add/
91Exception Value: NOT NULL constraint failed: showcase_product.created
Back to Top