[GRASS-dev] [GRASS GIS] #3153: g.gui.animation freezes when trying to add decorations
GRASS GIS
trac at osgeo.org
Wed Sep 14 03:46:37 PDT 2016
#3153: g.gui.animation freezes when trying to add decorations
-----------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.0
Component: wxGUI | Version: svn-trunk
Keywords: g.gui.animation | CPU: Unspecified
Platform: Linux |
-----------------------------+-------------------------
g.gui.animation freezes when trying to add decorations and the only
possibility is to close it, loosing all the settings.
{{{
Traceback (most recent call last):
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/gui/wxpython/animation/dialogs.py", line 1502, in OnExport
decorations=self.GetDecorations())
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/etc/python/grass/pydispatch/signal.py", line 229, in emit
dispatcher.send(signal=self, *args, **kwargs)
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/etc/python/grass/pydispatch/dispatcher.py", line 349, in send
**named
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/etc/python/grass/pydispatch/robustapply.py", line 60, in robustApply
return receiver(*arguments, **named)
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/gui/wxpython/animation/controller.py", line 610, in _export
bgcolor, fgcolor).ConvertToImage()
File "/home/veroandreo/software/grass-7.3.svn/dist.x86_64-pc-linux-
gnu/gui/wxpython/animation/utils.py", line 250, in RenderText
w, h = dc.GetTextExtent(text)
File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk3/wx/_gdi.py", line
4127, in GetTextExtent
return _gdi_.DC_GetTextExtent(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "m_graphicContext" failed at
./src/common/dcgraph.cpp(1147) in DoGetTextExtent():
wxGCDC(cg)::DoGetTextExtent - invalid DC
}}}
It would be useful to be able to export those settings or configurations
to keep them as templates, then, or so.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3153>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list