Skip to content

Linux Installer and Gtk errors #9886

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

Open
zermingore opened this issue Mar 18, 2020 · 2 comments
Open

Linux Installer and Gtk errors #9886

zermingore opened this issue Mar 18, 2020 · 2 comments
Labels
Help wanted Arduino would especially appreciate assistance from the community on this item OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug

Comments

@zermingore
Copy link

zermingore commented Mar 18, 2020

After upgrading Arduino from version 1.8.10 to 1.8.12 using the install.sh script (from the 1.8.12 version), I noticed that I could not use terminator anymore (early crashing with a Gtk error as output)

In xterm:

$> terminator

> (terminator:12853): Gtk-WARNING **: 09:02:59.417: Could not load a pixbuf from icon theme.
> This may indicate that pixbuf loaders or the mime database could not be found.
> **
> Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
> Aborted

I had similar problems with gimp

> (gimp:12377): GdkPixbuf-CRITICAL **: 08:56:27.099: gdk_pixbuf_get_n_channels: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

The involved file /usr/share/icons/Adwaita/16x16/status/image-missing.png existed
After a reboot, my window manager (i3) did not start anymore

These did not work:

$> update-mime-database ~/.local/share/mime
$> sudo update-mime-database /root/.local/share/mime

The fix:

sudo apt-get install --reinstall shared-mime-info

I can reproduce the issue re-running the install.sh script and appended the output file of the following:

sudo bash -x ./install.sh > log_arduino_install_1.8.12 2>&1

log_arduino_install_1.8.12.txt

os:

$> lsb_release -a
> No LSB modules are available.
> Distributor ID: Debian
> Description:    Debian GNU/Linux 10 (buster)
> Release:        10
> Codename:       buster

uname
4.19.0-5-amd64 #1 SMP Debian 4.19.37-5+deb10u2 (2019-08-08) x86_64 GNU/Linux

$> bash --version | head -n 1
> GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
@facchinm facchinm added OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug Help wanted Arduino would especially appreciate assistance from the community on this item labels Mar 18, 2020
@SvenMb
Copy link

SvenMb commented Jul 28, 2020

Same problem here with arduino 1.8.13 and it is not only terminator, other GTK-apps have the same problem.

(and thanks for the quick fix!)

@wsanders
Copy link

Still an issue on Fedora 35 with IDE 1.8.19. This problem is upstream (in Java? GDK?) since I, too, see the same messages scrolling in gimp, which is unrelated to Arduino IDE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help wanted Arduino would especially appreciate assistance from the community on this item OS: Linux Specific to the Linux version of the Arduino IDE Type: Bug
Projects
None yet
Development

No branches or pull requests

4 participants