zellij icon indicating copy to clipboard operation
zellij copied to clipboard

Zellij not working in termux yet it used to work sometime back

Open Yassinproweb opened this issue 6 months ago • 2 comments

`cat /data/data/com.termux/files/usr/tmp/zellij-*/zellij-log/zellij.log INFO |zellij_client | 2025-06-02 12:56:51.815 [main ] [zellij-client/src/lib.rs:179]: Starting Zellij client! INFO |zellij_server | 2025-06-02 12:56:51.861 [main ] [zellij-server/src/lib.rs:529]: Starting Zellij server! WARN |zellij_utils::kdl | 2025-06-02 12:56:51.871 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file WARN |zellij_utils::kdl | 2025-06-02 12:56:51.872 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file INFO |zellij_client | 2025-06-02 12:57:43.590 [main ] [zellij-client/src/lib.rs:179]: Starting Zellij client! INFO |zellij_server | 2025-06-02 12:57:43.640 [main ] [zellij-server/src/lib.rs:529]: Starting Zellij server! WARN |zellij_utils::kdl | 2025-06-02 12:57:43.655 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file WARN |zellij_utils::kdl | 2025-06-02 12:57:43.656 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file INFO |zellij_client | 2025-06-02 15:59:34.091 [main ] [zellij-client/src/lib.rs:179]: Starting Zellij client! INFO |zellij_server | 2025-06-02 15:59:34.181 [main ] [zellij-server/src/lib.rs:529]: Starting Zellij server! WARN |zellij_utils::kdl | 2025-06-02 15:59:34.198 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file WARN |zellij_utils::kdl | 2025-06-02 15:59:34.200 [main ] [zellij-utils/src/kdl/mod.rs:696]: Converting new tab action without arguments, original action saved to .bak.kdl file ERROR |zellij_client::stdin_ansi| 2025-06-02 15:59:34.219 [stdin_handler] [zellij-client/src/stdin_ansi_parser.rs:125]: Failed to open STDIN cache file: Os { code: 2, kind: NotFound, message: "No such file or directory" } INFO |zellij_server | 2025-06-02 15:59:34.232 [main ] [zellij-server/src/lib.rs:1554]: Compiling plugins using Cranelift WARN |zellij_server::route | 2025-06-02 15:59:34.237 [server_router] [zellij-server/src/route.rs:1091]: Server not ready, trying to place instruction in retry queue... INFO |zellij_server::plugins | 2025-06-02 15:59:34.237 [wasm ] [zellij-server/src/plugins/mod.rs:235]: Wasm main thread starts WARN |zellij_server::route | 2025-06-02 15:59:34.238 [server_router] [zellij-server/src/route.rs:1206]: Server ready, retrying sending instruction. WARN |zellij_utils::input::layo| 2025-06-02 15:59:34.243 [wasm ] [zellij-utils/src/input/layout.rs:109]: Overriding plugin alias WARN |zellij_utils::input::layo| 2025-06-02 15:59:34.246 [wasm ] [zellij-utils/src/input/layout.rs:109]: Overriding plugin alias ERROR |zellij_utils::errors::not| 2025-06-02 15:59:39.341 [async-std/runti] [zellij-utils/src/errors.rs:692]: Panic occured: thread: async-std/runtime location: At /home/builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmtime-29.0.1/src/runtime/code_memory.rs:342:63 message: Failed pipeline flush: Os { code: 38, kind: Unsupported, message: "Function not implemented" } INFO |zellij_server::plugins | 2025-06-02 15:59:39.342 [wasm ] [zellij-server/src/plugins/mod.rs:909]: wasm main thread exits ERROR |zellij_utils::errors::not| 2025-06-02 15:59:39.351 [async-std/runti] [zellij-utils/src/errors.rs:692]: Panic occured: thread: async-std/runtime location: At /home/builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmtime-29.0.1/src/runtime/code_memory.rs:342:63 message: Failed pipeline flush: Os { code: 38, kind: Unsupported, message: "Function not implemented" } ERROR |zellij_utils::errors::not| 2025-06-02 15:59:39.357 [async-std/runti] [zellij-utils/src/errors.rs:692]: Panic occured: thread: async-std/runtime location: At /home/builder/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasmtime-29.0.1/src/runtime/code_memory.rs:342:63 message: Failed pipeline flush: Os { code: 38, kind: Unsupported, message: "Function not implemented" } ERROR |zellij_server::os_input_o| 2025-06-02 15:59:39.370 [screen ] [zellij-server/src/os_input_output.rs:907]: Failed to cache resizes: failed to send message to pty writer ERROR |zellij_server::os_input_o| 2025-06-02 15:59:39.371 [screen ] [zellij-server/src/os_input_output.rs:918]: Failed to apply cached resizes: failed to send message to pty writer ERROR |zellij_utils::errors::not| 2025-06-02 15:59:39.375 [async-std/runti] [zellij-utils/src/errors.rs:692]: Panic occured: thread: async-std/runtime location: At zellij-server/src/pty.rs:1132:30 message: Program terminates: a fatal error occured

Caused by: 0: failed to spawn terminals for layout
1: failed to listen for bytes from PTY 2: failed to async-send to screen 3: failed to send message to screen 4: Originating Thread(s) 5: failed to send message to channel`

Zellij: 0.42

Yassinproweb avatar Jun 02 '25 13:06 Yassinproweb

I guess this is because we changed our wasm/wasi framework... I'm not versed in the workings of termux so can't offer much more insight than this.

imsnif avatar Jun 04 '25 06:06 imsnif

I guess this is because we changed our wasm/wasi framework... I'm not versed in the workings of termux so can't offer much more insight than this.

Ok thanks I didn't know that, but hope you make it work again on termux because tmux is not good for me.

Yassinproweb avatar Jun 05 '25 04:06 Yassinproweb

I can't reproduce this on my phone:

pkg add zellij

Installs zellij 0.42.2 and when I run it everything seems to work just fine?

zetashift avatar Jul 20 '25 21:07 zetashift