Beaucoup de `gtk-warnings` dans le terminal. Est-ce sérieux?


15

J'ai eu beaucoup de problèmes avec mon système et j'ai dû le réinstaller. L'un d'eux était ces mêmes messages. Après avoir réinstallé le système et utilisé les mêmes icônes, je reçois à nouveau les avertissements et je me méfie des problèmes futurs. Est-ce risqué et dois-je supprimer le thème des icônes?

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:10: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:12: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:14: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:553:16: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:574:10: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:584:11: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:588:16: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:589:17: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:601:13: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:602:16: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:648:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:649:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:661:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:692:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:694:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:746:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:747:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:794:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:795:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:943:15: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:945:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:967:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:968:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1032:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1032:23: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1045:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1177:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1222:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:14: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:16: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:18: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1223:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1229:24: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1229:26: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:21: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:23: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1230:25: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:23: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1239:25: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1240:14: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1264:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1264:26: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1270:22: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1270:24: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1271:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-panel.css:8:10: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-panel.css:23:20: '' is not a valid color name

(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-terminal.css:23:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: gnome-terminal.css:56:1: Expected a valid selector

(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:11:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:21: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: unity.css:21:25: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:11:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:32:16: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:64:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:64:22: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: nautilus.css:65:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:5:14: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:10:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:33:10: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:33:12: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:61:23: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:127:22: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:161:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:163:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-dark.css:178:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:5:14: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:10:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:33:10: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:33:12: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:66:23: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:132:22: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:166:20: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:168:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:183:19: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:15: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:17: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme parsing error: menus-darker.css:207:21: Not using units is deprecated. Assuming 'px'.

(gedit:637): Gtk-WARNING **: Theme directory actions/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/16 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory actions/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/22 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/24 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory actions/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/32 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory actions/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/48 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory actions/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/64 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory actions/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory animations/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory apps/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory categories/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory devices/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory emblems/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory mimetypes/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory places/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory status/96 of theme malys-uniblue has no size field


(gedit:637): Gtk-WARNING **: Theme directory stock/96 of theme malys-uniblue has no size field

Réponses:


10

Cette erreur indique que le logiciel utilise des appels de bibliothèque GTK valides avec une version plus récente de la bibliothèque GTK. Parfois, au cours du développement de logiciels, il est souhaitable de se débarrasser de «l’ancienne façon» de faire les choses tout en conservant la compatibilité descendante. Ceci est accompli en marquant les appels indésirables comme déconseillés . Cela indique au développeur que leur code est valide dans cette version, mais à l'avenir, leur code devra être mis à jour pour fonctionner avec une nouvelle version de la bibliothèque, éventuellement de nombreuses versions ultérieurement.

Dans ce cas, GTK veut être plus strict quant à l'inclusion des unités sur les dimensions. Il indique au développeur que GTK suppose que les unités sont des pixels, ce qui est l'hypothèse exacte que le développeur du logiciel a faite en premier lieu.

Not using units is deprecated. Assuming 'px'.

C'est une façon longue et très compliquée de dire que ces avertissements sont destinés aux développeurs du thème d'icônes et ne reflètent pas les problèmes réels d'exécution.

En utilisant les référentiels de logiciels Ubuntu, vous ne recevrez pas de programmes et bibliothèques incompatibles.


5

Si vous ne remarquez aucun bogue ou erreur, vous pouvez ignorer ces avertissements en toute sécurité. Gardez à l'esprit qu'il ne s'agit que d'avertissements et non d'erreurs.


10
Ignorer les avertissements en toute sécurité ne les empêche pas de ruiner la sortie de votre terminal: P
jozxyqk

En effet, ils se ruinent. Est-il possible de désactiver ces avertissements pour les utilisateurs finaux?
Wizek

@wizek redirection stdout et stderr / dev / null
trognanders

1
@BaileyS Ensuite, je devrais le faire à chaque fois que j'exécute ces programmes. De plus, parfois je me soucie de stdout, et parfois je me soucie même d'autres parties du flux stderr, donc une telle redirection manuelle et générale est hautement indésirable. Je veux juste désactiver tous les avertissements gtk pour toutes les applications sur ma machine, et rien d'autre. Devrait être une option de configuration GTK quelque part.
Wizek

Je ne pense pas qu'il existe un moyen de rediriger définitivement stdout et stderr à l'échelle mondiale. Ma solution super pragmatique consiste à utiliser un terminal poubelle pour démarrer des éléments graphiques si vraiment nécessaire, ou simplement les démarrer à l'aide d'un dock ou d'une barre d'outils qui les place automatiquement dans un endroit invisible. La journalisation est un vrai gâchis en général, je ne serais pas surpris si cela signifiait retrouver de nombreuses impressions directement sur stderr.
trognanders
En utilisant notre site, vous reconnaissez avoir lu et compris notre politique liée aux cookies et notre politique de confidentialité.
Licensed under cc by-sa 3.0 with attribution required.