[GRASS-user] GRASS 6.4.3 fails to start

Trying to start GRASS 6.4.3 from the GUI (KDE) shows the small
welcome screen asking the user to choose a project location and map
set, or define a new location and start GRASS. The splash screen then
briefly appears. It then fails without a whimper. Trying to start
GRASS in a console opens the same small window with options, the same
flash of the splash screen, and then displays the following:

GRASS 6.4.3 (RidgeCrest):~ > 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 111, in __init__
self.toolbars = { 'workspace' : LMWorkspaceToolbar(parent = self),
  File "/opt/grass/etc/wxpython/lmgr/toolbars.py", line 40, 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 &'

GRASS does seem to have started, but there seems to be problem with
initiating the tool bar?

I am running GRASS 6.4.3 on an Opensuse 13.1 with KDE 4.11.5 on an AMD
Phenom II based platform.

Suggestions or help appreciated.

JWDougheryt

On Sun, Apr 13, 2014 at 11:07 PM, jwd <jwd@surewest.net> wrote:

Trying to start GRASS 6.4.3 from the GUI (KDE) shows the small
welcome screen asking the user to choose a project location and map
set, or define a new location and start GRASS. The splash screen then
briefly appears. It then fails without a whimper. Trying to start
GRASS in a console opens the same small window with options, the same
flash of the splash screen, and then displays the following:

GRASS 6.4.3 (RidgeCrest):~ > 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 111, in __init__
self.toolbars = { 'workspace' : LMWorkspaceToolbar(parent = self),
  File "/opt/grass/etc/wxpython/lmgr/toolbars.py", line 40, 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 &'

GRASS does seem to have started, but there seems to be problem with
initiating the tool bar?

Searching around, I found a similar message from long ago:

http://lists.osgeo.org/pipermail/grass-dev/2007-May/031321.html

Essentially an icon was not found. Perhaps you could check for this?

Markus

I am running GRASS 6.4.3 on an Opensuse 13.1 with KDE 4.11.5 on an AMD
Phenom II based platform.

Suggestions or help appreciated.

JWDougheryt

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Sun, Apr 13, 2014 at 11:07 PM, jwd <jwd@surewest.net> wrote:

Trying to start GRASS 6.4.3 from the GUI (KDE) shows the small
welcome screen asking the user to choose a project location and map
set, or define a new location and start GRASS. The splash screen then
briefly appears. It then fails without a whimper. Trying to start
GRASS in a console opens the same small window with options, the same
flash of the splash screen, and then displays the following:

GRASS 6.4.3 (RidgeCrest):~ > 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 111, in __init__
self.toolbars = { 'workspace' : LMWorkspaceToolbar(parent = self),

Rereading the message it seems to be related to the workspace file.

Perhaps try to close GRASS 7, then simply remove/rename (get out of its place):

$HOME/.grass7/wx

and start GRASS 7 again. (Perhaps keep the file for inspection).

Markus