flathub / flathub/com.visualstudio.code

vscode fails when trying to open file or folder

Aberta
#175 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Shell
Estrelas
217
Forks
82
Merge médio
1d 7h
PRs com merge (30d)
1

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

Comece reproduzindo a falha com o build do Code Insiders instalado via snap no openSUSE Tumbleweed e execute `code --verbose`. Compare o caminho ausente do carregador gdk-pixbuf e o erro do tema de ícones GTK com o ambiente do snap; a tarefa estará concluída quando abrir arquivos, pastas e Help > About não causar mais travamentos.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Domínio
desktop
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.