You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a plugin is loaded via http multiple times in parallel, the plugin breaks for zellij. On the first glance, it does not look like a common issue, but it is commonly reproduced with status bar plugins. When a user defines a layout with multiple tabs, on a clean cache zellij will start the download multiple times and corrupts the file.
Basic information
zellij --version: v0.40.1
stty size: 20 140
uname -av or ver(Windows): Linux 57ffe693fca0 6.5.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 27 00:18:38 UTC 2024 aarch64 GNU/Linux
Excerpt from the zellij log:
ERROR |zellij_server::plugins::w| 2024-07-06 17:33:31.943 [async-std/runti] [zellij-server/src/plugins/wasm_bridge.rs:1224]: Io(Custom { kind: NotFound, error: VerboseError { source: Os { code: 2, kind: NotFound, message: "No such file or directory" }, message: "could not rename `/root/.cache/zellij/11443609859275959894305566542538288992.part` to `/root/.cache/zellij/11443609859275959894305566542538288992`" } })
ERROR |zellij_server::plugins::w| 2024-07-06 17:33:31.947 [async-std/runti] [zellij-server/src/plugins/wasm_bridge.rs:1224]: failed to start plugin 1 for client 1
Caused by:
0: No such file or directory (os error 2): '/root/.local/share/zellij/plugins.wasm'
1: No such file or directory (os error 2): ''
2: failed to load plugin from disk
Minimal reproduction
Loading the following layout will show the error line at the bottom. Removing all tabs except one, clearing the cache and loading the layout will work.
When a plugin is loaded via http multiple times in parallel, the plugin breaks for zellij. On the first glance, it does not look like a common issue, but it is commonly reproduced with status bar plugins. When a user defines a layout with multiple tabs, on a clean cache zellij will start the download multiple times and corrupts the file.
Basic information
zellij --version
: v0.40.1stty size
: 20 140uname -av
orver
(Windows): Linux 57ffe693fca0 6.5.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 27 00:18:38 UTC 2024 aarch64 GNU/LinuxExcerpt from the zellij log:
Minimal reproduction
Loading the following layout will show the error line at the bottom. Removing all tabs except one, clearing the cache and loading the layout will work.
Other relevant information
I got several reports of plugins not loading via https, which might be caused by this issue:
dj95/zjstatus#72
dj95/zjstatus#73
The text was updated successfully, but these errors were encountered: