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

GRASS GIS trac at osgeo.org
Wed Aug 29 08:27:56 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
--------------------------+-------------------------

Comment (by veroandreo):

 Just in case the message is not readable from the image, here's the ascii
 text provided by Carol Garzon:

 {{{
 GRASS 7.4.1 (panamania):~ > d.mon wx1
 GRASS 7.4.1 (panamania):~ > d.vect Bufpuntos
 d.vect completo.
 GRASS 7.4.1 (panamania):~ > d.out.file output=intento format=png
 GRASS 7.4.1 (panamania):~ > Traceback (most recent call last):
   File "/Applications/GRASS-7.4.1.app/Contents/Resources/lib/python2.7
 /site-packages/wx/core.py", line 2158, in Notify
     self.notify()
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/mapdisp/main.py",
 line 590, in watcher
     self.mapFrm.GetMap().GetLayersFromCmdFile()
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/mapdisp/main.py",
 line 137, in GetLayersFromCmdFile
     self.saveToFile.emit(cmd=utils.split(dCmd))
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/etc/python/grass/pydispatch/signal.py",
 line 229, in emit
     dispatcher.send(signal=self, *args, **kwargs)
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/etc/python/grass/pydispatch/dispatcher.py",
 line 349, in send
     **named
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/etc/python/grass/pydispatch/robustapply.py",
 line 60, in robustApply
     return receiver(*arguments, **named)
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/mapdisp/main.py",
 line 548, in <lambda>
     self.Map.saveToFile.connect(lambda cmd: self.mapFrm.DOutFile(cmd))
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/mapdisp/frame.py",
 line 667, in DOutFile
     filetype, ltype = self._prepareSaveToFile()
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/mapdisp/frame.py",
 line 802, in _prepareSaveToFile
     filetype, ltype = GetImageHandlers(img)
   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gui_core/dialogs.py",
 line 1832, in GetImageHandlers
     for h in image.GetHandlers():
 AttributeError: 'Image' object has no attribute 'GetHandlers'
 }}}

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



More information about the grass-dev mailing list