[GRASSGUI] Re: [GRASS-dev] wxgrass ready for testing

Otto Dassau otto.dassau at gmx.de
Sat Jun 16 04:14:34 EDT 2007


Hi Moritz,

On Fri, 15 Jun 2007 23:46:55 +0200
Moritz Lennert <mlennert at club.worldonline.be> wrote:

> On 15/06/07 17:54, Michael Barton wrote:
> > 
> > 
> > On 6/15/07 8:23 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:
> > 
> >> On 15/06/07 10:07, Michael Barton wrote:
> >>> more sophisticated profile analysis module
> >> Clicking on the profile tool entry in the menu I get:
> > 
> > Mine works OK, so we need someone to trouble shoot with a system like yours.
> > Just checking, do you have numpy installed?
> 
> 
> numpy, numeric and numarray are all installed.

python-numpy, python-numarray and gnumeric is installed

> Any other debianites getting this error ?

this happens when I start wxgrass on debian testing

GRASS 6.3.cvs (spearfish60):~ > wxgrass
Traceback (most recent call last):
  File "/usr/lib/grass/etc/wx/wxgui.py", line 924, in ?
    app = GMApp(0)
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7757, in __init__    self._BootstrapApp()
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
7354, in _BootstrapApp    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/lib/grass/etc/wx/wxgui.py", line 906, in OnInit
    mainframe = GMFrame(parent=None, id=wx.ID_ANY, title="")
  File "/usr/lib/grass/etc/wx/wxgui.py", line 188, in __init__
    self.NewDisplay()
  File "/usr/lib/grass/etc/wx/wxgui.py", line 588, in NewDisplay
    auimgr=self._auimgr)
  File "/daten/software/grassaddons/gui/gui_modules/wxgui_utils.py", line 135,
in __init__    Map=self.Map, auimgr=self.auimgr)
  File "/daten/software/grassaddons/gui/gui_modules/mapdisp.py", line 1240, in
__init__    self.AddToolbar(toolb)
  File "/daten/software/grassaddons/gui/gui_modules/mapdisp.py", line 1324, in
AddToolbar    self.maptoolbar = toolbars.MapToolbar(self, self.Map)
  File "/daten/software/grassaddons/gui/gui_modules/toolbars.py", line 77, in
__init__    self.InitToolbar(self.mapdisplay)
  File "/daten/software/grassaddons/gui/gui_modules/toolbars.py", line 41, in
InitToolbar    self.CreateTool(parent, self.toolbar, *tool)
  File "/daten/software/grassaddons/gui/gui_modules/toolbars.py", line 57, in
CreateTool    shortHelp, longHelp)
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 3715, in AddLabelTool    shortHelp, longHelp, clientData)
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
line 3637, in DoAddTool    return _controls_.ToolBarBase_DoAddTool(*args,
**kwargs) ValueError: invalid null reference in method 'ToolBarBase_DoAddTool',
expected argument 4 of type 'wxBitmap const &'

regards,
 Otto
 
> Moritz
> 
> > 
> >> Traceback (most recent call last):
> >>    File "/usr/lib/grass/etc/wx/gui_modules/mapdisp.py", line 1737, in
> >> Profile
> >>      style=wx.DEFAULT_FRAME_STYLE)
> >>    File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 80, in
__init__
> >>      toolbar = self.__createToolBar()
> >>    File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 195, in
> >> __createToolBar
> >>      self.AddToolbarButton(toolbar, *each)
> >>    File "/usr/lib/grass/etc/wx/gui_modules/profile.py", line 204, in
> >> AddToolbarButton
> >>      tool = toolbar.AddLabelTool(id=wx.ID_ANY, label=label, bitmap=icon,
> >> shortHelp=help)
> >>    File 
> >> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
> >> line 3715, in AddLabelTool
> >>      shortHelp, longHelp, clientData)
> >>    File 
> >> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py",
> >> line 3637, in DoAddTool
> >>      return _controls_.ToolBarBase_DoAddTool(*args, **kwargs)
> >> ValueError: invalid null reference in method 'ToolBarBase_DoAddTool',
> >> expected argument 4 of type 'wxBitmap const &'
> 
> _______________________________________________
> grassgui mailing list
> grassgui at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassgui


-- 




More information about the grass-gui mailing list