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
On Wed, Apr 2, 2014 at 5:56 AM, Markus Neteler <neteler@osgeo.org> wrote:
Hi,
some recent change in trunk (didn't find which) broke the color list
generator in r.colors:
hmm, it works for me. But I remember, it happened to me some time ago but
then it started to work again. It looks like it can't find the thumbnails.
I fixed it to display at least the name of the color table when it can't
find the picture for whatever reason.
Anna
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
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
On Wed, Apr 2, 2014 at 2:14 PM, Anna Petrášová <kratochanna@gmail.com> wrote:
On Wed, Apr 2, 2014 at 5:56 AM, Markus Neteler <neteler@osgeo.org> wrote:
Hi,
some recent change in trunk (didn't find which) broke the color list
generator in r.colors:
hmm, it works for me. But I remember, it happened to me some time ago but
then it started to work again. It looks like it can't find the thumbnails.
I fixed it to display at least the name of the color table when it can't
find the picture for whatever reason.
after a "make distclean" the problem disappeared and the color
pictures are shown.
thanks for the fix,
Markus
On Sun, Apr 6, 2014 at 1:42 PM, Markus Neteler <neteler@osgeo.org> wrote:
On Wed, Apr 2, 2014 at 2:14 PM, Anna Petrášová <kratochanna@gmail.com>
wrote:
> On Wed, Apr 2, 2014 at 5:56 AM, Markus Neteler <neteler@osgeo.org>
wrote:
>>
>> Hi,
>>
>> some recent change in trunk (didn't find which) broke the color list
>> generator in r.colors:
>
>
> hmm, it works for me. But I remember, it happened to me some time ago but
> then it started to work again. It looks like it can't find the
thumbnails.
> I fixed it to display at least the name of the color table when it can't
> find the picture for whatever reason.
after a "make distclean" the problem disappeared and the color
pictures are shown.
thanks for the fix,
Markus
well, I didn't fix the original problem of missing thumbnails, I just fix
the behavior so that the drop down shows at least the names of colortables
when it can't find the thumbnails. I don't know if just distclean always
helps, there might be some compilation problem because I know that Vasek
was complaining about it too and he probably did make distclean... Just to
keep that on mind if it happens again.
Anna