[GRASS-dev] [GRASS GIS] #3617: save display to image button broken

GRASS GIS trac at osgeo.org
Sun Aug 26 12:28:29 PDT 2018


#3617: save display to image button broken
--------------------------+-------------------------
  Reporter:  cmbarton     |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  blocker      |  Milestone:  7.4.2
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------
Description changed by neteler:

Old description:

> The save display to image button is now broken in GRASS 7.4.1 and up. It
> works in 7.2.2.
>
> It produces the following error:
>
> Traceback (most recent call last):
>   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/mapdisp/frame.py", line 626, in SaveToFile
>
> filetype, ltype = self._prepareSaveToFile()
>   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/mapdisp/frame.py", line 802, in _prepareSaveToFile
>
> filetype, ltype = GetImageHandlers(img)
>   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
> xpython/gui_core/dialogs.py", line 1834, in GetImageHandlers
>
> for h in image.GetHandlers():
> AttributeError
> :
> 'Image' object has no attribute 'GetHandlers'

New description:

 The save display to image button is now broken in GRASS 7.4.1 and up. It
 works in 7.2.2.

 It produces the following error:

 {{{
 Traceback (most recent call last):
   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
 xpython/mapdisp/frame.py", line 626, in SaveToFile

 filetype, ltype = self._prepareSaveToFile()
   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
 xpython/mapdisp/frame.py", line 802, in _prepareSaveToFile

 filetype, ltype = GetImageHandlers(img)
   File "/Applications/GRASS-7.5.app/Contents/Resources/gui/w
 xpython/gui_core/dialogs.py", line 1834, in GetImageHandlers

 for h in image.GetHandlers():
 AttributeError
 :
 'Image' object has no attribute 'GetHandlers'
 }}}

--

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



More information about the grass-dev mailing list