Opened 10 years ago

Closed 10 years ago

#2542 closed defect (fixed)

wxGUI adding text : PyAssertionError : C++ assertion "!m_cols || idx < (size_t)m_cols" failed at ../src/common/sizer.cpp(1980) in AddGrowableCol(): invalid column index

Reported by: mlennert Owned by: grass-dev@…
Priority: critical Milestone: 7.0.0
Component: wxGUI Version: svn-releasebranch70
Keywords: wxGUI text, wxPython 3 Cc:
CPU: Unspecified Platform: Unspecified

Description

In the grass7release wxGUI, trying to add text to the display window gives me the following error (and the gui for adding text does not open):

Traceback (most recent call last):
  File
"/data/home/mlennert/SRC/GRASS/grass70release/dist.x86_64
-unknown-linux-gnu/gui/wxpython/mapdisp/frame.py", line
1252, in OnAddText

size = (400, 200))
  File
"/data/home/mlennert/SRC/GRASS/grass70release/dist.x86_64
-unknown-linux-gnu/gui/wxpython/mapwin/decorations.py", line
323, in __init__

box.AddGrowableCol(1)
  File "/usr/lib/python2.7/dist-
packages/wx-3.0-gtk2/wx/_core.py", line 15364, in
AddGrowableCol

return _core_.FlexGridSizer_AddGrowableCol(*args, **kwargs)
wx._core
.
PyAssertionError
:
C++ assertion "!m_cols || idx < (size_t)m_cols" failed at
../src/common/sizer.cpp(1980) in AddGrowableCol(): invalid
column index

This is on Debian testing, with wxpython 3.

Change History (2)

comment:1 by annakrat, 10 years ago

Keywords: wxPython 3 added

Should be fixed r64030 and backported. Please test and close it.

in reply to:  1 comment:2 by mlennert, 10 years ago

Resolution: fixed
Status: newclosed

Replying to annakrat:

Should be fixed r64030 and backported. Please test and close it.

Yes, fixed. Thanks a lot !

Closing.

Moritz

Note: See TracTickets for help on using tickets.