13-8 excel导入插件
来源:13-8 excel导入插件介绍
慕田峪2144405
2018-03-24
在xadmin中,点课程页面在pycharm显示下面的错误代码:
[24/Mar/2018 11:05:38] "GET /static/xadmin/css/xadmin.form.css HTTP/1.1" 200 3763
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 332, in send_headers
self.send_preamble()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 258, in send_preamble
self._write(('Server: %s\r\n' % self.server_software).encode('iso-8859-1'))
File "d:\python\python36\Lib\wsgiref\handlers.py", line 453, in _write
result = self.stdout.write(data)
File "d:\python\python36\Lib\socketserver.py", line 775, in write
self._sock.sendall(b)
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
[24/Mar/2018 11:05:38] "GET /static/xadmin/css/xadmin.widget.editable.css HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 52324)
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 333, in send_headers
self._write(bytes(self.headers))
File "d:\python\python36\Lib\wsgiref\handlers.py", line 453, in _write
result = self.stdout.write(data)
File "d:\python\python36\Lib\socketserver.py", line 775, in write
self._sock.sendall(b)
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
[24/Mar/2018 11:05:38] "GET /static/xadmin/css/xadmin.form.css HTTP/1.1" 500 59
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 52325)
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 333, in send_headers
self._write(bytes(self.headers))
File "d:\python\python36\Lib\wsgiref\handlers.py", line 453, in _write
result = self.stdout.write(data)
File "d:\python\python36\Lib\socketserver.py", line 775, in write
self._sock.sendall(b)
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 141, in run
self.handle_error()
File "C:\Users\zengd\Envs\mxonline\lib\site-packages\django\core\servers\basehttp.py", line 86, in handle_error
super().handle_error()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 368, in handle_error
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 331, in send_headers
if not self.origin_server or self.client_is_modern():
File "d:\python\python36\Lib\wsgiref\handlers.py", line 344, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\python36\Lib\socketserver.py", line 639, in process_request_thread
self.finish_request(request, client_address)
File "d:\python\python36\Lib\socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "d:\python\python36\Lib\socketserver.py", line 696, in __init__
self.handle()
File "C:\Users\zengd\Envs\mxonline\lib\site-packages\django\core\servers\basehttp.py", line 154, in handle
handler.run(self.server.get_app())
File "d:\python\python36\Lib\wsgiref\handlers.py", line 144, in run
self.close()
File "d:\python\python36\Lib\wsgiref\simple_server.py", line 35, in close
self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 138, in run
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 332, in send_headers
self.send_preamble()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 258, in send_preamble
self._write(('Server: %s\r\n' % self.server_software).encode('iso-8859-1'))
File "d:\python\python36\Lib\wsgiref\handlers.py", line 453, in _write
result = self.stdout.write(data)
File "d:\python\python36\Lib\socketserver.py", line 775, in write
self._sock.sendall(b)
ConnectionAbortedError: [WinError 10053] 你的主机中的软件中止了一个已建立的连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\python36\Lib\wsgiref\handlers.py", line 141, in run
self.handle_error()
File "C:\Users\zengd\Envs\mxonline\lib\site-packages\django\core\servers\basehttp.py", line 86, in handle_error
super().handle_error()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 368, in handle_error
self.finish_response()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 180, in finish_response
self.write(data)
File "d:\python\python36\Lib\wsgiref\handlers.py", line 274, in write
self.send_headers()
File "d:\python\python36\Lib\wsgiref\handlers.py", line 331, in send_headers
if not self.origin_server or self.client_is_modern():
File "d:\python\python36\Lib\wsgiref\handlers.py", line 344, in client_is_modern
return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
TypeError: 'NoneType' object is not subscriptable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\python36\Lib\socketserver.py", line 639, in process_request_thread
self.finish_request(request, client_address)
File "d:\python\python36\Lib\socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "d:\python\python36\Lib\socketserver.py", line 696, in __init__
self.handle()
File "C:\Users\zengd\Envs\mxonline\lib\site-packages\django\core\servers\basehttp.py", line 154, in handle
handler.run(self.server.get_app())
File "d:\python\python36\Lib\wsgiref\handlers.py", line 144, in run
self.close()
File "d:\python\python36\Lib\wsgiref\simple_server.py", line 35, in close
self.status.split(' ',1)[0], self.bytes_sent
AttributeError: 'NoneType' object has no attribute 'split'
----------------------------------------
[24/Mar/2018 11:05:38] "GET /xadmin/jsi18n/ HTTP/1.1" 200 7678
2回答
-
bobby
2018-03-28
好的,
00 -
bobby
2018-03-26
你的django和python版本分别是多少?
032019-02-21
相似问题