Menu

Autocompletion gives error "Invali...

2011-08-17
2013-03-15
  • Kirill Müller

    Kirill Müller - 2011-08-17

    When trying to use pydev's autocompletion (Ctrl+Space) or quick fix (Ctrl+1), the dropdown contains only the following entry.

    Invalid pc in LineNumberTable in class file
    org/python/pydev/parser/grammar25/PythonGrammar25

    I have already reinstalled pydev - without success.

    My environment:

    Ubuntu Natty

    Eclipse SDK

    Version: 3.5.2
    Build id: M20100211-1343

    PyDev for Eclipse 2.2.1.2011071313 org.python.pydev.feature.feature.group

     
  • Kirill Müller

    Kirill Müller - 2011-08-17

    I'm on the 64-bit version of Ubuntu Natty

    Tried both openjdk and sun-jdk - same error

     
  • Kirill Müller

    Kirill Müller - 2011-08-17

    Downgrading to PyDev 2.2.0 solved the problem for me, however, I prefer to use up-to-date software :-)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-08-17

    Where are you getting PyDev from? Are you getting it from pydev.org or from Ubuntu?

    Cheers,

    Fabio

     
  • Kirill Müller

    Kirill Müller - 2011-08-17

    My pydev is from pydev.org/updates via Eclipse's "Install new software…" menu.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2011-08-18

    If possible, can you try getting a clean eclipse with the latest pydev to see if it works?

    From searching on the net, it seems this can happen for 2 reasons:

    1. a compiler bug (which doesn't seem to be the case as yours is the first report with that error - and that version was released more than a month ago, so, there are many people using it already and I believe it'd have been reported quite some time ago).

    2. A class file could get corrupted (which I think is more likely, so, getting the version again should work - if it still fails, try getting the .zip)

    Cheers,

    Fabio

     
  • Kirill Müller

    Kirill Müller - 2011-08-18

    Dear Fabio,

    thanks for helping me with that.

    I did apt-get -reinstall eclipse and upgraded to pydev 2.2.1 - nope. However, deleting ~/.eclipse did the trick. (The plugin binaries are not deleted when a plugin is uninstalled.)

    Got to get a new hard drive, I guess.

    Cheers,

    Kirill

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.