On 16/06/07 04:28, Michael Barton wrote:
Moritz,

Try getting rid of the separator in line 218 of profile.py and see what
happens.

That wasn't it. It was the fact that I hadn't updated my GRASS installation, only the wxgrass gui, and thus I didn't have the profileopts icon...

So, always update your GRASS installation (or at least etc/gui/icons) when updating your wxgrass GUI... ;-)

Otto, could this be the reason of your problems ?

Moritz


AFAICT, all other values in position 4 ARE bitmaps.

Michael


On 6/15/07 2:46 PM, "Moritz Lennert" <[EMAIL PROTECTED]> wrote:

On 15/06/07 17:54, Michael Barton wrote:

On 6/15/07 8:23 AM, "Moritz Lennert" <[EMAIL PROTECTED]> 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.

Any other debianites getting this error ?

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 &'

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton



_______________________________________________
grassgui mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassgui

Reply via email to