Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to fill whole buffer #2693

Open
happysalada opened this issue Aug 12, 2023 · 3 comments
Open

Failed to fill whole buffer #2693

happysalada opened this issue Aug 12, 2023 · 3 comments

Comments

@happysalada
Copy link

Thank you for taking the time to file this issue! Please follow the instructions and fill in the missing parts below the instructions, if it is meaningful. Try to be brief and concise.

Basic information
Upon starting zellij on compact layout, I get the following error

ERROR  |zellij_client            | 2023-08-12 12:38:11.012 [router    ] [zellij-client/s
INFO   |zellij_client            | 2023-08-12 12:38:23.228 [main      ] [zellij-client/s
INFO   |zellij_server            | 2023-08-12 12:38:23.241 [main      ] [zellij-server/s
WARN   |zellij_server::route     | 2023-08-12 12:38:23.302 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:38:23.303 [server_router] [zellij-serve
INFO   |zellij_server            | 2023-08-12 12:38:23.303 [main      ] [zellij-server/s
WARN   |zellij_server::route     | 2023-08-12 12:38:23.303 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:38:23.303 [server_router] [zellij-serve
INFO   |zellij_server::plugins   | 2023-08-12 12:38:23.304 [wasm      ] [zellij-server/s
WARN   |zellij_server::route     | 2023-08-12 12:38:23.304 [server_router] [zellij-serve
INFO   |zellij_utils::input::plug| 2023-08-12 12:38:23.322 [async-std/runti] [zellij-uti
WARN   |zellij_utils::ipc        | 2023-08-12 12:38:23.328 [router    ] [zellij-utils/sr
ERROR  |zellij_client            | 2023-08-12 12:38:23.328 [router    ] [zellij-client/s
INFO   |zellij_client            | 2023-08-12 12:45:11.213 [main      ] [zellij-client/s
INFO   |zellij_server            | 2023-08-12 12:45:11.228 [main      ] [zellij-server/s
WARN   |zellij_server::route     | 2023-08-12 12:45:11.298 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.298 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.298 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.298 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.299 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.299 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.299 [server_router] [zellij-serve
INFO   |zellij_server            | 2023-08-12 12:45:11.299 [main      ] [zellij-server/s
WARN   |zellij_server::route     | 2023-08-12 12:45:11.299 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.300 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.300 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.300 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.300 [server_router] [zellij-serve
WARN   |zellij_server::route     | 2023-08-12 12:45:11.301 [server_router] [zellij-server/src/route.rs:817]: Server not ready, trying to place instruction in retry queue...
WARN   |zellij_server::route     | 2023-08-12 12:45:11.301 [server_router] [zellij-server/src/route.rs:877]: Server ready, retrying sending instruction.
INFO   |zellij_server::plugins   | 2023-08-12 12:45:11.301 [wasm      ] [zellij-server/src/plugins/mod.rs:124]: Wasm main thread starts
INFO   |zellij_utils::input::plug| 2023-08-12 12:45:11.322 [async-std/runti] [zellij-utils/src/input/plugins.rs:139]: Plugin 'compact-bar.wasm' exists in the 'PLUGIN DIR' at '/Users/raphael/Library/Application Support/org.Zellij-Contributors.Zellij/plugins/' but is being ignored
WARN   |zellij_utils::ipc        | 2023-08-12 12:45:11.324 [router    ] [zellij-utils/src/ipc.rs:230]: Error in IpcReceiver.recv(): InvalidMarkerRead(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" })
ERROR  |zellij_client            | 2023-08-12 12:45:11.325 [router    ] [zellij-client/src/lib.rs:309]: Received empty message from server

zellij --version: 0.37.2
stty size: > stty size
23 88
uname -av or ver(Windows): Darwin yt 21.6.0 Darwin Kernel Version 21.6.0: Mon Apr 24 21:10:53 PDT 2023; root:xnu-8020.240.18.701.5~1/RELEASE_X86_64 x86_64

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example:
alacritty 0.12.2

Further information
Reproduction steps, noticeable behavior, related issues, etc
Zellij was installed from nix-darwin.
here is my config.kdl

efault_layout "compact"
default_shell "nu"
keybinds {
        unbind "Ctrl b" "Ctrl n" "Ctrl p" "Ctrl g" "Ctrl h" "Ctrl o" "Ctrl q" {

        }
}
pane_frames false
theme "black"
themes {
        black {
                bg 49 46 129
                black 0 0 0
                blue 122 162 247
                cyan 42 195 222
                fg 169 177 214
                green 5 150 105
                magenta 187 154 247
                orange 255 158 100
                red 249 51 87
                white 192 202 245
                yellow 224 175 104
        }
}
ui {
        pane_frames {
                hide_session_name true
        }
}
@dj95
Copy link
Contributor

dj95 commented Oct 6, 2023

Have you tried to clear the zellij cache under ~/Library/Caches/org.Zellij-Contributors.Zellij. It fixed the issue for me, when I tested my plugin with multiple zellij versions.

@happysalada
Copy link
Author

That seems to have done it thank you !

@towry

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants