Banyak `gtk-warnings` di terminal. Apakah ini serius?


15

Saya punya banyak masalah dengan sistem saya dan harus menginstalnya kembali. Salah satunya adalah pesan-pesan ini. Setelah menginstal ulang sistem dan menggunakan ikon yang sama, saya mendapatkan peringatan lagi dan waspada terhadap masalah di masa depan. Seberapa berisiko hal ini dan haruskah saya menghapus ikon-tema?

(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

Jawaban:


10

Kesalahan ini menunjukkan bahwa perangkat lunak menggunakan panggilan perpustakaan GTK yang valid dengan versi yang lebih baru dari perpustakaan GTK. Kadang-kadang selama pengembangan perangkat lunak diinginkan untuk menyingkirkan, "cara lama", untuk melakukan hal-hal sambil mempertahankan kompatibilitas ke belakang. Ini dilakukan dengan menandai panggilan yang tidak diinginkan ditinggalkan . Ini memberitahu pengembang bahwa kode mereka valid dalam rilis ini, tetapi di masa depan kode mereka perlu diperbarui untuk bekerja dengan versi baru perpustakaan, mungkin banyak rilis di jalan.

Dalam hal ini, GTK ingin menjadi lebih ketat dalam memasukkan unit pada dimensi. Ini memberitahu pengembang bahwa GTK mengasumsikan unit adalah piksel, yang merupakan asumsi tepat bahwa pengembang perangkat lunak dibuat di tempat pertama.

Not using units is deprecated. Assuming 'px'.

Itu adalah cara yang panjang dan sangat rumit untuk mengatakan bahwa peringatan ini untuk pengembang ikon-tema, dan tidak mencerminkan masalah run-time aktual.

Dengan menggunakan repositori perangkat lunak Ubuntu, Anda tidak akan diberikan program dan pustaka yang tidak kompatibel.


5

Jika Anda tidak melihat ada bug atau kesalahan, Anda dapat dengan aman mengabaikan peringatan ini. Perlu diingat bahwa ini hanya peringatan, bukan kesalahan.


10
Mengabaikan peringatan dengan aman tidak menghentikan mereka untuk merusak output terminal Anda: P
jozxyqk

Memang mereka hancur. Adakah cara untuk menonaktifkan peringatan ini untuk pengguna akhir?
Wizek

@wizek redirect stdout dan stderr ke / Dev / null
trognanders

1
@ BaileyS Maka saya harus melakukan itu setiap kali saya menjalankan program ini. Juga, kadang-kadang saya peduli tentang stdout, dan kadang-kadang saya bahkan peduli tentang pars lain dari aliran stderr, jadi manual dan blanket redirect sangat tidak diinginkan. Saya hanya ingin menonaktifkan semua peringatan GTK untuk semua aplikasi di komputer saya, dan tidak ada yang lain. Harus menjadi opsi konfigurasi GTK di suatu tempat.
Wizek

Saya tidak berpikir ada cara untuk mengarahkan stdout dan stderr secara global secara permanen. Solusi super-pragmatis saya adalah dengan menggunakan satu terminal sampah untuk memulai hal-hal grafis jika benar-benar diperlukan, atau hanya memulai mereka menggunakan dok atau bilah alat yang secara otomatis membuat mereka di suatu tempat tidak terlihat. Logging biasanya berantakan, saya tidak akan terkejut jika itu berarti melacak banyak cetakan langsung ke stderr.
trognanders
Dengan menggunakan situs kami, Anda mengakui telah membaca dan memahami Kebijakan Cookie dan Kebijakan Privasi kami.
Licensed under cc by-sa 3.0 with attribution required.