Menu

Python Code Completion Erratic

Lin Parkh
2009-08-17
2013-03-15
  • Lin Parkh

    Lin Parkh - 2009-08-17

    Hi,
    I've had no problems with code completion until today. I've been away for a few weeks. Started up eclipse.. it did updates.. and then when I start typing a function name instead of offering completions it gives this error:
    org.python.pydev.core.IPythonNature.
    getProjectInterpreter()Ljava/lang/String;
    At: at com.python.pydev.analysis.additionalinfo.
    AdditionalProjectInterpreterInfo.
    getAdditionalInfoAndNature
    (AdditionalProjectInterpreterInfo.java:230)

    Interestingly once I get to point where I type "(" it offers corrects completions. But that's a bit late :-(
      I see references to java above wonder if somehow my python files are being viewed as in java editor? Not sure how to fix that. I am on PyDev 1.4.7.2843 for Extensions 1.4.5.2727.  Eclipse 3.4.2M20090211-1700
      Thank you,
       Lin
     

     
    • Fabio Zadrozny

      Fabio Zadrozny - 2009-08-17

      The problem is that you always need to be in the same version for pydev and pydev extensions (so, as you updated pydev, you also need to update pydev extensions).

      Cheers,

      Fabio