[GRASS-dev] G7.trunk: r.colors color list wxpython issue

Markus Neteler neteler at osgeo.org
Wed Apr 2 02:56:41 PDT 2014


Hi,

some recent change in trunk (didn't find which) broke the color list
generator in r.colors:

Traceback (most recent call last):
  File "/home/neteler/software/grass71/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_core/widgets.py", line 1294,
in OnDrawItem

r.x + bitmap.GetWidth() + 10,
AttributeError
:
'NoneType' object has no attribute 'GetWidth'
Traceback (most recent call last):
  File "/home/neteler/software/grass71/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_core/widgets.py", line 1294,
in OnDrawItem

r.x + bitmap.GetWidth() + 10,
AttributeError

[...]
:
'NoneType' object has no attribute 'GetWidth'
Traceback (most recent call last):
  File "/home/neteler/software/grass71/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gui_core/widgets.py", line 1294,
in OnDrawItem

r.x + bitmap.GetWidth() + 10,
AttributeError
:
'NoneType' object has no attribute 'GetWidth'

Using:
g.version -g
version=7.1.svn
date=2014
revision=59549M
build_date=2014-04-02
build_platform=x86_64-unknown-linux-gnu

A fix would be appreciated. In relbranch70 is seems to work fine.

thanks
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140402/a552afb4/attachment.html>


More information about the grass-dev mailing list