Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runserver 捕捉到这样的错误 #85

Open
somenzz opened this issue May 12, 2019 · 0 comments
Open

runserver 捕捉到这样的错误 #85

somenzz opened this issue May 12, 2019 · 0 comments

Comments

@somenzz
Copy link

somenzz commented May 12, 2019

H:\github\wechat-spider>python2 manage.py runserver 0.0.0.0:8001
Performing system checks...

System check identified no issues (0 silenced).
May 12, 2019 - 14:24:29
Django version 1.8.1, using settings 'wechatspider.settings'
Starting development server at http://0.0.0.0:8001/
Quit the server with CTRL-BREAK.
{u'proxy_status': u'\u5f02\u5e38', u'wechats': <Page 1 of 1>, u'params': <QueryDict: {}>, u'antispider': 0, u'downloader': 10, u'active_nav': u'wechats'}
[12/May/2019 14:24:54]"GET /wechat/? HTTP/1.1" 200 9495
{u'proxy_status': u'\u5f02\u5e38', u'wechats': <Page 1 of 1>, u'params': <QueryDict: {}>, u'antispider': 0, u'downloader': 10, u'active_nav': u'wechats'}
[12/May/2019 14:24:55]"GET /wechat/ HTTP/1.1" 200 9495
[12/May/2019 14:24:56]"GET /static/favicon.ico 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 324, in write
self.flush()
File "C:\Python27\lib\socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]
[12/May/2019 14:24:57]"GET /static/favicon.ico HTTP/1.1" 500 59

Exception happened during processing of request from[ (12/May/2019 14:24:56]"GET /static/favicon.ico HTTP/1.1" 200 15086
'127.0.0.1', 57832)
Traceback (most recent call last):
File "C:\Python27\lib\SocketServer.py", line 593, in process_request_thread
self.finish_request(request, client_address)
File "C:\Python27\lib\SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "C:\Python27\lib\site-packages\django\core\servers\basehttp.py", line 102, in init
super(WSGIRequestHandler, self).init(*args, **kwargs)
File "C:\Python27\lib\SocketServer.py", line 651, in init
self.finish()
File "C:\Python27\lib\SocketServer.py", line 710, in finish
self.wfile.close()
File "C:\Python27\lib\socket.py", line 279, in close
self.flush()
File "C:\Python27\lib\socket.py", line 303, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant