alex35mil / dotfiles

My dotfiles
230 stars 10 forks source link

zellij statusbar error #5

Closed monkiq closed 1 year ago

monkiq commented 1 year ago

My Device: MBP M1Pro arm64

image

the zellij log is

WARN   |zellij_utils::input::layo| 2023-09-15 16:24:25.416 [main      ] [zellij-utils/src/input/layout.rs:962]: Failed to read swap layout file: /Users/monkiq/.config/zellij/layouts/terminal.swap.kdl. Error: Os { code: 2, kind: NotFound, message: "No such file or directory" }
INFO   |zellij_client            | 2023-09-15 16:24:25.418 [main      ] [zellij-client/src/lib.rs:152]: Starting Zellij client!
INFO   |zellij_server            | 2023-09-15 16:24:25.424 [main      ] [zellij-server/src/lib.rs:245]: Starting Zellij server!
INFO   |zellij_server            | 2023-09-15 16:24:25.480 [main      ] [zellij-server/src/lib.rs:913]: Compiling plugins using Cranelift
INFO   |zellij_server::plugins   | 2023-09-15 16:24:25.480 [wasm      ] [zellij-server/src/plugins/mod.rs:137]: Wasm main thread starts
INFO   |zellij_server::plugins::p| 2023-09-15 16:24:25.486 [async-std/runti] [zellij-server/src/plugins/plugin_loader.rs:487]: Loaded plugin '/Users/monkiq/.config/zellij/plugins/statusbar.wasm' from cache folder at '/Users/monkiq/Library/Caches/org.Zellij-Contributors.Zellij' in 1.927958ms
ERROR  |zellij_server::plugins::w| 2023-09-15 16:24:25.487 [async-std/runti] [zellij-server/src/plugins/wasm_bridge.rs:762]: failed to start plugin 0 for client 1

Caused by:
    0: Failed to create instance, plugin env and subscriptions for plugin 0
    1: Error while importing "zellij"."host_subscribe": unknown import. Expected Function(FunctionType { params: [], results: [] })
INFO   |zellij_server::plugins::w| 2023-09-15 16:24:31.382 [wasm      ] [zellij-server/src/plugins/wasm_bridge.rs:198]: Bye from plugin 0
ERROR  |zellij_utils::errors::not| 2023-09-15 16:24:31.596 [screen    ] [zellij-utils/src/errors.rs:614]: Panic occured:
             thread: screen
             location: At zellij-server/src/lib.rs:812:18
             message: Program terminates: a fatal error occured

Caused by:
    failed to write to active terminal for client 1 - msg: [13]
INFO   |zellij_server::plugins   | 2023-09-15 16:24:31.599 [wasm      ] [zellij-server/src/plugins/mod.rs:339]: wasm main thread exits

I would be grateful if you could provide some help

alex35mil commented 1 year ago

Hi, I need to update it to the latest Zellij. I'll look into it soon. Probably, this weekend.

alex35mil commented 1 year ago

Tried to update, but not sure how to handle permission request.

alex35mil commented 1 year ago

@Monkiq Fix is on master.

monkiq commented 1 year ago

Thank you!