ошибка ((
192.168.10.2 - - [21/Nov/2015 15:42:26] "GET /web?searchType=authors&searchTerm=%D0%B3%D0%BE%D1%80%D0%BF%D0%BE%D0%B6%D0%B0%D0%BA%D1%81 HTTP/1.1" 200 2106
192.168.10.2 - - [21/Nov/2015 15:42:27] "GET /web?id=2230502 HTTP/1.1" 200 2248
192.168.10.2 - - [21/Nov/2015 15:42:36] "GET /web?id=3330502 HTTP/1.1" 200 5589
192.168.10.2 - - [21/Nov/2015 15:42:37] "GET /web?id=99275229 HTTP/1.1" 200 43679
192.168.10.2 - - [21/Nov/2015 15:42:38] "GET /web?id=9967993 HTTP/1.1" 200 27909
Traceback (most recent call last):
File "/usr/local/lib/python3.3/wsgiref/handlers.py", line 138, in run
self.finish_response()
File "/usr/local/lib/python3.3/wsgiref/handlers.py", line 179, in finish_response
self.write(data)
File "/usr/local/lib/python3.3/wsgiref/handlers.py", line 272, in write
self.send_headers()
File "/usr/local/lib/python3.3/wsgiref/handlers.py", line 331, in send_headers
self._write(bytes(self.headers))
File "/usr/local/lib/python3.3/wsgiref/headers.py", line 142, in __bytes__
return str(self).encode('iso-8859-1')
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2013' in position 48: ordinal not in range(256)
Проблема наверно в том что эти книги в кодировке win-1251, это не лечится?
Please Войти or Create an account to join the conversation.
- wishuwerehere
-
Topic Author
- Offline
- Осваиваюсь на форуме
-
- Posts: 24
Please Войти or Create an account to join the conversation.
- zhuravel
-
- Offline
- Захожу иногда
-
- Posts: 71
Please Войти or Create an account to join the conversation.
- zhuravel
-
- Offline
- Захожу иногда
-
- Posts: 71