|
Forums /
Bug reports /
BUg when posting on the forums
|
Previous | 1 | Next |
|
stumple [beta tester] |
posted: 25.10.08 13:41:18 title: BUg when posting on the forums |
|
I got this error message when I went to reply to a thread on the forum today. Environment: Request Method: POST Request URL: http://www.dracis.com/forum/General/311/ Django Version: 0.97-pre-SVN-7191 Python Version: 2.5.2 Installed Applications: ['dracisproject1.dracis', 'dracisproject1.quotes', 'dracisproject1.wiki', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'dracisproject1.StatsMiddleware.StatsMiddleware') Traceback: File "/home/thi/django_repo/django/core/handlers/base.py" in get_response 77. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/home/thi/workspace/dracis-trunk/django/dracisproject1/StatsMiddleware.py" in process_view 20. response = view_func(request, *view_args, **view_kwargs) File "/home/thi/workspace/dracis-trunk/django/dracisproject1/dracis/views.py" in forum 704. return forum_reply_to_thread(request, forum, thread, context) File "/home/thi/workspace/dracis-trunk/django/dracisproject1/dracis/views.py" in forum_reply_to_thread 778. newpost.thread.mark_as_unread_by_all() File "/home/thi/workspace/dracis-trunk/django/dracisproject1/dracis/models.py" in mark_as_unread_by_all 290. """ % {'thread_id': self.id}) File "/home/thi/django_repo/django/db/backends/util.py" in execute 18. return self.cursor.execute(sql, params) File "/home/thi/django_repo/django/db/backends/postgresql/base.py" in execute 47. return self.cursor.execute(smart_str(sql, self.charset), self.format_params(params)) Exception Type: IntegrityError at /forum/General/311/ Exception Value: ERROR: duplicate key violates unique constraint "dracis_threads_profiles_thread_id_key" DELETE FROM dracis_thread_profiles WHERE thread_id = 311; INSERT INTO dracis_thread_profiles (thread_id, profile_id, last_post) (SELECT 311, id, NOW() FROM dracis_profile); |
|
|
Vulpini |
posted: 08.11.08 04:14:23 |
| Wow funky! |
|
Forums /
Bug reports /
BUg when posting on the forums
|
Previous | 1 | Next |
