[GRASS-dev] [GRASS GIS] #3895: g.gui.animation deprecation messages

GRASS GIS trac at osgeo.org
Sat Aug 31 06:54:01 PDT 2019


#3895: g.gui.animation deprecation messages
-----------------------------+---------------------------------
 Reporter:  veroandreo       |      Owner:  grass-dev@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  7.8.0
Component:  wxGUI            |    Version:  git-releasebranch78
 Keywords:  g.gui.animation  |        CPU:  Unspecified
 Platform:  Unspecified      |
-----------------------------+---------------------------------
 When calling G7:g.gui.animation from terminal and creating the animation,
 I get the following message:

 {{{
 /home/veroandreo/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/provider.py:523: wxPyDeprecationWarning: Call
 to deprecated item BitmapFromImage. Use :class:`wx.Bitmap` instead
   wx.Image(filename))
 }}}

 and when clicking over `Export animation`, I get something similar:

 {{{
  /home/veroandreo/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/dialogs.py:1088: wxPyDeprecationWarning: Call
 to deprecated item EmptyImage. Use :class:`Image` instead.
   filetype, ltype = GetImageHandlers(wx.EmptyImage(10, 10))
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3895>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list