Opened 11 years ago

Closed 11 years ago

#283 closed defect (worksforme)

wxGUI "Mapset access" prints warnings on the terminal

Reported by: msieczka Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc:
CPU: All Platform: All

Description

"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.

Attachments (1)

no-pizza-please.diff (589 bytes) - added by martinl 11 years ago.
no pizza please

Download all attachments as: .zip

Change History (10)

comment:1 Changed 11 years ago by martinl

Resolution: wontfix
Status: newclosed

Already reported see #204

comment:2 in reply to:  description Changed 11 years ago by martinl

Replying to 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...

comment:3 in reply to:  1 ; Changed 11 years ago by msieczka

Resolution: wontfix
Status: closedreopened

Replying to 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.

comment:4 in reply to:  3 ; Changed 11 years ago by martinl

Replying to msieczka:

Replying to 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...

Changed 11 years ago by martinl

Attachment: no-pizza-please.diff added

no pizza please

comment:5 in reply to:  4 ; Changed 11 years ago by glynn

Replying to 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.

comment:6 in reply to:  5 Changed 11 years ago by martinl

Replying to glynn:

Replying to 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...).

comment:7 Changed 11 years ago by martinl

I applied simplified patch in r33301. Close this ticket?

comment:8 Changed 11 years ago 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".

comment:9 Changed 11 years ago by cmbarton

Resolution: worksforme
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.