[MacPorts] #36594: Grass wxpython gui won't start

MacPorts noreply at macports.org
Sat Oct 13 22:29:02 PDT 2012


#36594: Grass wxpython gui won't start
----------------------------------+--------------------------------
  Reporter:  manuel.deljesuspe@…  |      Owner:  macports-tickets@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.1.2
Resolution:                       |   Keywords:  grass wxpython gui
      Port:  py27-wxpython-devel  |
----------------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: jwa@… (added)


Old description:

> 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.

New description:

 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.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/36594#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list