1 | <html><head>
|
---|
2 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"></head><body bgcolor="#f0f0f8">
|
---|
3 | <table summary="heading" border="0" cellpadding="2" cellspacing="0" width="100%">
|
---|
4 | <tbody><tr bgcolor="#6622aa">
|
---|
5 | <td valign="bottom"> <br>
|
---|
6 | <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><class 'django.utils.encoding.DjangoUnicodeDecodeError'></strong></big></big></font></td><td align="right" valign="bottom"><font color="#ffffff" face="helvetica, arial">Python 2.6.2: /usr/bin/python<br>Wed Jun 17 21:07:09 2009</font></td></tr></tbody></table>
|
---|
7 |
|
---|
8 | <p>A problem occurred in a Python script. Here is the sequence of
|
---|
9 | function calls leading up to the error, in the order they occurred.</p>
|
---|
10 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
11 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///var/lib/python-support/python2.6/flup/server/fcgi_base.py">/var/lib/python-support/python2.6/flup/server/fcgi_base.py</a> in <strong>run</strong>(self=<flup.server.fcgi_base.Request object at 0x9b8a0cc>)</td></tr>
|
---|
12 | <tr><td><font color="#909090"><tt><small> 556</small> """Runs the handler, flushes the streams, and ends the request."""<br>
|
---|
13 | </tt></font></td></tr>
|
---|
14 | <tr><td><font color="#909090"><tt><small> 557</small> try:<br>
|
---|
15 | </tt></font></td></tr>
|
---|
16 | <tr><td bgcolor="#ffccee"><tt><small> 558</small> protocolStatus, appStatus = self.server.handler(self)<br>
|
---|
17 | </tt></td></tr>
|
---|
18 | <tr><td><font color="#909090"><tt><small> 559</small> except:<br>
|
---|
19 | </tt></font></td></tr>
|
---|
20 | <tr><td><font color="#909090"><tt><small> 560</small> traceback.print_exc(file=self.stderr)<br>
|
---|
21 | </tt></font></td></tr>
|
---|
22 | <tr><td><small><font color="#909090">protocolStatus <em>undefined</em>, appStatus <em>undefined</em>, <strong>self</strong> = <flup.server.fcgi_base.Request object at 0x9b8a0cc>, self.<strong>server</strong> = <flup.server.fcgi_fork.WSGIServer object at 0x9b8188c>, self.server.<strong>handler</strong> = <bound method WSGIServer.handler of <flup.server.fcgi_fork.WSGIServer object at 0x9b8188c>></font></small></td></tr></tbody></table>
|
---|
23 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
24 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///var/lib/python-support/python2.6/flup/server/fcgi_base.py">/var/lib/python-support/python2.6/flup/server/fcgi_base.py</a> in <strong>handler</strong>(self=<flup.server.fcgi_fork.WSGIServer
|
---|
25 | object at 0x9b8188c>, req=<flup.server.fcgi_base.Request object
|
---|
26 | at 0x9b8a0cc>)</td></tr>
|
---|
27 | <tr><td><font color="#909090"><tt><small> 1114</small> try:<br>
|
---|
28 | </tt></font></td></tr>
|
---|
29 | <tr><td><font color="#909090"><tt><small> 1115</small> try:<br>
|
---|
30 | </tt></font></td></tr>
|
---|
31 | <tr><td bgcolor="#ffccee"><tt><small> 1116</small> result = self.application(environ, start_response)<br>
|
---|
32 | </tt></td></tr>
|
---|
33 | <tr><td><font color="#909090"><tt><small> 1117</small> try:<br>
|
---|
34 | </tt></font></td></tr>
|
---|
35 | <tr><td><font color="#909090"><tt><small> 1118</small> for data in result:<br>
|
---|
36 | </tt></font></td></tr>
|
---|
37 | <tr><td><small><font color="#909090"><strong>result</strong> = None, <strong>self</strong> = <flup.server.fcgi_fork.WSGIServer object at 0x9b8188c>, self.<strong>application</strong> = <django.core.handlers.wsgi.WSGIHandler object at 0x9b8186c>, <strong>environ</strong> =
|
---|
38 | {'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTP_ACCEPT':
|
---|
39 | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
40 | 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.7',
|
---|
41 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
|
---|
42 | 'ru,en-us;q=0.7,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive',
|
---|
43 | 'HTTP_COOKIE': 'sessionid=bd51090fe79fbc6dce43ea51efd3866f',
|
---|
44 | 'HTTP_HOST': '10.0.1.4', 'HTTP_KEEP_ALIVE': '300', ...}, <strong>start_response</strong> = <function start_response at 0x9b884c4></font></small></td></tr></tbody></table>
|
---|
45 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
46 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py">/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py</a> in <strong>__call__</strong>(self=<django.core.handlers.wsgi.WSGIHandler
|
---|
47 | object at 0x9b8186c>, environ={'CONTENT_LENGTH': '', 'CONTENT_TYPE':
|
---|
48 | '', 'HTTP_ACCEPT':
|
---|
49 | 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
|
---|
50 | 'HTTP_ACCEPT_CHARSET': 'windows-1251,utf-8;q=0.7,*;q=0.7',
|
---|
51 | 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
|
---|
52 | 'ru,en-us;q=0.7,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive',
|
---|
53 | 'HTTP_COOKIE': 'sessionid=bd51090fe79fbc6dce43ea51efd3866f',
|
---|
54 | 'HTTP_HOST': '10.0.1.4', 'HTTP_KEEP_ALIVE': '300', ...},
|
---|
55 | start_response=<function start_response at 0x9b884c4>)</td></tr>
|
---|
56 | <tr><td><font color="#909090"><tt><small> 237</small> response = http.HttpResponseBadRequest()<br>
|
---|
57 | </tt></font></td></tr>
|
---|
58 | <tr><td><font color="#909090"><tt><small> 238</small> else:<br>
|
---|
59 | </tt></font></td></tr>
|
---|
60 | <tr><td bgcolor="#ffccee"><tt><small> 239</small> response = self.get_response(request)<br>
|
---|
61 | </tt></td></tr>
|
---|
62 | <tr><td><font color="#909090"><tt><small> 240</small> <br>
|
---|
63 | </tt></font></td></tr>
|
---|
64 | <tr><td><font color="#909090"><tt><small> 241</small> # Apply response middleware<br>
|
---|
65 | </tt></font></td></tr>
|
---|
66 | <tr><td><small><font color="#909090">response <em>undefined</em>, <strong>self</strong> = <django.core.handlers.wsgi.WSGIHandler object at 0x9b8186c>, self.<strong>get_response</strong> = <bound method WSGIHandler.get_response of <djang...e.handlers.wsgi.WSGIHandler object at 0x9b8186c>>, <strong>request</strong> = <WSGIRequest
|
---|
67 | GET:<QueryDict: {}>,
|
---|
68 | POST:<QueryDic...gi.url_scheme': 'http',
|
---|
69 | 'wsgi.version': (1, 0)}></font></small></td></tr></tbody></table>
|
---|
70 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
71 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py">/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py</a> in <strong>get_response</strong>(self=<django.core.handlers.wsgi.WSGIHandler object at 0x9b8186c>, request=<WSGIRequest
|
---|
72 | GET:<QueryDict: {}>,
|
---|
73 | POST:<QueryDic...gi.url_scheme': 'http',
|
---|
74 | 'wsgi.version': (1, 0)}>)</td></tr>
|
---|
75 | <tr><td><font color="#909090"><tt><small> 126</small> exc_info = sys.exc_info()<br>
|
---|
76 | </tt></font></td></tr>
|
---|
77 | <tr><td><font color="#909090"><tt><small> 127</small> receivers = signals.got_request_exception.send(sender=self.__class__, request=request)<br>
|
---|
78 | </tt></font></td></tr>
|
---|
79 | <tr><td bgcolor="#ffccee"><tt><small> 128</small> return self.handle_uncaught_exception(request, resolver, exc_info)<br>
|
---|
80 | </tt></td></tr>
|
---|
81 | <tr><td><font color="#909090"><tt><small> 129</small> <br>
|
---|
82 | </tt></font></td></tr>
|
---|
83 | <tr><td><font color="#909090"><tt><small> 130</small> def handle_uncaught_exception(self, request, resolver, exc_info):<br>
|
---|
84 | </tt></font></td></tr>
|
---|
85 | <tr><td><small><font color="#909090"><strong>self</strong> = <django.core.handlers.wsgi.WSGIHandler object at 0x9b8186c>, self.<strong>handle_uncaught_exception</strong> = <bound method WSGIHandler.handle_uncaught_except...e.handlers.wsgi.WSGIHandler object at 0x9b8186c>>, <strong>request</strong> = <WSGIRequest
|
---|
86 | GET:<QueryDict: {}>,
|
---|
87 | POST:<QueryDic...gi.url_scheme': 'http',
|
---|
88 | 'wsgi.version': (1, 0)}>, <strong>resolver</strong> = <RegexURLResolver core.urls ^/>, <strong>exc_info</strong> =
|
---|
89 | (<class 'psycopg2.ProgrammingError'>,
|
---|
90 | ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
91 | ORDER BY\n',), <traceback object at 0x9cefb44>)</font></small></td></tr></tbody></table>
|
---|
92 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
93 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py">/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py</a> in <strong>handle_uncaught_exception</strong>(self=<django.core.handlers.wsgi.WSGIHandler
|
---|
94 | object at 0x9b8186c>, request=<WSGIRequest
|
---|
95 | GET:<QueryDict: {}>,
|
---|
96 | POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1,
|
---|
97 | 0)}>, resolver=<RegexURLResolver core.urls ^/>,
|
---|
98 | exc_info=(<class 'psycopg2.ProgrammingError'>,
|
---|
99 | ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
100 | ORDER BY\n',), <traceback object at 0x9cefb44>))</td></tr>
|
---|
101 | <tr><td><font color="#909090"><tt><small> 146</small> if settings.DEBUG:<br>
|
---|
102 | </tt></font></td></tr>
|
---|
103 | <tr><td><font color="#909090"><tt><small> 147</small> from django.views import debug<br>
|
---|
104 | </tt></font></td></tr>
|
---|
105 | <tr><td bgcolor="#ffccee"><tt><small> 148</small> return debug.technical_500_response(request, *exc_info)<br>
|
---|
106 | </tt></td></tr>
|
---|
107 | <tr><td><font color="#909090"><tt><small> 149</small> <br>
|
---|
108 | </tt></font></td></tr>
|
---|
109 | <tr><td><font color="#909090"><tt><small> 150</small> # When DEBUG is False, send an error message to the admins.<br>
|
---|
110 | </tt></font></td></tr>
|
---|
111 | <tr><td><small><font color="#909090"><strong>debug</strong> = <module 'django.views.debug' from '/usr/local/lib/python2.6/dist-packages/django/views/debug.pyc'>, debug.<strong>technical_500_response</strong> = <function technical_500_response at 0x9be3454>, <strong>request</strong> = <WSGIRequest
|
---|
112 | GET:<QueryDict: {}>,
|
---|
113 | POST:<QueryDic...gi.url_scheme': 'http',
|
---|
114 | 'wsgi.version': (1, 0)}>, <strong>exc_info</strong> =
|
---|
115 | (<class 'psycopg2.ProgrammingError'>,
|
---|
116 | ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
117 | ORDER BY\n',), <traceback object at 0x9cefb44>)</font></small></td></tr></tbody></table>
|
---|
118 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
119 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/views/debug.py">/usr/local/lib/python2.6/dist-packages/django/views/debug.py</a> in <strong>technical_500_response</strong>(request=<WSGIRequest
|
---|
120 | GET:<QueryDict:
|
---|
121 | {}>,
|
---|
122 | POST:<QueryDic...gi.url_scheme': 'http', 'wsgi.version': (1,
|
---|
123 | 0)}>, exc_type=<class 'psycopg2.ProgrammingError'>,
|
---|
124 | exc_value=ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
125 | ORDER BY\n',), tb=<traceback object at 0x9cefb44>)</td></tr>
|
---|
126 | <tr><td><font color="#909090"><tt><small> 37</small> """<br>
|
---|
127 | </tt></font></td></tr>
|
---|
128 | <tr><td><font color="#909090"><tt><small> 38</small> reporter = ExceptionReporter(request, exc_type, exc_value, tb)<br>
|
---|
129 | </tt></font></td></tr>
|
---|
130 | <tr><td bgcolor="#ffccee"><tt><small> 39</small> html = reporter.get_traceback_html()<br>
|
---|
131 | </tt></td></tr>
|
---|
132 | <tr><td><font color="#909090"><tt><small> 40</small> return HttpResponseServerError(html, mimetype='text/html')<br>
|
---|
133 | </tt></font></td></tr>
|
---|
134 | <tr><td><font color="#909090"><tt><small> 41</small> <br>
|
---|
135 | </tt></font></td></tr>
|
---|
136 | <tr><td><small><font color="#909090">html <em>undefined</em>, <strong>reporter</strong> = <django.views.debug.ExceptionReporter instance at 0x9cf752c>, reporter.<strong>get_traceback_html</strong> = <bound method ExceptionReporter.get_traceback_ht...s.debug.ExceptionReporter instance at 0x9cf752c>></font></small></td></tr></tbody></table>
|
---|
137 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
138 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/views/debug.py">/usr/local/lib/python2.6/dist-packages/django/views/debug.py</a> in <strong>get_traceback_html</strong>(self=<django.views.debug.ExceptionReporter instance at 0x9cf752c>)</td></tr>
|
---|
139 | <tr><td><font color="#909090"><tt><small> 95</small> c = Context({<br>
|
---|
140 | </tt></font></td></tr>
|
---|
141 | <tr><td><font color="#909090"><tt><small> 96</small> 'exception_type': self.exc_type.__name__,<br>
|
---|
142 | </tt></font></td></tr>
|
---|
143 | <tr><td bgcolor="#ffccee"><tt><small> 97</small> 'exception_value': smart_unicode(self.exc_value, errors='replace'),<br>
|
---|
144 | </tt></td></tr>
|
---|
145 | <tr><td><font color="#909090"><tt><small> 98</small> 'unicode_hint': unicode_hint,<br>
|
---|
146 | </tt></font></td></tr>
|
---|
147 | <tr><td><font color="#909090"><tt><small> 99</small> 'frames': frames,<br>
|
---|
148 | </tt></font></td></tr>
|
---|
149 | <tr><td><small><font color="#909090"><em>global</em> <strong>smart_unicode</strong> = <function smart_unicode at 0xb7d4509c>, <strong>self</strong> = <django.views.debug.ExceptionReporter instance at 0x9cf752c>, self.<strong>exc_value</strong> = ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8 ORDER BY\n',), errors <em>undefined</em></font></small></td></tr></tbody></table>
|
---|
150 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
151 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/utils/encoding.py">/usr/local/lib/python2.6/dist-packages/django/utils/encoding.py</a> in <strong>smart_unicode</strong>(s=ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
152 | ORDER BY\n',), encoding='utf-8', strings_only=False, errors='replace')</td></tr>
|
---|
153 | <tr><td><font color="#909090"><tt><small> 33</small> # The input is the result of a gettext_lazy() call.<br>
|
---|
154 | </tt></font></td></tr>
|
---|
155 | <tr><td><font color="#909090"><tt><small> 34</small> return s<br>
|
---|
156 | </tt></font></td></tr>
|
---|
157 | <tr><td bgcolor="#ffccee"><tt><small> 35</small> return force_unicode(s, encoding, strings_only, errors)<br>
|
---|
158 | </tt></td></tr>
|
---|
159 | <tr><td><font color="#909090"><tt><small> 36</small> <br>
|
---|
160 | </tt></font></td></tr>
|
---|
161 | <tr><td><font color="#909090"><tt><small> 37</small> def force_unicode(s, encoding='utf-8', strings_only=False, errors='strict'):<br>
|
---|
162 | </tt></font></td></tr>
|
---|
163 | <tr><td><small><font color="#909090"><em>global</em> <strong>force_unicode</strong> = <function force_unicode at 0xb7d3c6bc>, <strong>s</strong> = ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8 ORDER BY\n',), <strong>encoding</strong> = 'utf-8', <strong>strings_only</strong> = False, <strong>errors</strong> = 'replace'</font></small></td></tr></tbody></table>
|
---|
164 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
165 | <tbody><tr><td bgcolor="#d8bbff"><big> </big><a href="file:///usr/local/lib/python2.6/dist-packages/django/utils/encoding.py">/usr/local/lib/python2.6/dist-packages/django/utils/encoding.py</a> in <strong>force_unicode</strong>(s=ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
166 | ORDER BY\n',), encoding='utf-8', strings_only=False, errors='replace')</td></tr>
|
---|
167 | <tr><td><font color="#909090"><tt><small> 68</small> s = s.decode(encoding, errors)<br>
|
---|
168 | </tt></font></td></tr>
|
---|
169 | <tr><td><font color="#909090"><tt><small> 69</small> except UnicodeDecodeError, e:<br>
|
---|
170 | </tt></font></td></tr>
|
---|
171 | <tr><td bgcolor="#ffccee"><tt><small> 70</small> raise DjangoUnicodeDecodeError(s, *e.args)<br>
|
---|
172 | </tt></td></tr>
|
---|
173 | <tr><td><font color="#909090"><tt><small> 71</small> return s<br>
|
---|
174 | </tt></font></td></tr>
|
---|
175 | <tr><td><font color="#909090"><tt><small> 72</small> <br>
|
---|
176 | </tt></font></td></tr>
|
---|
177 | <tr><td><small><font color="#909090"><em>global</em> <strong>DjangoUnicodeDecodeError</strong> = <class 'django.utils.encoding.DjangoUnicodeDecodeError'>, <strong>s</strong> = ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8 ORDER BY\n',), <strong>e</strong> = UnicodeDecodeError('ascii', '\xd0\x92\xd1\x8b\xd...8 ORDER BY\n', 0, 1, 'ordinal not in range(128)'), e.<strong>args</strong> = ('ascii', '<font color="#c040c0">\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f</font> SELECT DISTINCT ON <font color="#c040c0">\xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd</font>...<font color="#c040c0">\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8</font> <font color="#c040c0">\xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8</font> ORDER BY<font color="#c040c0">\n</font>', 0, 1, 'ordinal not in range(128)')</font></small></td></tr></tbody></table><p><strong><class 'django.utils.encoding.DjangoUnicodeDecodeError'></strong>:
|
---|
178 | 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in
|
---|
179 | range(128). You passed in
|
---|
180 | ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f
|
---|
181 | SELECT DISTINCT ON \xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd\xd1\x8b
|
---|
182 | \xd1\x81\xd0\xbe\xd0\xb2\xd0\xbf\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x82\xd1\x8c
|
---|
183 | \xd1\x81
|
---|
184 | \xd0\xb8\xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8
|
---|
185 | \xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8
|
---|
186 | ORDER BY\n',) (<class 'psycopg2.ProgrammingError'>)
|
---|
187 | <br><tt><small> </small> </tt>args =
|
---|
188 | ('ascii', '<font color="#c040c0">\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f</font> SELECT DISTINCT ON <font color="#c040c0">\xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd</font>...<font color="#c040c0">\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8</font> <font color="#c040c0">\xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8</font> ORDER BY<font color="#c040c0">\n</font>', 0, 1, 'ordinal not in range(128)')
|
---|
189 | <br><tt><small> </small> </tt>encoding =
|
---|
190 | 'ascii'
|
---|
191 | <br><tt><small> </small> </tt>end =
|
---|
192 | 1
|
---|
193 | <br><tt><small> </small> </tt>message =
|
---|
194 | ''
|
---|
195 | <br><tt><small> </small> </tt>obj =
|
---|
196 | ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\x...xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8 ORDER BY\n',)
|
---|
197 | <br><tt><small> </small> </tt>object =
|
---|
198 | '<font color="#c040c0">\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f</font> SELECT DISTINCT ON <font color="#c040c0">\xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd</font>...<font color="#c040c0">\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8</font> <font color="#c040c0">\xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8</font> ORDER BY<font color="#c040c0">\n</font>'
|
---|
199 | <br><tt><small> </small> </tt>reason =
|
---|
200 | 'ordinal not in range(128)'
|
---|
201 | <br><tt><small> </small> </tt>start =
|
---|
202 | 0
|
---|
203 |
|
---|
204 |
|
---|
205 | <!-- The above is a description of an error in a Python program, formatted
|
---|
206 | for a Web browser because the 'cgitb' module was enabled. In case you
|
---|
207 | are not reading this in a Web browser, here is the original traceback:
|
---|
208 |
|
---|
209 | Traceback (most recent call last):
|
---|
210 | File "/var/lib/python-support/python2.6/flup/server/fcgi_base.py", line 558, in run
|
---|
211 | protocolStatus, appStatus = self.server.handler(self)
|
---|
212 | File "/var/lib/python-support/python2.6/flup/server/fcgi_base.py", line 1116, in handler
|
---|
213 | result = self.application(environ, start_response)
|
---|
214 | File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 239, in __call__
|
---|
215 | response = self.get_response(request)
|
---|
216 | File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 128, in get_response
|
---|
217 | return self.handle_uncaught_exception(request, resolver, exc_info)
|
---|
218 | File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 148, in handle_uncaught_exception
|
---|
219 | return debug.technical_500_response(request, *exc_info)
|
---|
220 | File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py", line 39, in technical_500_response
|
---|
221 | html = reporter.get_traceback_html()
|
---|
222 | File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py", line 97, in get_traceback_html
|
---|
223 | 'exception_value': smart_unicode(self.exc_value, errors='replace'),
|
---|
224 | File "/usr/local/lib/python2.6/dist-packages/django/utils/encoding.py", line 35, in smart_unicode
|
---|
225 | return force_unicode(s, encoding, strings_only, errors)
|
---|
226 | File "/usr/local/lib/python2.6/dist-packages/django/utils/encoding.py", line 70, in force_unicode
|
---|
227 | raise DjangoUnicodeDecodeError(s, *e.args)
|
---|
228 | DjangoUnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128). You passed in ProgrammingError('\xd0\x92\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f SELECT DISTINCT ON \xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd\xd1\x8b \xd1\x81\xd0\xbe\xd0\xb2\xd0\xbf\xd0\xb0\xd0\xb4\xd0\xb0\xd1\x82\xd1\x8c \xd1\x81 \xd0\xb8\xd0\xb7\xd0\xbd\xd0\xb0\xd1\x87\xd0\xb0\xd0\xbb\xd1\x8c\xd0\xbd\xd1\x8b\xd0\xbc\xd0\xb8 \xd0\xb2\xd1\x8b\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f\xd0\xbc\xd0\xb8 ORDER BY\n',) (<class 'psycopg2.ProgrammingError'>)
|
---|
229 |
|
---|
230 | -->
|
---|
231 | </p></body></html>
|
---|