Opened 16 years ago

Closed 15 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 16 years ago.
no pizza please

Download all attachments as: .zip

Change History (10)

comment:1 by martinl, 16 years ago

Resolution: wontfix
Status: newclosed

Already reported see #204

in reply to:  description comment:2 by martinl, 16 years ago

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

in reply to:  1 ; comment:3 by msieczka, 16 years ago

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.

in reply to:  3 ; comment:4 by martinl, 16 years ago

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

by martinl, 16 years ago

Attachment: no-pizza-please.diff added

no pizza please

in reply to:  4 ; comment:5 by glynn, 16 years ago

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.

in reply to:  5 comment:6 by martinl, 16 years ago

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 by martinl, 16 years ago

I applied simplified patch in r33301. Close this ticket?

comment:8 by msieczka, 16 years ago

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 by cmbarton, 15 years ago

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.