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

attempt to call field 'system' (a nil value) #23

Closed
gio8tisu opened this issue Sep 27, 2023 · 3 comments
Closed

attempt to call field 'system' (a nil value) #23

gio8tisu opened this issue Sep 27, 2023 · 3 comments
Labels

Comments

@gio8tisu
Copy link

gio8tisu commented Sep 27, 2023

Hello, I'm getting the following error when healthchecking kitty-scrollback from neovim (KittyScrollbackCheckHealth):

kitty-scrollback: require("kitty-scrollback.health").check()

- ERROR Failed to run healthcheck for "kitty-scrollback" plugin. Exception:
  function health#check, line 25
  Vim(eval):E5108: Error executing lua ...pt/kitty-scrollback.nvim/lua/kitty-scrollback/health.lua:246: attempt to call field 'system' (a nil value)
  stack traceback:
  ...pt/kitty-scrollback.nvim/lua/kitty-scrollback/health.lua:246: in function 'check_kitty_scrollback_nvim_version'
  ...pt/kitty-scrollback.nvim/lua/kitty-scrollback/health.lua:280: in function 'check'
  [string "luaeval()"]:1: in main chunk
  [C]: in function 'checkhealth'
  ...r/opt/kitty-scrollback.nvim/lua/kitty-scrollback/api.lua:155: in function ''
  vim/_editor.lua: in function <vim/_editor.lua:0>

I tried to follow the installation steps but can't make it through...

Let me know if you need more info.

Thanks in advance!

@gio8tisu
Copy link
Author

Nevermind, I didn't see that neovim v0.10+ was required. Upgraded and it's working now.

@mikesmithgh
Copy link
Owner

Nevermind, I didn't see that neovim v0.10+ was required. Upgraded and it's working now.

No worries, I recently modified the checkhealth logic. Previously it would have let you know during that operation. I'll take a look to see what changed so it is easier for new users.

mikesmithgh pushed a commit that referenced this issue Sep 28, 2023
## [1.1.4](v1.1.3...v1.1.4) (2023-09-28)

### Bug Fixes

* **healthcheck:** add fallback logic for < 0.10 closes [#23](#23) ([#26](#26)) ([f1e8c40](f1e8c40))
@mikesmithgh
Copy link
Owner

🎉 This issue has been resolved in version 1.1.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

No branches or pull requests

2 participants