[Gambas-user] tracking down toolkit erors

Bruce Steers bsteers4 at gmail.com
Thu Aug 5 21:24:06 CEST 2021


Cheers folks.

There's got to be a way to suppress the warnings?

I've tried env GTK_DEBUG and GTK_NO_DEBUG options but no change.

I've even tried catching the application std / error output and filter out
gtk messages but cannot even figure out how to do that as does not seem to
work. (I'm likely doing it wrong)

Benoit...
Could you suggest a way to track down if possible exactly what object
produces the warning so i can iron it out?
Or.
Offer/Suggest a way to suppress the gtk warnings.

To the lesser knowledgable user (and i've had it said about my own
software)  these warnings produce a thought of "buggy software" and puts
people off using it.

A solution to this age old issue would be awesome if there is one.

Thanks all
BruceS


On Wed, 4 Aug 2021 at 00:33, bb <adamnt42 at gmail.com> wrote:

> On Tue, 2021-08-03 at 19:28 +0100, Bruce Steers wrote:
> > I have this program i'm developing that was starting and stopping
> > cleanly
> > then i recently added some controls and did various other things and
> > now it
> > says this when it starts...
> >
> > (Desktop-ish:12906): Gtk-WARNING **: 16:29:25.336: Theme parsing
> > error:
> > <data>:1:15: Expected a valid selector
> >
> > (Desktop-ish:12906): Gtk-WARNING **: 16:29:25.343: Theme parsing
> > error:
> > <data>:1:19: Expected a valid selector
> >
> > (Desktop-ish:12906): Gtk-WARNING **: 16:29:25.346: Theme parsing
> > error:
> > <data>:1:17: Expected a valid selector
> >
> > (Desktop-ish:12906): Gtk-WARNING **: 16:29:25.354: Theme parsing
> > error:
> > <data>:1:12: Expected a valid selector
> >
> > (Desktop-ish:12906): Gtk-WARNING **: 16:29:25.365: Theme parsing
> > error:
> > <data>:1:13: Expected a valid selector
> >
> >
> > Is there a way to track down what's causing it?
> >
> > thanks
> > BruceS
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> Given that goggling that warning text yields about 18.6 gazillion
> results I'd say it is a gtk catch-all warning for any failure to parse
> your desktop theme,so
> 1) try changing desktop theme, if it goes away then I think you have no
> option bar learning gnome theming and try and find the issue in your
> current theme (YUK!)
>
> good luck
> bruce
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210805/c642d345/attachment.htm>


More information about the User mailing list