Jython console problem

lulu
2008-06-11
2013-03-15
  • lulu

    lulu - 2008-06-11

    Hi all,

    I've configured my Jython Path in the eclipse preferences, but when I try to open a Jython Console, I have this message:

    >>>import sys; print '%s %s' % (sys.executable or sys.platform, sys.version)
    Failed to read servers response: Connection refused

    And if I try try to enter something, this is the result:
    >>>print 'toto'
    Console already exited with value: 255 while waiting for an answer.

    I don't understand what happen.

    Could someone help me?

    Thanks in advance

    Ludovic

     
    • lulu

      lulu - 2008-06-11

      My configuration:
      Ubuntu 7.10
      Java 1.5.0_13
      Jython 2.1

       
    • lulu

      lulu - 2008-06-13

      OK, thanks.

      But is this bug only under Ubuntu?
      I tried on Windows and It's OK...

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2008-06-13

        It happens on windows too (but in your particular case, it seems that in windows the timeout set is enough).

        Cheers,

        Fabio

         
    • lulu

      lulu - 2008-06-19

      Do you when the 1.3.18  will be released?

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2008-06-19

        It was just released.

         
    • thomas lemaitre

      thomas lemaitre - 2008-06-25

      Hi everyone,

      I just installed the new release 1.3.18 of Pydev but it appear that the bug is still active.
      I have Ubuntu 7.10, with java 1.5.0_13 and try with Jython 2.2.1.
      I don't know how to reopen the bug so can someone reopen it.

      Thanks

      Thomas

       
      • Fabio Zadrozny

        Fabio Zadrozny - 2008-06-26

        Have you tried raising the 'maximum number of connection attempts' in window > preferences > pydev > interactive console?

        Also, is there some firewall active (it could be blocking communication to the shell).

        Cheers,

        Fabio

         
    • thomas lemaitre

      thomas lemaitre - 2008-06-26

      Yes I have tried without success. There is no firewall installed on my computer. I am wondering if it is due to the default Ubuntu configuration. I was said that most port where closed by default. If you know which port Jython use to connect to the shell, maybe I could check it out.

      Thomas

       
      • thomas lemaitre

        thomas lemaitre - 2008-06-26

        Sorry, I said "Jython" but wanted to say Pydev.

         
    • thomas lemaitre

      thomas lemaitre - 2008-06-30

      I found something that might be interesting for you.
      I launch my Eclipse and open a Python console. So far there is no problem at all. The Python console is connected and works fine. And if I open a Jython console after that, of course the console can't connect, but the Python console doesn't reconnect !
      I hope it will give you some clue to solve the bug.

      Cheers,

      Thomas