[GRASS-dev] G7 GUI a bit too chatty

GRASS 7.0 GUI keeps printing a bunch of non-fatal messages to the terminal, like these (it took me 1 minute to collect them with typical operations like add&query a raster layer etc.):

---
GRASS 7.0.0svn (spearfish60):~/aur/grass70-svn > /opt/grass70-svn/etc/gui/wxpython/gui_core/goutput.py:234: wxPyDeprecationWarning: Call to deprecated item 'SetVirtualSizeHints'.
   self.outputSizer.SetVirtualSizeHints(self.panelOutput)

GRASS 7.0.0svn (spearfish60):~/aur/grass70-svn >
(wxgui.py:5163): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed

(wxgui.py:5163): Gtk-CRITICAL **: IA__gtk_widget_set_size_request: assertion 'height >= -1' failed
---

I know these are no huge problem as such. But could they be avoided at some low cost? They are annoying, if you use terminal.

--
Maciej Sieczka
http://www.sieczka.org

Thanks for the report. Actually, there are tickets for this already.

On Mon, Mar 31, 2014 at 5:44 PM, Maciej Sieczka <msieczka@sieczka.org>wrote:

GRASS 7.0 GUI keeps printing a bunch of non-fatal messages to the
terminal, like these (it took me 1 minute to collect them with typical
operations like add&query a raster layer etc.):

---
GRASS 7.0.0svn (spearfish60):~/aur/grass70-svn > /opt/grass70-svn/etc/gui/
wxpython/gui_core/goutput.py:234: wxPyDeprecationWarning: Call to
deprecated item 'SetVirtualSizeHints'.
  self.outputSizer.SetVirtualSizeHints(self.panelOutput)

https://trac.osgeo.org/grass/ticket/2028

GRASS 7.0.0svn (spearfish60):~/aur/grass70-svn >
(wxgui.py:5163): Gtk-CRITICAL **: IA__gtk_widget_set_size_request:
assertion 'width >= -1' failed

(wxgui.py:5163): Gtk-CRITICAL **: IA__gtk_widget_set_size_request:
assertion 'height >= -1' failed
---

https://trac.osgeo.org/grass/ticket/2160

https://trac.osgeo.org/grass/ticket/2027 (similar)

I know these are no huge problem as such. But could they be avoided at
some low cost? They are annoying, if you use terminal.

The first is not trivial but some day it will be hopefully fixed. The
second is really annoying and it seems that it is more wxWidgets problem
but it is unclear.

Vaclav

--
Maciej Sieczka
http://www.sieczka.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev