flathub / flathub/com.visualstudio.code

vscode fails when trying to open file or folder

Đang mở
#175 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Shell
Star
217
Fork
82
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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:~$

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.