What steps will reproduce the problem?
1. Install python with wxpython 2.9
2. open gui2exe
3. try and create a project.
What is the expected output? What do you see instead?
I would expect it to create an empty project.
Instead, it throws a error:
File "D:\NekoProfile\Desktop\Repository\Programming\Code\Python\GUI2EXE\LabelBook.py", line 730, in InitializeColors
self._colorsMap.update({INB_HILITE_TAB_COLOR: wx.NamedColor("LIGHT BLUE")})
AttributeError: 'module' object has no attribute 'NamedColor'
It seems that wxPython 2.9 has removed the aliases from the american spelling
to the english spelling. I batch search&replaced all instances of 'NamedColor'
to 'NamedColour', and it exposed another error.
Second error:
File "D:\NekoProfile\Desktop\Repository\Programming\Code\Python\GUI2EXE\Py2ExePanel.py", line 273, in LayoutItems
commonGridSizer.AddGrowableCol(6)
File "C:\Python27\lib\site-packages\wx-2.9.3-msw\wx\_core.py", line 15371, in AddGrowableCol
return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
PyAssertionError: C++ assertion "!m_cols || idx < (size_t)m_cols" failed at
..\..\src\common\sizer.cpp(1956) in wxFlexGridSizer::AddGrowableCol(): invalid
column index
I think that AddGrowableCol is now zero-indexed. Anyways, I just commented out
all lines including ".AddGrowableCol(6)" (there are three, I think), and I then
started running into unrelated DLL errors (not a gui2exe problem).
What version of GUI2Exe, Python and wxPython are you using? On what operating
system?
Python 2.7.2, wxPython 2.9.2.4 and 2.9.3.0 (I upgraded to see if it fixed the
issues. It didn't)
Please provide any additional information below.
None, really, it's all above.
Original issue reported on code.google.com by Lem...@gmail.com on 29 Dec 2011 at 5:49
Original issue reported on code.google.com by
Lem...@gmail.com
on 29 Dec 2011 at 5:49