[GRASS-dev] [GRASS GIS] #283: wxGUI "Mapset access" prints warnings on the terminal

#283: wxGUI "Mapset access" prints warnings on the terminal
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
      Cpu: All |
----------------------+-----------------------------------------------------
"Config > GRASS working environment > Mapset access" prints plenty of
warnigs to the terminal:

{{{
(shoofi:25778): Gtk-WARNING **: /scratch/build-
area/gtk+2.0-2.12.11/gtk/gtkwidget.c:8547: widget class `GtkPizza' has no
property named `row-ending-details'
}}}

If they can't be avoided, could they at least be redirected somewhere
else? This issue hampers CLI usage.

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: wontfix | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

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

Comment:

Already reported see #204

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: wontfix | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [ticket:283 msieczka]:
> If they can't be avoided, could they at least be redirected somewhere
else? This issue hampers CLI usage.

Well, it should be possible to redirect these messages to dev/null, but I
am not sure if it's good idea...

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by msieczka):

  * status: closed => reopened
  * resolution: wontfix =>

Comment:

Replying to [comment:1 martinl]:
> Already reported see #204

Technically it's the same thing, but from the usability point of view #204
is not an issue, as it does not affect the GRASS user really, while this
one does. Reopening.

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [comment:3 msieczka]:
> Replying to [comment:1 martinl]:
> > Already reported see #204
>
> Technically it's the same thing, but from the usability point of view
#204 is not an issue, as it does not affect the GRASS user really, while
this one does. Reopening.

Well the attached patch should discard this message, but I really don't
like this solution...

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by glynn):

Replying to [comment:4 martinl]:
> Well the attached patch should discard this message, but I really don't
like this solution...
The patch should omit the line number, as this may change between minor
revisions of GTK.

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

Replying to [comment:5 glynn]:
> Replying to [comment:4 martinl]:
> > Well the attached patch should discard this message, but I really
don't like this solution...
> The patch should omit the line number, as this may change between minor
revisions of GTK.

OK, I just wonder how much can this if statement slow-down redirecting
messages (especially when a lot messages need to be redirected...).

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by martinl):

I applied simplified patch in r33301. Close this ticket?

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: reopened
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by msieczka):

In r33307 I still get lot's of:

{{{
Gtk-WARNING **: /scratch/build-area/gtk+2.0-2.12.11/gtk/gtkwidget.c:8547:
widget class `GtkPizza' has no property named `row-ending-details'
}}}

using "Mapset access".

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

#283: wxGUI "Mapset access" prints warnings on the terminal
-------------------------+--------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: worksforme | Keywords:
  Platform: All | Cpu: All
-------------------------+--------------------------------------------------
Changes (by cmbarton):

  * status: reopened => closed
  * resolution: => worksforme

Comment:

No messages on Mac OSX. Fixed or a local problem with gtk? Please test on
other platforms.

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