Menu

PyQt autocompletion and Java 7

2012-01-04
2013-03-15
  • O.Vencovsky

    O.Vencovsky - 2012-01-04

    Hello.

    There's a problem with autocompletion for PyQt4 in PyDev - when using Java 7.

    When I had Java 7 (u2) installed, PyQt autocompletion for PyDev didn't work.
    After typing QtGui and then dot,  Eclipse got frozen for a minute and then I got the error message:
    Error connecting to python process…

    I couldn't find what's the problem, I found only advices about firewall and localhost redirection, but it didn't wok for me.

    But then I uninstalled Java 7 and installed Java 6u30 and now it works well again.
    So I think there's some problem related to Java 7.

    I'm using:
    Eclipse Indigo, PyDev 2.3.0, x64 Environment: Windows 7 Ultimate( x64), Python 3.2.2 (x64), PyQt 4.9 (x64)

    Ondrej Vencovsky

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2012-01-04

    Have you checked if the firewall may be blocking java 7? I.e.: you may have given java 6 permission in the firewall but not java 7.

    Anyways, right now, java 6 is recommended (java 7 is not as thoroughly tested, but from some experiments I did, it should definitely at least work at that level, so, it may be nice checking if the firewall could be the culprit here - the easy way to test that would be temporarily disabling the firewall, doing the test and later reenabling it with the proper configuration if that was the case).

    Cheers,

    Fabio