Odd Console Warnings
Posted
#1
(In Topic #340)
Regular

(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:27:35: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:40:48: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:48:46: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:59:58: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:66:28: The :prelight pseudo-class is deprecated. Use :hover instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:70:46: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:77:35: The :prelight pseudo-class is deprecated. Use :hover instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:81:58: Junk at end of value for background-color
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:123:31: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:124:24: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:156:27: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:157:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:177:34: The :insensitive pseudo-class is deprecated. Use :disabled instead.
(Initialization:22434): Gtk-WARNING **: 18:22:17.864: Theme parsing error: gtk.css:199:34: The :inconsistent pseudo-class is deprecated. Use :indeterminate instead.
These will appear even with a new, totally blank window with no controls whatsoever.
I am currently using KUbuntu 18.04LTS with an XFCE desktop. Is this something i should be worried about for when I deploy whatever it is I'm building? I get these same warnings for each of my projects, so it has to be something in the Gambas settings or initialization. The wrong theme, or an incompatible theme perhaps?
Bill
Retired 20-year USN veteran. In IT field since 1961.
Posted
Regular

I am running Linux Mint Cinnamon 19.2, which is based on Ubuntu 18.04 LTS, so that may be getting close to your configuration. Besides Cinnamon, I have MATE and Xfce. Switching to the latter, I still don't see the bug when running a Gambas app using Gtk3, but that doesn't mean anything because I'm running an XP-styled theme. I tried Mint X, Mint Y and one of the many Xfce styles available in Settings menu|Appearance dialog|Styles tab, but maybe I should try the exact one you are using.
Posted
Regular

I tend to agree with you as the warnings all have the "theme parsing error" in common, but I thought I'd check and see if anyone else noticed them.
Bill
Retired 20-year USN veteran. In IT field since 1961.
Posted
Regular

Steve
issboss said
Thanks for the reply, SJSepan. In the past, when I've changed themes it always comes back with something changed that I can't get back to what it looked like before (if that makes any sense). They are warnings, and don't seem to affect the system when I compile to an executable and run it, so I am tempted to simply ignore them by clearing the console before every debug session. I know that doesn't do anything to the actual cause of the warnings though, but being a long-term (over 50 years) programmer I tend to leave things that don't matter alone.
I tend to agree with you as the warnings all have the "theme parsing error" in common, but I thought I'd check and see if anyone else noticed them.
Bill
Posted
Administrator

They are warnings, and don't seem to affect the system when I compile to an executable and run it, so I am tempted to simply ignore them by clearing the console before every debug session. I know that doesn't do anything to the actual cause of the warnings though, but being a long-term (over 50 years) programmer I tend to leave things that don't matter alone.
Yes, simply ignore them is the proper attitude as this has nothing to do with Gambas and should not influence the workings of you applications.
Running different desktops might make them go away or give you a whole set of other messages. So why worry?
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

Bill
Retired 20-year USN veteran. In IT field since 1961.
1 guest and 0 members have just viewed this.


