-
Notifications
You must be signed in to change notification settings - Fork 13
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
attempt to index field 'advice' - On Nix #20
Comments
Hi @LamprosPitsillos thanks for reporting. Do you have I am thinking remote calls to Kitty are failing resulting in |
I added that , must have missed it somehow , thanks , but now i get this
Running check health gives the previous mentioned error |
@LamprosPitsillos I had some bad logic around checkhealth. I pushed a fix for that would you mind pulling the latest, completely closing Kitty, reopening and running |
Still get the error but , check health now gives this |
Debug notes:
osx
use vim.fn.exepath('sed') instead |
I'm getting this error too: ==============================================================================
kitty-scrollback: require("kitty-scrollback.health").check()
kitty-scrollback: Neovim version 0.10+ ~
- OK NVIM 0.10.0-dev+dirty
kitty-scrollback: Kitty remote control ~
- OK `kitty @ ls` exited with code *0*
kitty-scrollback: Kitty data ~
- OK Kitty data available
>lua
{
columns = 157,
config_files = { "/home/xfzv/.local/share/nvim/lazy/kitty-scrollback.nvim/lua/kitty-scrollback/configs/checkhealth.lua" },
cursor_x = 1,
cursor_y = 3,
kitty_config_dir = "/home/xfzv/.config/kitty",
kitty_opts = {
allow_remote_control = "yes",
listen_on = "unix:/tmp/kitty",
scrollback_fill_enlarged_window = false,
scrollback_lines = 2000,
scrollback_pager = { "less", "--chop-long-lines", "--RAW-CONTROL-CHARS", "+INPUT_LINE_NUMBER" },
scrollback_pager_history_size = 0,
shell_integration = { "enabled" }
},
kitty_version = { 0, 30, 0 },
ksb_dir = "/home/xfzv/.local/share/nvim/lazy/kitty-scrollback.nvim",
lines = 71,
scrolled_by = 0,
window_id = 1
}
kitty-scrollback: Kitty version 0.29+ ~
- OK kitty 0.30.0
kitty-scrollback: clipboard ~
- OK Clipboard tool found: *xsel*
kitty-scrollback: Kitty shell integration ~
- OK Kitty shell integration is enabled
kitty-scrollback: sed ~
- ERROR Failed to run healthcheck for "kitty-scrollback" plugin. Exception:
/usr/share/nvim/runtime/lua/vim/_system.lua:241: ENOENT: no such file or directory
|
Hey @LamprosPitsillos and @xfzv thanks for reporting, I pushed a fix. Could you try with latest and let me know if you have any more issues? |
https://gist.github.com/LamprosPitsillos/01c7e4802a35782358bb8445d3a9c4bf But the error is still there.
|
Hey @LamprosPitsillos , the logs are just what is displayed that you pasted.
to
I am thinking I may have validation on shell_integration that is failing incorrectly and the error may be misleading, or some race condition that is attempting to close the same loading window twice. Thanks for the info! |
@LamprosPitsillos I have a branch where I am refactoring the close window logic, could you try with branch |
The |
Improve logic when closing the Kitty loading window. It is possible that the loading window is already closed by the time we attempt to close it. In this case, check if the window exists, otherwise reattempt. Improve logic when getting Kitty terminal colors. If get-colors fails with a given window ID, then reattempt without a window ID. closed #20
🎉 This issue has been resolved in version 1.1.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Thanks @LamprosPitsillos for letting me know, I have released the fix. Please let me know if you have any other issues 👍. |
I get the following error when trying to use ""
Running check health results in this :
My config:
The text was updated successfully, but these errors were encountered: