#2542: 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
-------------------------+--------------------------------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: wxGUI | Version: svn-releasebranch70
Keywords: wxGUI text | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
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