Opened 12 years ago
Closed 11 years ago
#36594 closed defect (fixed)
Grass wxpython gui won't start
Reported by: | manuel.deljesuspe@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | jyrkiwahlstedt, mojca (Mojca Miklavec), manuel.deljesuspe@…, cooljeanius (Eric Gallager) | |
Port: | grass |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When launching GRASS, the starting window to select the map works fine. However, once the location has been chosen, wxpython gui fails to start. It throws the following error:
/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py:1614: wxPyDeprecationWarning: Call to deprecated item 'InitAllImageHandlers'. wx.InitAllImageHandlers() Traceback (most recent call last): File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 1721, in <module> sys.exit(main()) File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 1714, in main app = GMApp(workspaceFile) File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 1605, in __init__ wx.App.__init__(self, False) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 8631, in __init__ self._BootstrapApp() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 8196, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 1657, in OnInit workspace = self.workspaceFile) File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 130, in __init__ self.notebook = self._createNoteBook() File "/opt/local/share/grass-6.4.2/etc/wxpython/wxgui.py", line 253, in _createNoteBook self.goutput = goutput.GMConsole(self) File "/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/goutput.py", line 233, in __init__ self.MakeSearchPaneContent(self.searchPane.GetPane()) File "/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/goutput.py", line 329, in MakeSearchPaneContent self.search = SearchModuleWindow(parent = pane, cmdPrompt = self.cmd_prompt) File "/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/ghelp.py", line 107, in __init__ self._layout() File "/opt/local/share/grass-6.4.2/etc/wxpython/gui_modules/ghelp.py", line 113, in _layout gridSizer.AddGrowableCol(1) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/wx-2.9.4-osx_cocoa/wx/_core.py", line 15380, in AddGrowableCol return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs) wx._core.PyAssertionError: C++ assertion "!m_cols || idx < (size_t)m_cols" failed at ../src/common/sizer.cpp(1956) in AddGrowableCol(): invalid column index
grass and py27-wxpython-devel are installed from macport with the standard variants selected.
Change History (5)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jwa@… added |
---|---|
Description: | modified (diff) |
comment:2 Changed 11 years ago by mojca (Mojca Miklavec)
Cc: | mojca@… added |
---|---|
Keywords: | grass wxpython gui removed |
Port: | grass added; py27-wxpython-devel removed |
Version: | 2.1.2 |
comment:5 Changed 11 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm moving the discussion to another ticket about compatibility with wxWidgets 3.0, #42161.
(I couldn't call the problem fixed, but now that grass
defaults to using wxWidgets 2.8, this is no longer a problem on its own.)
Note: See
TracTickets for help on using
tickets.
I'm reassigning this ticket to grass. See also:
self.grid_sizer.SetCols(2)
beforeself.grid_sizer.AddGrowableCol(1)