remote python and django console doesn't work after update to 3.1

after update pycharm 3.0.2 to 3.1 i have problems with  python and django console, but remote interpreter is work.

Ofcouse i can use ssh, but i like pycharm python and 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'>


romoute python.bmp
2 comments
Comment actions Permalink
Hi gangreyw, could you please try running python console with a different python interpreter. Looking at the stacktrace one can make a conclusion that it is some bug in python installation.
0
Comment actions Permalink
I think so too, but it works on pycharm 3.0.2, maby it's some pycharm bug!
0

Please sign in to leave a comment.