博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
pycharm控制台报错:xmlrpc.client.Fault: Fault 0: 'java.lang.NullPointerException
阅读量:4300 次
发布时间:2019-05-27

本文共 3103 字,大约阅读时间需要 10 分钟。

刚才打开pycharm控制台报错了:

/usr/bin/python3.5 /mnt/hgfs/vm_share/pycharm-2018.2.4/helpers/pydev/pydevconsole.py 37963 43001import sys; print('Python %s on %s' % (sys.version, sys.platform))sys.path.extend(['/home/wangjinyu/work1/work_practice'])PyDev console: starting.Python 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609] on linuxProcess (4857) start...I (4857) just created a child process (4875).I am child process (4875) and my parent is 4857.Traceback (most recent call last):  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__    self.handle()  File "/usr/lib/python3.5/http/server.py", line 422, in handle    self.handle_one_request()  File "/usr/lib/python3.5/http/server.py", line 411, in handle_one_request    self.wfile.flush() #actually send the response if not already done.  File "/usr/lib/python3.5/socket.py", line 593, in write    return self._sock.send(b)BrokenPipeError: [Errno 32] Broken pipeDuring handling of the above exception, another exception occurred:Traceback (most recent call last):  File "/usr/lib/python3.5/socketserver.py", line 313, in _handle_request_noblock    self.process_request(request, client_address)  File "/usr/lib/python3.5/socketserver.py", line 341, in process_request    self.finish_request(request, client_address)  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request    self.RequestHandlerClass(request, client_address, self)  File "/usr/lib/python3.5/socketserver.py", line 683, in __init__    self.finish()  File "/usr/lib/python3.5/socketserver.py", line 742, in finish    self.wfile.close()  File "/usr/lib/python3.5/socket.py", line 593, in write    return self._sock.send(b)BrokenPipeError: [Errno 32] Broken pipe----------------------------------------Exception happened during processing of request from ('127.0.0.1', 55852)----------------------------------------Traceback (most recent call last):  File "/mnt/hgfs/vm_share/pycharm-2018.2.4/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 309, in run    self._on_run()  File "/mnt/hgfs/vm_share/pycharm-2018.2.4/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 1526, in _on_run    self.send_result(xml)  File "/mnt/hgfs/vm_share/pycharm-2018.2.4/helpers/pydev/_pydevd_bundle/pydevd_comm.py", line 1548, in send_result    self.frame_accessor.ReturnFullValue(self.seq, xml.getvalue())  File "/usr/lib/python3.5/xmlrpc/client.py", line 1092, in __call__    return self.__send(self.__name, args)  File "/usr/lib/python3.5/xmlrpc/client.py", line 1432, in __request    verbose=self.__verbose  File "/usr/lib/python3.5/xmlrpc/client.py", line 1134, in request    return self.single_request(host, handler, request_body, verbose)  File "/usr/lib/python3.5/xmlrpc/client.py", line 1150, in single_request    return self.parse_response(resp)  File "/usr/lib/python3.5/xmlrpc/client.py", line 1322, in parse_response    return u.close()  File "/usr/lib/python3.5/xmlrpc/client.py", line 655, in close    raise Fault(**self._stack[0])xmlrpc.client.Fault: 

搜了一下没解决,仔细看了下报错信息,控制台自动执行了我创建的thread.py模块的代码,第一反应是thread.py名称跟系统的冲突了,换了个名字果然好了,至于控制台为啥会调用thread原因不详。。。。

转载地址:http://kcxws.baihongyu.com/

你可能感兴趣的文章
linux进程之间通讯常用信号
查看>>
main函数带参数
查看>>
PCB布线技巧
查看>>
关于PCB设计中过孔能否打在焊盘上的两种观点
查看>>
PCB反推理念
查看>>
京东技术架构(一)构建亿级前端读服务
查看>>
git 提示:error: unable to rewind rpc post data - try increasing http.postBuffer
查看>>
php 解决json_encode中文UNICODE转码问题
查看>>
LNMP 安装 thinkcmf提示404not found
查看>>
PHP empty、isset、innull的区别
查看>>
apache+nginx 实现动静分离
查看>>
通过Navicat远程连接MySQL配置
查看>>
phpstorm开发工具的设置用法
查看>>
Linux 系统挂载数据盘
查看>>
Git基础(三)--常见错误及解决方案
查看>>
Git(四) - 分支管理
查看>>
PHP Curl发送数据
查看>>
HTTP协议
查看>>
HTTPS
查看>>
git add . git add -u git add -A区别
查看>>