[GRASS-dev] [GRASS GIS] #1968: traceback error in wxgui goutput.py on save command output

#1968: traceback error in wxgui goutput.py on save command output
--------------------+-------------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
--------------------+-------------------------------------------------------
Hi,

I get a traceback message in the terminal when I click to save the command
window output from a module GUI. Both on linux and MS Windows, 6.4.3svn
and devbr6 (but not in trunk).

  * start a grass command line session
  * bring up a module GUI: g.version --ui
  * select the -b build info flag
  * click run (note scrollbar doesn't cover full ./configure line unless
you highlight drag the text)
  * Output window -> Save, pick filename, ok

then,

{{{
Traceback (most recent call last):
   File "/home/hamish/src/grass/svn/relbr_6_4/dist.x86_64-unknown-linux-
gnu/etc/wxpython/gui_core/goutput.py", line 679, in OnOutputSave
     self.parent.SetStatusText(_("Command output saved into '%s'") % path)
AttributeError: 'CmdPanel' object has no attribute 'SetStatusText'
}}}

but the file is saved ok.

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1968&gt;
GRASS GIS <http://grass.osgeo.org>

#1968: traceback error in wxgui goutput.py on save command output
---------------------+------------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.3
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: All | Cpu: All
---------------------+------------------------------------------------------
Changes (by annakrat):

  * status: new => closed
  * resolution: => fixed

Comment:

Fixed and tested in all branches (r56182-4).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1968#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>