[GRASS-dev] [GRASS GIS] #3937: Histogram tool in the GUI: save button gives error
GRASS GIS
trac at osgeo.org
Mon Nov 11 08:00:09 PST 2019
#3937: Histogram tool in the GUI: save button gives error
------------------------+-------------------------
Reporter: veroandreo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-trunk
Keywords: histogram | CPU: Unspecified
Platform: Linux |
------------------------+-------------------------
When I try to save the histogram generated by the histograming tool from
the GUI, I get the following:
{{{
/home/veroandreo/software/grass79-dev/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/wxlibplot.py:609:
wxPyDeprecationWarning: Using deprecated class. Use Cursor
instead.
self.HandCursor = wx.CursorFromImage(Hand.GetImage())
/home/veroandreo/software/grass79-dev/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/wxlibplot.py:611:
wxPyDeprecationWarning: Using deprecated class. Use Cursor
instead.
self.GrabHandCursor =
wx.CursorFromImage(GrabHand.GetImage())
/home/veroandreo/software/grass79-dev/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/wxlibplot.py:615:
wxPyDeprecationWarning: Using deprecated class. Use Cursor
instead.
self.MagCursor = wx.CursorFromImage(MagPlus.GetImage())
Traceback (most recent call last):
File
"/home/veroandreo/software/grass79-dev/dist.x86_64-pc-linux-
gnu/gui/wxpython/wxplot/base.py", line 483, in SaveToFile
self.client.SaveFile()
File
"/home/veroandreo/software/grass79-dev/dist.x86_64-pc-linux-
gnu/gui/wxpython/gui_core/wxlibplot.py", line 733, in
SaveFile
fType = _string.lower(fileName[-3:])
AttributeError
:
module 'string' has no attribute 'lower'
}}}
and I can't save the plot.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3937>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list