[GRASS-user] Grass Fails to Start on Opensuse 12.3

Hamish hamish_b at yahoo.com
Sun Sep 22 02:45:02 PDT 2013


a web search brings up some old emails about the same error message,
maybe they help:


http://lists.osgeo.org/pipermail/grass-gui/2007-June/000532.html
http://grass.fbk.eu/pipermail/grass5/2007-May/031228.html

did you build GRASS by hand or from a package downloaded from somewhere? maybe the install is incomplete or some 3rd party dependency is missing?


Hamish




----- Original Message -----
> From: Scrub <scrubwa at bigpond.com>
> To: grass-user at lists.osgeo.org
> Cc: 
> Sent: Sunday, September 22, 2013 7:56 PM
> Subject: [GRASS-user] Grass Fails to Start on Opensuse 12.3
> 
> I'm new to Grass and just trying to get it started under Opensuse 12.3.
> Is this the right place to seek help on this matter?
> 
> I execute the command 'grass' (as below) and the first error
> {(python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed} occurs prior to being prompted for the
> working directory (GrassData). Then after selecting the working
> directory and the necessary location and mapsets and starting Grass, the
> programme begins to start, then fails upon the final error message
> {ValueError: invalid null reference in method 
> 'ToolBarBase_DoAddTool',
> expected argument 4 of type 'wxBitmap const &'
> ^C}.
> 
> The full logs are below. Any help would be appreciated.
> 
> Wayne.
> 
> 
> GRASS 6.4.3 (nc_spm_08):~ > grass
> 
> WELCOME TO GRASS              Version 6.4.3         2013
> 
>    1) Have at your side all available GRASS tutorials
> 
>    2) When working on your location, the following materials
>       are extremely useful:
>       - A topo map of your area
>       - Current catalog of available computer maps
> 
>    3) Check the GRASS webpages for feedback mailinglists and more:
>       http://www.grass-gis.org
>       http://grass.osgeo.org
> 
> Hit RETURN to continue
> 
> Starting GRASS ...
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
> (python:2299): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> `GTK_IS_WIDGET (widget)' failed
> 
>          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
>         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \ 
> 
>        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ / 
>        \____/_/ |_/_/  |_/____/____/   \____/___//____/  
> 
> Welcome to GRASS 6.4.3 (2013) 
> GRASS homepage:                          http://grass.osgeo.org/
> This version running thru:               Bash Shell (/bin/bash)
> Help is available with the command:      g.manValueError: invalid null
> reference in method 'ToolBarBase_DoAddTool', expected argument 4 of type
> 'wxBitmap const &'
> ^Cual -i
> See the licence terms with:              g.version -c
> If required, restart the GUI with:       g.gui wxpython
> When ready to quit enter:                exit
> 
> GRASS 6.4.3 (nc_spm_08):~ > Traceback (most recent call last):
>   File "/opt/grass/etc/wxpython/wxgui.py", line 139, in <module>
>     sys.exit(main())
>   File "/opt/grass/etc/wxpython/wxgui.py", line 132, in main
>     app = GMApp(workspaceFile)
>   File "/opt/grass/etc/wxpython/wxgui.py", line 45, in __init__
>     wx.App.__init__(self, False)
> File"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
> line 7981, in __init__
>     self._BootstrapApp()
> File"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
> line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "/opt/grass/etc/wxpython/wxgui.py", line 78, in OnInit
>     workspace = self.workspaceFile)
>   File "/opt/grass/etc/wxpython/lmgr/frame.py", line 112, in __init__
>     'data'      : LMDataToolbar(parent = self),
>   File "/opt/grass/etc/wxpython/lmgr/toolbars.py", line 75, in 
> __init__
>     self.InitToolbar(self._toolbarData())
>   File "/opt/grass/etc/wxpython/gui_core/toolbars.py", line 96, in
> InitToolbar
>     self.CreateTool(*tool)
>   File "/opt/grass/etc/wxpython/gui_core/toolbars.py", line 120, in
> CreateTool
>     shortHelp, longHelp)
> File"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
> line 3764, in AddLabelTool
>     shortHelp, longHelp, clientData)
> File"/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
> line 3686, in DoAddTool
>     return _controls_.ToolBarBase_DoAddTool(*args, **kwargs)
> ValueError: invalid null reference in method 'ToolBarBase_DoAddTool',
> expected argument 4 of type 'wxBitmap const &'
> ^C
> 
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
> 


More information about the grass-user mailing list