You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is an empty page and a traceback in the log:
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: invalid data
Traceback (most recent call last):
File "/usr/local/lib/python2.5/SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.5/SocketServer.py", line 522, in init
self.handle()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/home/majid/temboz/server.py", line 214, in do_POST
self.process_post_info()
File "/home/majid/temboz/server.py", line 208, in process_post_info
query_list = [(n, v.decode('UTF-8')) for n, v in cgi.parse_qsl(istr, 1)]
File "/usr/local/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
The text was updated successfully, but these errors were encountered:
The result is an empty page and a traceback in the log:
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: invalid data
Traceback (most recent call last):
File "/usr/local/lib/python2.5/SocketServer.py", line 464, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python2.5/SocketServer.py", line 522, in init
self.handle()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/local/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/home/majid/temboz/server.py", line 214, in do_POST
self.process_post_info()
File "/home/majid/temboz/server.py", line 208, in process_post_info
query_list = [(n, v.decode('UTF-8')) for n, v in cgi.parse_qsl(istr, 1)]
File "/usr/local/lib/python2.5/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
The text was updated successfully, but these errors were encountered: