Windows Vista enterprise
Easyeclipse for python 1.3.1
wxPython 2.8
Execution flow gets corrupted running any wx python script using easyeclipse for python
The following scrip will fail:
import wx
app = wx.PySimpleApp()
frame = wx.Frame(None, wx.ID_ANY, "Hello World")
frame.Show(True)
with the following error
pydev debugger
Traceback (most recent call last):
File "C:\Program Files\EasyEclipse-for-Python-1.3.1\plugins\org.python.pydev.debug_1.3.13\pysrc\pydevd.py", line 803, in <module>
debugger.run(setup['file'], None, None)
File "C:\Program Files\EasyEclipse-for-Python-1.3.1\plugins\org.python.pydev.debug_1.3.13\pysrc\pydevd.py", line 655, in run
execfile(file, globals, locals) #execute the script
File "C:\Users\lmcaaal\Documents\workplace\gadgets\src\wx.py", line 1, in <module>
import wx
File "C:\Users\lmcaaal\Documents\workplace\gadgets\src\wx.py", line 2, in <module>
app = wx.PySimpleApp()
AttributeError: 'module' object has no attribute 'PySimpleApp'
THe execution flow is corrupted since it executes the
import wx
statement, then jumps to
app = wx.PySimpleApp()
and then jumps back to
import wx
it is also visible that all the attributes and methods in wx module are not properly shown in easyeclipse