邮箱没有收到注册,而且点击注册后,项目疯狂报错
来源:6-10 用户注册-4
慕UI3396178
2018-09-29
我给你看下具体的错误代码
Django version 1.9.8, using settings ‘MxOnline2.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[29/Sep/2018 23:53:24] “GET /register/ HTTP/1.1” 200 10000
[29/Sep/2018 23:53:24] “GET /static/css/reset.css HTTP/1.1” 200 2722
Traceback (most recent call last):
File “c:\python27\Lib\wsgiref\handlers.py”, line 86, in run
self.finish_response()
File “c:\python27\Lib\wsgiref\handlers.py”, line 128, in finish_response
self.write(data)
File “c:\python27\Lib\wsgiref\handlers.py”, line 212, in write
self.send_headers()
File “c:\python27\Lib\wsgiref\handlers.py”, line 270, in send_headers
self.send_preamble()
File “c:\python27\Lib\wsgiref\handlers.py”, line 194, in send_preamble
’Date: %s\r\n’ % format_date_time(time.time())
File “c:\python27\Lib\socket.py”, line 328, in write
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /static/css/reset.css HTTP/1.1” 500 59
Traceback (most recent call last):
File “c:\python27\Lib\SocketServer.py”, line 596, in process_request_thread
self.finish_request(request, client_address)
File “c:\python27\Lib\SocketServer.py”, line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “C:\Users\asus\Envs\mxonline2\lib\site-packages\django\core\servers\basehttp.py”, line 99, in init
super(WSGIRequestHandler, self).init(*args, **kwargs)
File “c:\python27\Lib\SocketServer.py”, line 654, in init
self.finish()
File “c:\python27\Lib\SocketServer.py”, line 713, in finish
self.wfile.close()
File “c:\python27\Lib\socket.py”, line 283, in close
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
Exception happened during processing of request from (‘127.0.0.1’, 64182)
[29/Sep/2018 23:53:24] “GET /static/css/login.css HTTP/1.1” 200 8192
Traceback (most recent call last):
File “c:\python27\Lib\wsgiref\handlers.py”, line 86, in run
self.finish_response()
File “c:\python27\Lib\wsgiref\handlers.py”, line 128, in finish_response
self.write(data)
File “c:\python27\Lib\wsgiref\handlers.py”, line 212, in write
self.send_headers()
File “c:\python27\Lib\wsgiref\handlers.py”, line 270, in send_headers
self.send_preamble()
File “c:\python27\Lib\wsgiref\handlers.py”, line 194, in send_preamble
’Date: %s\r\n’ % format_date_time(time.time())
File “c:\python27\Lib\socket.py”, line 328, in write
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /static/css/login.css HTTP/1.1” 500 59
Traceback (most recent call last):
File “c:\python27\Lib\SocketServer.py”, line 596, in process_request_thread
Exception happened during processing of request from (‘127.0.0.1’, 64184)
self.finish_request(request, client_address)
File “c:\python27\Lib\SocketServer.py”, line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “C:\Users\asus\Envs\mxonline2\lib\site-packages\django\core\servers\basehttp.py”, line 99, in init
super(WSGIRequestHandler, self).init(*args, **kwargs)
File “c:\python27\Lib\SocketServer.py”, line 654, in init
self.finish()
File “c:\python27\Lib\SocketServer.py”, line 713, in finish
self.wfile.close()
File “c:\python27\Lib\socket.py”, line 283, in close
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /static/images/dig_close.png HTTP/1.1” 200 1211
Traceback (most recent call last):
File “c:\python27\Lib\wsgiref\handlers.py”, line 86, in run
self.finish_response()
File “c:\python27\Lib\wsgiref\handlers.py”, line 128, in finish_response
self.write(data)
File “c:\python27\Lib\wsgiref\handlers.py”, line 212, in write
self.send_headers()
File “c:\python27\Lib\wsgiref\handlers.py”, line 270, in send_headers
self.send_preamble()
File “c:\python27\Lib\wsgiref\handlers.py”, line 194, in send_preamble
’Date: %s\r\n’ % format_date_time(time.time())
File “c:\python27\Lib\socket.py”, line 328, in write
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /static/images/dig_close.png HTTP/1.1” 500 59
Exception happened during processing of request from (‘127.0.0.1’, 64189)
Traceback (most recent call last):
File “c:\python27\Lib\SocketServer.py”, line 596, in process_request_thread
self.finish_request(request, client_address)
File “c:\python27\Lib\SocketServer.py”, line 331, in finish_request
self.RequestHandlerClass(request, client_address, self)
File “C:\Users\asus\Envs\mxonline2\lib\site-packages\django\core\servers\basehttp.py”, line 99, in init
super(WSGIRequestHandler, self).init(*args, **kwargs)
File “c:\python27\Lib\SocketServer.py”, line 654, in init
self.finish()
File “c:\python27\Lib\SocketServer.py”, line 713, in finish
self.wfile.close()
File “c:\python27\Lib\socket.py”, line 283, in close
self.flush()
[29/Sep/2018 23:53:24] “GET /captcha/image/2f3f82e5f7a054bf5caa93b9b0bb6cc308fb7011/ HTTP/1.1” 410 0
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
Traceback (most recent call last):
File “c:\python27\Lib\wsgiref\handlers.py”, line 86, in run
self.finish_response()
File “c:\python27\Lib\wsgiref\handlers.py”, line 128, in finish_response
self.write(data)
File “c:\python27\Lib\wsgiref\handlers.py”, line 212, in write
self.send_headers()
File “c:\python27\Lib\wsgiref\handlers.py”, line 270, in send_headers
self.send_preamble()
File “c:\python27\Lib\wsgiref\handlers.py”, line 194, in send_preamble
’Date: %s\r\n’ % format_date_time(time.time())
File “c:\python27\Lib\socket.py”, line 328, in write
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /captcha/image/2f3f82e5f7a054bf5caa93b9b0bb6cc308fb7011/ HTTP/1.1” 500 59
Exception happened during processing of request from Traceback (most recent call last):
File “c:\python27\Lib\SocketServer.py”, line 596, in process_request_thread
self.finish_request(request, client_address)
[29/Sep/2018 23:53:24] “GET /static/images/send.pngimages/send.png HTTP/1.1” 404 1703
File “c:\python27\Lib\SocketServer.py”, line 331, in finish_request
(‘127.0.0.1’, 64186)
self.RequestHandlerClass(request, client_address, self)
File “C:\Users\asus\Envs\mxonline2\lib\site-packages\django\core\servers\basehttp.py”, line 99, in init
super(WSGIRequestHandler, self).__init__(*args, **kwargs)
File “c:\python27\Lib\SocketServer.py”, line 654, in init
self.finish()
File “c:\python27\Lib\SocketServer.py”, line 713, in finish
self.wfile.close()
File “c:\python27\Lib\socket.py”, line 283, in close
self.flush()
File “c:\python27\Lib\socket.py”, line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[29/Sep/2018 23:53:24] “GET /static/images/57a801860001c34b12000460.jpg%22 HTTP/1.1” 404 1733
[29/Sep/2018 23:53:24] “GET /captcha/image/e038cb064cb978611de43de87b405d031af64b42/ HTTP/1.1” 200 4799
[29/Sep/2018 23:53:35] “POST /register/ HTTP/1.1” 200 9708
[29/Sep/2018 23:53:35] “GET /static/images/send.pngimages/send.png HTTP/1.1” 404 1703
[29/Sep/2018 23:53:35] “GET /static/images/57a801860001c34b12000460.jpg%22 HTTP/1.1” 404 1733
[29/Sep/2018 23:53:35] “GET /static/images/dig_close.png HTTP/1.1” 200 1211
1回答
-
bobby
2018-09-30
这个报错不用管, 应该是django在windows平台下的bug, 在linux上无bug, 而且也不会影响使用,我这里有时候也会报这个错, 到时候上线的时候不会用django自带的runserver 用uwsgi部署不会有这个问题
022018-10-04
相似问题