Environment Request Method POST Request URL http 127 8000 admin blog p

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Environment:
Request Method: POST
Request URL: http://127.0.0.1:8000/admin/blog/post/add/
Django Version: 1.0-alpha-SVN-unknown
Python Version: 2.5.2
Installed Applications:
['django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.sitemaps',
'django.contrib.flatpages',
'django.contrib.markup',
'lib',
'pytils',
'accounts',
'blog',
'discussion',
'openidconsumer',
'pingback',
'tagging',
'typogrify',
'render',
'robots',
'textblocks',
'livejournal',
'blogroll',
'openidserver',
'recaptcha',
'debug',
'sape',
'watchlist']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'lib.threadlocals.ThreadLocalsMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'middleware.url.UrlMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'middleware.redirect.RedirectMiddleware',
'openidconsumer.middleware.OpenIDMiddleware',
'django.middleware.doc.XViewMiddleware',
'middleware.ajax_errors.AjaxMiddleware',
'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
'middleware.profile.ProfilerMiddleware')
Traceback:
File "C:\Python25\Lib\site-packages\django\core\handlers\base.py" in get_response
87. response = callback(request, *callback_args, **callback_kwargs)
File "C:\Python25\Lib\site-packages\django\contrib\admin\sites.py" in root
144. return self.model_page(request, *url.split('/', 2))
File "C:\Python25\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
44. response = view_func(request, *args, **kwargs)
File "C:\Python25\Lib\site-packages\django\contrib\admin\sites.py" in model_page
161. return admin_obj(request, rest_of_url)
File "C:\Python25\Lib\site-packages\django\contrib\admin\options.py" in __call__
246. return self.add_view(request)
File "C:\Python25\Lib\site-packages\django\contrib\admin\options.py" in add_view
488. return self.save_add(request, form, inline_formsets, '../%s/')
File "C:\Python25\Lib\site-packages\django\db\transaction.py" in _commit_on_success
198. res = func(*args, **kw)
File "C:\Python25\Lib\site-packages\django\contrib\admin\options.py" in save_add
365. request.user.message_set.create(message=msg)
File "C:\Python25\Lib\site-packages\django\db\models\fields\related.py" in create
302. self.add(new_obj)
File "C:\Python25\Lib\site-packages\django\db\models\fields\related.py" in add
297. obj.save()
File "C:\Python25\Lib\site-packages\django\db\models\base.py" in save
275. self.save_base()
File "C:\Python25\Lib\site-packages\django\db\models\base.py" in save_base
343. result = manager._insert(values, return_id=update_pk)
File "C:\Python25\Lib\site-packages\django\db\models\manager.py" in _insert
127. return insert_query(self.model, values, **kwargs)
File "C:\Python25\Lib\site-packages\django\db\models\query.py" in insert_query
870. return query.execute_sql(return_id)
File "C:\Python25\Lib\site-packages\django\db\models\sql\subqueries.py" in execute_sql
300. cursor = super(InsertQuery, self).execute_sql(None)
File "C:\Python25\Lib\site-packages\django\db\models\sql\query.py" in execute_sql
1608. cursor.execute(sql, params)
File "C:\Python25\lib\site-packages\django\db\backends\util.py" in execute
18. return self.cursor.execute(sql, params)
File "C:\Python25\lib\site-packages\MySQLdb\cursors.py" in execute
166. self.errorhandler(self, exc, value)
File "C:\Python25\lib\site-packages\MySQLdb\connections.py" in defaulterrorhandler
35. raise errorclass, errorvalue
Exception Type: OperationalError at /admin/blog/post/add/
Exception Value: (1366, "Incorrect string value: '\\xD0\\xB1\\xD1\\x8B\\xD0\\xBB...' for column 'message' at row 1")