Opened 7 years ago

Closed 7 years ago

#1968 closed defect (fixed)

traceback error in wxgui goutput.py on save command output

Reported by: hamish Owned by: grass-dev@…
Priority: minor Milestone: 6.4.3
Component: wxGUI Version: svn-develbranch6
Keywords: Cc:
CPU: All Platform: All

Description

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

Change History (1)

comment:1 Changed 7 years ago by annakrat

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.