gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

[Excalidraw Extension] Blank custom editor in Gitpod Browser IDE

Open pomdtr opened this issue 3 years ago • 4 comments

Bug description

The excalidraw custom editor does not display properly in gitpod.

image

However, it works fine in github.dev, github codespaces and vscode.

Steps to reproduce

Workspace affected

excalidraw-excalidrawvs-bs2w57wmia6.ws-eu47.gitpod.io

Expected behavior

On github.dev, the test.excalidraw file is shown:

image

Example repository

https://github.com/excalidraw/excalidraw-vscode

pomdtr avatar Jun 08 '22 08:06 pomdtr

Hi @pomdtr 👋, thanks for raising the issue. I can reproduce this and it seems like there is an error in the activation of the extension. I'll dig deeper, but this log is so far what I've got:

[2022-06-08 17:35:44.238] [exthost] [info] Extension host started
[2022-06-08 17:35:44.902] [exthost] [info] ExtensionService#_doActivateExtension pomdtr.excalidraw-editor, startup: true, activationEvent: 'workspaceContains:**/*.{excalidraw,excalidraw.svg,excalidraw.png}'
[2022-06-08 17:35:44.973] [exthost] [error] Activating extension pomdtr.excalidraw-editor failed due to an error:
[2022-06-08 17:35:45.016] [exthost] [error] Error: 
	at O._loadCommonJSModule (../../../vs/workbench/api/worker/extensionHostWorker.js:75:63362)
	at async Promise.all (index 0)
	at async f._activate (../../../vs/workbench/api/worker/extensionHostWorker.js:69:8180)
	at async f._waitForDepsThenActivate (../../../vs/workbench/api/worker/extensionHostWorker.js:69:8122)
	at async f._initialize (../../../vs/workbench/api/worker/extensionHostWorker.js:69:7486)

Source code of the error line: https://github.com/gitpod-io/openvscode-server/blob/d9373893583a1b78df346f4671bc24221d5e5aba/src/vs/workbench/api/common/extHostExtensionService.ts#L466

There is also a warning every time I open a file, which is https://github.com/microsoft/vscode/blob/05de94e4c547a8953d3c002fe034fa4589ebfa97/src/vs/workbench/api/common/extHostConfiguration.ts#L304.

filiptronicek avatar Jun 08 '22 15:06 filiptronicek

I also took a look, it seems it's an openvsx bug, I created an issue upstream https://github.com/eclipse/openvsx/issues/468

jeanp413 avatar Jun 09 '22 02:06 jeanp413

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 08 '22 22:09 stale[bot]

I have this bug. It still exists. It's annoynig because excalidraw ia a very useful tool and that could be a reason to go and see gitpod competitors.

veepdotai avatar Jan 27 '25 16:01 veepdotai