Search code examples
gitfedoragnomekde-plasma

git push error Gtk


Everytime I push something in git I get this Warning:

(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory actions/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/16 of theme breeze-dark has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/22 of theme breeze-dark has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory devices/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory actions/48 of theme breeze has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/16 of theme breeze has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/22 of theme breeze has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory categories/48 of theme breeze has no size field
(gnome-ssh-askpass:7051): Gtk-WARNING **: Theme directory devices/48 of theme breeze has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory actions/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/16 of theme breeze-dark has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/22 of theme breeze-dark has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory devices/48 of theme breeze-dark has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory actions/48 of theme breeze has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/16 of theme breeze has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/22 of theme breeze has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory categories/48 of theme breeze has no size field
(gnome-ssh-askpass:7054): Gtk-WARNING **: Theme directory devices/48 of theme breeze has no size field

I am using Fedora 23 with KDE-Plasma Desktop (i think it has to do something with my KDE-theme)

Why is this and how do I get rid of it?


Solution

  • You are using KDE theme with missing files. It might go away if you choose different theme than "breeze".

    Other possibility would be to unset SSH_ASKPASS environment variable (if you don't use password authentication to git).

    SSH_ASKPASS="" git push
    

    if it will help you, you can add that to your ~/.bashrc (if you use bash):

    unset SSH_ASKPASS
    

    or create bash function in your ~/.bashrc:

    function git() {
      unset SSH_ASKPASS
      /usr/bin/git $@
    }
    

    (don't forget to re-login or re-source the ~/.bashrc after the change)


    or just uninstall openssh-askpass, which is evidently trigger:

    dnf remove openssh-askpass