[GRASS-dev] Some wxPython 3 issues

Markus Neteler neteler at osgeo.org
Thu Sep 24 14:01:21 PDT 2015


On Thu, Sep 24, 2015 at 10:39 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
> I don't won't to backport it yet if it's not confirmed it works.

Agreed.

> I wonder why can't you test it in trunk?

I was all the day in "TGRASS mode" and my student without trunk installation.

Now I have tried in trunk:

svn up
Updating '.':
At revision 66324.

make distclean ; svn up ; sh conf_grass7.sh && make -j4

grass71 ~/grassdata/nc_spm_08_grass7/user1/
GRASS 7.1.svn (nc_spm_08_grass7):~ > g.gui.animation
Traceback (most recent call last):
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/scripts/g.gui.animation",
line 136, in <module>
    main()
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/scripts/g.gui.animation",
line 127, in main
    frame = AnimationFrame(parent=None, giface=StandaloneGrassInterface())
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/frame.py",
line 69, in __init__
    self.animationPanel = AnimationsPanel(self, self.windows,
initialCount=MAX_COUNT)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/frame.py",
line 330, in __init__
    w = AnimationWindow(self)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 114, in __init__
    BufferedWindow.__init__(self, parent=parent, id=id, style=style)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 50, in __init__
    self.OnSize(None)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 131, in OnSize
    BufferedWindow.OnSize(self, event)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 73, in OnSize
    self.UpdateDrawing()
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 94, in UpdateDrawing
    self.Draw(dc)
  File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-gnu/gui/wxpython/animation/mapwindow.py",
line 126, in Draw
    dc.DrawBitmap(self.bitmap, x=self.x, y=self.y)
  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

Unfortunately not yet..

Markus


More information about the grass-dev mailing list