更新pycharm 3.0.2到3.1后我遇到了python和django控制台的问题,但是远程解释器正在运行。
我可以使用ssh,但我喜欢pycharm python和django console。
ssh://root@178.63.20.205:22/usr/bin/python -u /root/.pycharm_helpers/pydev/pydevconsole.py 0 0
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['/data/python/estate-kharkov.ci.ua', '/root/.pycharm_helpers/pycharm', '/root/.pycharm_helpers/pydev'])
Python 2.7.3 (default, Jan 2 2013, 13:56:14)
[GCC 4.7.2] on linux2
import django_manage_shell; django_manage_shell.run("E:/ci")
Traceback (most recent call last):
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 209, in addExec
self.finishExec()
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 352, in finishExec
return server.NotifyFinished()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault 0: 'java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0'>
Traceback (most recent call last):
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 209, in addExec
self.finishExec()
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 352, in finishExec
return server.NotifyFinished()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault 0: 'java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0'>
Traceback (most recent call last):
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 209, in addExec
self.finishExec()
File "/root/.pycharm_helpers/pydev/pydev_console_utils.py", line 352, in finishExec
return server.NotifyFinished()
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
Fault: <Fault 0: 'java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0'>
答案 0 :(得分:1)
在更新Pycharm有一些错误之后,骷髅会出现问题。
重新创建Pycharm远程解释器 !!!
创建远程解释器后,骨架将自动更新。