flathub / flathub/com.visualstudio.code

vscode fails when trying to open file or folder

Open
#175 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
217
Forks
82
Avg merge
1d 7h
Merged PRs (30d)
1

Description

I've installed the snap version of code insiders on opensuse Tumbleweed. code dies when trying to open a file or folder. It also dies when trying to open help | about. I see that this error has been addressed in the past and handled and closed, but I'm getting the error now with a fresh install. This also happens when I disable extensions. Thank you.

Here is the output of code --verbose (I don't have /usr/lib/x86_64 and the command gdk-pixbuf-query-loaders doesn't exist.)

[main 2020-08-22T18:34:19.616Z] menubar#runActionInRenderer { type: 'commandId', commandId: 'workbench.action.files.openFolder' }
[11600:0822/143419.620950:INFO:CONSOLE(1679)] "%cTRACE color: #888 CommandService#executeCommand workbench.action.files.openFolder", source: file:///snap/code/40/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js (1679)
(code:11600): GdkPixbuf-WARNING **: 14:34:19.649: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

(code:11600): Gtk-WARNING **: 14:34:19.649: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
(code:11600): GdkPixbuf-WARNING **: 14:34:19.649: Cannot open pixbuf loader module file '/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
**
Gtk:ERROR:/build/gtk+3.0-24RAPQ/gtk+3.0-3.22.24/./gtk/gtkiconhelper.c:493:ensure_surface_for_gicon: assertion failed: (destination)
Server response: {"status":"Success","validDiagnostic
js@hp-suse-laptop:~$

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.