Menu

Code completion/analysis for wxPython problem

2008-06-17
2013-03-15
  • Pavel Mitin

    Pavel Mitin - 2008-06-17

    I have installed PyDev. The plugin works nice with tiny console example projects. Code completion and analysis works fine.

    I have a problic with wxPython code. I can run a wxPython applicatin. But PyDev plugin is not perform a code completion and an analysis.

    I have been trying to get code completion and analysis on Kubuntu 8.04 and Fedora 8 with Eclipse 3.3.2.

    Eclipse Window->Preferences->Python Interpreters:
    *System PYTHONPATH
    System libs
        /home/.../.eclipse/org.eclipse.platform_3.3.0_15.../configuration/eclipse/plugins/org.python.pydev_1.3.17/PySrc
        /usr/lib/python2.5
        /usr/lib/python2.5/lib-dynload
        /usr/lib/python2.5/lib-tk
        /usr/lib/python2.5/plat-linux2
        /usr/lib/python2.5/site-packages
        /usr/lib/python2.5/site-packages/Numeric
        /usr/lib/python2.5/site-packages/PIL
        /usr/lib/python2.5/site-packages/gtk-2.0
        /usr/lib/python25.zip
    *There are wx and wxPython entries in "Forced builtin libs" section.

    Please, help.

     
    • Anonymous

      Anonymous - 2008-06-17

      What i have found in with PyQt
      1)remove wx libs from forced built in libs
      2)add wx directory (where dlls resides) to system libs

       
    • Pavel Mitin

      Pavel Mitin - 2008-06-19

      Thank you very much!

       
    • Anonymous

      Anonymous - 2008-06-19

      you are  welcome
      but just a question after completion works do u get
      an auto-complete for wx methods parameters or just the methods with no parameters

       
    • Pavel Mitin

      Pavel Mitin - 2008-06-20

      An Autocomplition mechanism sees both method types (with and without parameters) for a wxPython code. But the mechanism does not suggest parameters. For example for wx.Button.SetClientSize(self, Size size) method only "button.SetClientSize()" appears on CTRL+SPACE.