[GRASS-dev] Some wxPython 3 issues

Anna Petrášová kratochanna at gmail.com
Thu Sep 24 05:39:37 PDT 2015


On Thu, Sep 24, 2015 at 5:23 AM, Markus Neteler <neteler at osgeo.org> wrote:

> Hi,
>
> sorry to bother again with a new wxPython3 issue:
>
>
> g.gui.animation strds=raster_aprilie at EUMETSAT
> Traceback (most recent call last):
>   File "/usr/local/grass-7.0.2svn/scripts/g.gui.animation",
> line 136, in <module>
>     main()
>   File "/usr/local/grass-7.0.2svn/scripts/g.gui.animation",
> line 127, in main
>     frame = AnimationFrame(parent=None,
> giface=StandaloneGrassInterface())
>   File
> "/usr/local/grass-7.0.2svn/gui/wxpython/animation/frame.py",
> line 69, in __init__
>     self.animationPanel = AnimationsPanel(self,
> self.windows, initialCount=MAX_COUNT)
>   File
> "/usr/local/grass-7.0.2svn/gui/wxpython/animation/frame.py",
> line 330, in __init__
>     w = AnimationWindow(self)
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 111, in __init__
>     BufferedWindow.__init__(self, parent=parent, id=id,
> style=style)
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 49, in __init__
>     self.OnSize(None)
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 129, in OnSize
>     BufferedWindow.OnSize(self, event)
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 72, in OnSize
>     self.UpdateDrawing()
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 93, in UpdateDrawing
>     self.Draw(dc)
>   File "/usr/local/grass-7.0.2svn/gui/wxpython/animation/map
> window.py", line 122, in Draw
>     dc.DrawBitmap(self.bitmap, x=0, y=0)
>   File "/usr/lib64/python2.7/site-
> packages/wx-3.0-gtk3/wx/_gdi.py", line 3706, in DrawBitmap
>     return _gdi_.DC_DrawBitmap(*args, **kwargs)
> wx._core.PyAssertionError: C++ assertion
> "bmpData->m_pixbufNoMask" failed at
> ./src/gtk/bitmap.cpp(1261) in SetSourceSurface(): no bitmap
> data
>
> This happens with the current 7.0.svn. If I should rather open a
> ticket, please let me know.
>

please try r66320 in trunk

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


More information about the grass-dev mailing list