[GRASS-dev] Python location wizard broken

Markus Neteler neteler at osgeo.org
Sat Feb 2 17:20:07 EST 2008


On Feb 2, 2008 6:41 PM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2008/1/31, Markus Neteler <neteler at osgeo.org>:
> Markus:
> > no system change at all (it is an older Mandriva 2007.0 box).
> > I have installed:
> >
> > rpm -qa | grep wx
> > wxPython-common-gtk2-unicode-2.8.3.0-1_py2.4
> > libwxgtku2.6-2.6.3-7mdv2007.0
> > libwxgtkglu2.7-2.7.0-2mdv2007.0
> > libwxPythonGTK2.6-2.6.3.3-2.1mdv2007.0
> > libwxgtku2.7-devel-2.7.0-2mdv2007.0
> > wxPython2.8-devel-gtk2-unicode-2.8.3.0-1_py2.4
> > wxgtk2.7-2.7.0-2mdv2007.0
> > wxGTK2.6-2.6.3-7mdv2007.0
> > libwxgtku2.7-2.7.0-2mdv2007.0
> > wxPython2.8-gtk2-unicode-2.8.3.0-1_py2.4
> >
> > wxgrass starts, only the Location Wizard is broken here.
> >
> > uname -a
> > Linux localhost 2.6.17-11mdv #1 SMP Tue Feb 13 11:59:10 MST 2007 i686
> > Intel(R) Pentium(R) 4 CPU 2.53GHz GNU/Linux
>
> here seems to work (python 2.4.4, wxpython 2.8.7.1). Try to
> comment-out line 118 in gui_modules/location_wizard.py.
>
> Helps?

I am afraid not:

vim gui_modules/location_wizard.py
make

grass63 -wx
Cleaning up temporary files.....
Starting GRASS ...

WARNING: Digitization tool is disabled (No module named
grass6_wxvdigit). Detailed information in README file.
Traceback (most recent call last):
  File "/home/neteler/grass63/dist.i686-pc-linux-gnu/etc/wx/gis_set.py",
line 374, in OnWizard
    gWizard = location_wizard.LocationWizard(self, self.tgisdbase.GetValue())
  File "/home/neteler/grass63/dist.i686-pc-linux-gnu/etc/wx/gui_modules/location_wizard.py",
line 1592, in __init__
    self.projtypepage.DoLayout()
  File "/home/neteler/grass63/dist.i686-pc-linux-gnu/etc/wx/gui_modules/location_wizard.py",
line 119, in DoLayout
    self.Layout()
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 10236, in Layout
    return _core_.Window_Layout(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "uiIndex < m_nCount" failed
at ../include/wx/dynarray.h(813) in Item()

Markus


More information about the grass-dev mailing list