Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme parsing error with gtk 3.24.1 and recompiling gresource files #728

Open
elementgreen opened this issue Dec 12, 2018 · 2 comments
Open

Comments

@elementgreen
Copy link

numix-blue is my favorite GTK theme, but spits out lots of warnings when running programs from the command line (see below).

Most of these appear to be related to "font:" statements in the gtk.css file. I suspect that statements like "font: bold;" should actually be "font-weight: bold;", "font: 18px;" should be "font-size: 18px;", etc. I've made these changes to the gtk.css file, but problem persists because it is actually in the binary gtk.gresource file.

I've searched the ENTIRE Internet at this point (sarcasm) and cannot find any information on how to compile these blasted gresource files. Any tips would be most appreciated. I like this theme, but it is interfering with debugging of other applications, since I like to set breakpoints on g_logv when there is log output from glib.

System:
Ubuntu 18.10
gtk-3.24.1
numix-gtk-theme-2.6.7-3
numix-blue-gtk-theme-0.55

Looking at the numix-blue-gtk-theme package version, could this be outdated for some reason?

Thanks for any tips on this. Driving me crazy.

Gtk-WARNING **: 13:54:40.167: Theme parsing error: gtk.css:597:14: not a number
Gtk-WARNING **: 13:54:40.167: Theme parsing error: gtk.css:597:14: Expected a string.
Gtk-WARNING **: 13:54:40.167: Theme parsing error: gtk.css:600:17: Expected a string.
Gtk-WARNING **: 13:54:40.168: Theme parsing error: gtk.css:784:14: not a number
Gtk-WARNING **: 13:54:40.168: Theme parsing error: gtk.css:784:14: Expected a string.
Gtk-WARNING **: 13:54:40.168: Theme parsing error: gtk.css:787:17: Expected a string.
Gtk-WARNING **: 13:54:40.171: Theme parsing error: gtk.css:1096:14: not a number
Gtk-WARNING **: 13:54:40.171: Theme parsing error: gtk.css:1096:14: Expected a string.
Gtk-WARNING **: 13:54:40.171: Theme parsing error: gtk.css:1099:17: Expected a string.
Gtk-WARNING **: 13:54:40.178: Theme parsing error: gtk.css:2286:8: not a number
Gtk-WARNING **: 13:54:40.178: Theme parsing error: gtk.css:2286:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
Gtk-WARNING **: 13:54:40.178: Theme parsing error: gtk.css:2291:8: not a number
Gtk-WARNING **: 13:54:40.178: Theme parsing error: gtk.css:2291:18: Using Pango syntax for the font: style property is deprecated; please use CSS syntax
Gtk-WARNING **: 13:54:40.185: Theme parsing error: gtk.css:4357:14: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4357:14: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4419:12: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4419:12: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4428:16: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4428:16: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4443:22: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4443:22: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4499:12: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4501:16: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4501:16: Expected a string.
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4549:12: not a number
Gtk-WARNING **: 13:54:40.186: Theme parsing error: gtk.css:4549:12: Expected a string.

@khurshid-alam
Copy link
Contributor

Numix-Blue is not maintained here. File a bug at their own issue tracker. The errors you are getting is deprecation of pango styles which I believe was fixed in master. But these are just warnings, so build should not fail unless you consider warnings as errors.

In disco ( Ubuntu 19.04) , I only get compound selector deprecation which I will fixed later. See the log here.

@elementgreen
Copy link
Author

Ahh, sorry about that, did not know that Numix-Blue wasn't the same project. Yeah, they are just warnings, just interfering with gdb debugging of other glib applications, when I want to set a breakpoint on a log message (since the theme prints out a lot of them). If I could just rebuild the gresource file, I'd be good to go, but documentation on doing that seems really scarce. I'll give Numix-Blue master a try though. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants