Molti `gtk-warnings` nel terminale. È serio?


15

Ho avuto molti problemi con il mio sistema e ho dovuto reinstallarlo. Uno di questi era proprio questi messaggi. Dopo aver reinstallato il sistema e usando le stesse icone, ricevo di nuovo gli avvisi e diffido dai problemi futuri. Quanto è rischioso questo e dovrei rimuovere il tema delle icone?

(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

Risposte:


10

Questo errore indica che il software utilizza chiamate della libreria GTK valide con una versione più recente della libreria GTK. A volte durante lo sviluppo del software è preferibile eliminare il "vecchio modo" di fare le cose mantenendo la compatibilità con le versioni precedenti. Ciò si ottiene contrassegnando le chiamate indesiderate deprecate . Questo dice allo sviluppatore che il loro codice è valido in questa versione, ma in futuro il loro codice dovrà essere aggiornato per funzionare con una nuova versione della libreria, possibilmente molte versioni lungo la strada.

In questo caso, GTK vuole essere più severo nell'includere le unità sulle dimensioni. Indica allo sviluppatore che GTK sta assumendo che le unità siano pixel, il che è il presupposto esatto che lo sviluppatore del software ha fatto in primo luogo.

Not using units is deprecated. Assuming 'px'.

Questo è un modo lungo e molto complicato per dire che questi avvertimenti sono rivolti agli sviluppatori del tema dell'icona e non riflettono i reali problemi di runtime.

Usando i repository di software Ubuntu, non ti verranno dati programmi e librerie incompatibili.


5

Se non noti alcun bug o errore, puoi tranquillamente ignorare questi avvisi. Tieni presente che questi sono solo avvertimenti, non errori.


10
Ignorare in modo sicuro gli avvisi non impedisce loro di rovinare l'output del terminale: P
jozxyqk,

In effetti rovinano. Un modo per disabilitare questi avvisi per gli utenti finali?
Wizek,

@wizek reindirizza stdout e stderr a / Dev / null
trognanders

1
@BaileyS Quindi dovrei farlo ogni volta che eseguo questi programmi. Inoltre, a volte mi importa di stdout, a volte mi preoccupo anche di altri pars del flusso stderr, quindi un reindirizzamento manuale e generale è altamente indesiderabile. Voglio solo disabilitare tutti gli avvisi di gtk per tutte le app sul mio computer e nient'altro. Dovrebbe essere un'opzione di configurazione GTK da qualche parte.
Wizek,

Non penso che ci sia un modo per reindirizzare permanentemente stdout e stderr a livello globale. La mia soluzione super pragmatica è quella di utilizzare un solo terminale di immondizia per avviare elementi grafici, se necessario, o semplicemente avviarli utilizzando un dock o una barra degli strumenti che li mette automaticamente in un luogo invisibile. La registrazione è di solito un vero casino, non sarei sorpreso se questo significasse rintracciare molte stampe direttamente su stderr.
Trognandro
Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.