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

GRASS GIS trac at osgeo.org
Tue Sep 3 01:05:51 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
Resolution:               |   Keywords:  g.gui.animation
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by veroandreo):

 After the backport, I tested the animation export. It works now, but I get
 this new message in the terminal:

 {{{
 /home/veroandreo/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/controller.py:554: wxPyDeprecationWarning: Call
 to deprecated item EmptyImage. Use :class:`Image` instead.
   image = wx.EmptyImage(*size)
 /home/veroandreo/software/grass78_git/dist.x86_64-pc-linux-
 gnu/gui/wxpython/animation/controller.py:571: wxPyDeprecationWarning: Call
 to deprecated item ImageFromBitmap. Use bitmap.ConvertToImage instead.
   im = wx.ImageFromBitmap(lastBitmaps[i])
 }}}

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



More information about the grass-dev mailing list