silx-kit / vscode-h5web

VSCode extension to explore and visualize HDF5 files
https://marketplace.visualstudio.com/items?itemName=h5web.vscode-h5web
MIT License
33 stars 5 forks source link

`Error loading webview` when opening HDF5 file #18

Closed loichuder closed 1 year ago

loichuder commented 2 years ago

Describe the bug

Sometimes, when I try to open a HDF5 file, I get this error in VSCode:

Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..

and the file does not open (I get an empty tab).

To Reproduce

Hard to say. The error comes and goes :confused: and is not linked to specific files as far as I know.

Closing and re-opening VSCode fixes the problem.

Context

axelboc commented 1 year ago

Closing since it cannot really be solved with the info provided. If anyone manages to reproduce the issue consistently or narrow down the cause, please do re-open.