[GRASS-dev] wxpython 3 and errors in grass

Anna Petrášová kratochanna at gmail.com
Thu Oct 30 19:01:54 PDT 2014


On Thu, Oct 30, 2014 at 9:34 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

>
>
> On Thu, Oct 30, 2014 at 1:57 PM, Moritz Lennert <
> mlennert at club.worldonline.be> wrote:
>
>> Hi,
>>
>> I've recently started to see errors when trying to run gui tools such as
>> the interactive color definition or when I try to add a legend to the map
>> composer, and the windows do not open. The traceback is below.
>>
>> I imagine that this is linked to the fact that I have now wx 3 installed
>> next to wx 2. But what is the solution ?
>>
>
> It is totally fine to use wxPython 3 on Linux, so the solution is to fix
> the bugs. We actually need someone testing it with the newer version. Most
> bugs are quite easy to fix, so please report them to me directly offlist
> and I will let you know if I can fix it immediately or if you should create
> a ticket in case of more complicated things.
>
> wxPython on Mac is a different story, it's much more problematic, because
> the 32-bit version is difficult compile with and the 64-bit version is
> buggy. No idea about Windows.
>
> I fixed the colorrules.py, could you send me some more info about the
> other problem?
>

I fixed cartographic composer too, but let me know if you still have some
problems.

>
> Anna
>
>>
>> Moritz
>>
>> *********************************
>>
>> Traceback (most recent call last):
>>   File
>> "/data/home/mlennert/SRC/GRASS/grass64_release/dist.x86_64
>> -unknown-linux-gnu/etc/wxpython/lmgr/frame.py", line 1182,
>> in RulesCmd
>>
>> ctable = RasterColorTable(self)
>>   File
>> "/data/home/mlennert/SRC/GRASS/grass64_release/dist.x86_64
>> -unknown-linux-gnu/etc/wxpython/modules/colorrules.py", line
>> 752, in __init__
>>
>> title = _('Create new color table for raster map'),
>> **kwargs)
>>   File
>> "/data/home/mlennert/SRC/GRASS/grass64_release/dist.x86_64
>> -unknown-linux-gnu/etc/wxpython/modules/colorrules.py", line
>> 334, in __init__
>>
>> self._doLayout()
>>   File
>> "/data/home/mlennert/SRC/GRASS/grass64_release/dist.x86_64
>> -unknown-linux-gnu/etc/wxpython/modules/colorrules.py", line
>> 780, in _doLayout
>>
>> bodySizer = self._createBody(parent = self.panel)
>>   File
>> "/data/home/mlennert/SRC/GRASS/grass64_release/dist.x86_64
>> -unknown-linux-gnu/etc/wxpython/modules/colorrules.py", line
>> 469, in _createBody
>>
>> bodySizer.AddGrowableCol(2)
>>   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
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141030/8da78fe6/attachment.html>


More information about the grass-dev mailing list