This problem seems to have happened after the recent update.
Everytime I click choose file, Insomnia would close/crash. Strange thing I noticed is clicking about in Help does the same thing.
๐ Thanks for opening your first issue! If you're reporting a ๐ bug, please make sure
you include steps to reproduce it. If you're requesting a feature ๐, please provide real
use cases that would benefit. ๐ช
To help make this a smooth process, please be sure you have first read the
contributing guidelines.
+ 1. Operating System: Ubuntu 18.04
Where are you clicking "choose file"? There are a few different places this could happen. A screenshot would be appreciated :)
I tried both Binary File Body as well as Multipart Form body and cannot seem to reproduce an error.
Where are you clicking "choose file"? There are a few different places this could happen. A screenshot would be appreciated :)

As shown in screenshot, but the problem seems to be fixed after the automatic update to 6.6.2.
Hmm, that's strange. Nothing changed in v6.6.2 around file selection. I have a feeling there may be something strange going on so please report back if you see it again ๐
@gschier I have the exact same problem. running insomnia version 6.6.2 on Ubuntu 18.04.3
Following actions cause app to crash:
side note: This worked a few weeks ago
Same problem here on Fedora 30, using the latest Snap version, 7.0.3.
It' doesn't always happen, but to me it's like 98% of the time.
I suspect it's something related with the GTK integration, right? Because it happens while I'm selecting the file, like browsing through the folders, before I could select the file to open. Usually, after the open file dialog opens, it crashes when I try to open or select any folder.
The terminal log. It crashed when I tried to change the folder location.
$ insomnia
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
[fix] Running database repairs
[db] Initialized DB at /home/user/snap/insomnia/37/.config/Insomnia/insomnia.$TYPE.db
Init responses DB
[localstorage] Initialized at /home/user/snap/insomnia/37/.config/Insomnia/localStorage
[main] Loading file:///snap/insomnia/37/resources/app.asar/renderer.html
[updater] Updater not running platform=linux dev=false
Gtk-Message: 14:46:04.522: GtkDialog mapped without a transient parent. This is discouraged.
(insomnia:13272): Gtk-WARNING **: 14:46:04.586: 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 /snap/insomnia/37/data-dir/icons/Adwaita/16x16/status/image-missing.png: Unable to load image-loading module: /snap/insomnia/30/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: libpng12.so.0: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
[1] 13272 abort (core dumped) insomnia
Still happening. I cannot Import/Export a workspace
System: Ubuntu 19.04 and Ubuntu 16.10
Version: Insomnia 7.0.5 (lastest SNAP offered by Ubuntu Software app)
When importing/exporting a workspace the next error is thrown and the program closed
Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found.
Failed to load /snap/insomnia/47/data-dir/icons/Yaru/16x16/status/image-missing.png:
Unable to load image-loading module: /snap/insomnia/37/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: cannot open shared object file: No such file or directory
Executing ls /snap/insomnia/[37|47|current]/gnome-platform/ returns an empty folder. So i'm guessing that the folder is not properly mounted and therefore gdk-pixbuf-2.0 cannot be found.
This can be replicated on a clean and updated Ubuntu 19.04 instalation so if you need any kind of info please ask for it.
I was trying with insomnia snap package and a was facing with this problem...
After uninstall snap package and install .deb package, this feature worked like a charm.
The bad news is that I didn't make a backup of my collection and I forgot that.. =X
Version 2020.2.2...
Exact same issue here, same errors.
I was about to try the DEB package but fortunately saw renatonolo's comment above.
I was trying with insomnia snap package and a was facing with this problem...
After uninstall snap package and install .deb package, this feature worked like a charm.The bad news is that I didn't make a backup of my collection and I forgot that.. =X
Version 2020.2.2...
Same problem for me, it happens everytime I try to browse for a file for a multipart body, and when I try to export my workspace.
(insomnia:14778): Gtk-WARNING **: 12:08:24.898: /snap/insomnia/77/gnome-platform/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so: cannot open shared object file: No such file or directory
(insomnia:14778): Gtk-WARNING **: 12:08:24.898: Loading IM context type 'ibus' failed
(insomnia:14778): Gtk-WARNING **: 12:08:33.594: 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 /snap/insomnia/102/data-dir/icons/Adwaita/16x16/status/image-missing.png: Unable to load image-loading module: /snap/insomnia/77/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: /snap/insomnia/77/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
[1] 14778 abort (core dumped) insomnia
$ ls /snap/insomnia/102/data-dir/icons
total 0
$ ls /snap/insomnia/77/gnome-platform
total 0