Opened 5 years ago
Closed 5 years ago
#3895 closed defect (fixed)
g.gui.animation deprecation messages
Reported by: | veroandreo | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.1 |
Component: | wxGUI | Version: | git-releasebranch78 |
Keywords: | python3, g.gui.animation | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
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))
Note:
See TracTickets
for help on using tickets.
After the backport, I tested the animation export. It works now, but I get this new message in the terminal: