[GRASS-user] Error while installing latest Weekly Snapshot

António Rocha antonio.rocha at deimos.com.pt
Fri Feb 19 08:08:01 EST 2010


Hi

I have just installed latest Generic GNU/Linux Weekly Snapshot for Linux 
in my Ubuntu OS 
(http://grass.itc.it/grass64/binary/linux/snapshot/grass-6.4.0svn-i686-pc-linux-gnu-13_02_2010.tar.gz). 

I configured with:
./configure --with-wxwidgets --with-blas --with-lapack --wils --with-cxx 
--with-python=/usr/bin/python2.6-config --with-gdal --enable-largefile 
--with-wxpython --with-sqlite --with-fftw --with-motif 
--with-tcltk-includes=/usr/include/tk 
--with-freetype-includes=/usr/include/freetype2 --enable-largefile

When It starts, while it loads the first panel, an Error Window appears 
With a python error stating: Image file is not of type 3.

After I select Location and Mapset the following error appears in 
terminal window:
GRASS 6.4.0svn (nc_spm_08):~ > Traceback (most recent call last):
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1808, in 
<module>
    sys.exit(main())
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1801, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1728, in 
__init__
    wx.App.__init__(self, False)
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7978, in __init__
    self._BootstrapApp()
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1744, in 
OnInit
    workspace = self.workspaceFile)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 136, in 
__init__
    self.toolbar   = self.__createToolBar()
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 345, in 
__createToolBar
    self.AddToolbarButton(self.toolbar, *each)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1076, in 
AddToolbarButton
    tool = toolbar.AddLabelTool(id=wx.ID_ANY, label=label, bitmap=icon, 
shortHelp=help)
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
line 3764, in AddLabelTool
    shortHelp, longHelp, clientData)
  File 
"/usr/lib/python2.6/dist-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 &'

The commands seems to be working but the general GUI is not. If I insert 
a command in terminal windows, such as r.in.gdal, the r.in.gdal frame 
appears.


If I do:
g.gui wxpython

I get:
Traceback (most recent call last):
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1808, in 
<module>
    sys.exit(main())
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1801, in main
    app = GMApp(workspaceFile)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1728, in 
__init__
    wx.App.__init__(self, False)
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7978, in __init__
    self._BootstrapApp()
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 
7552, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1744, in 
OnInit
    workspace = self.workspaceFile)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 136, in 
__init__
    self.toolbar   = self.__createToolBar()
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 345, in 
__createToolBar
    self.AddToolbarButton(self.toolbar, *each)
  File "/usr/local/grass-6.4.0svn/etc/wxpython/wxgui.py", line 1076, in 
AddToolbarButton
    tool = toolbar.AddLabelTool(id=wx.ID_ANY, label=label, bitmap=icon, 
shortHelp=help)
  File 
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", 
line 3764, in AddLabelTool
    shortHelp, longHelp, clientData)
  File 
"/usr/lib/python2.6/dist-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 &'

Should I report to the error/bug list?

Best regards
Antonio


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4879 (20100219) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-user mailing list