-
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
bug: Neovim nightly ERROR alternate file not found vim.fn.bufnr('#') is -1. Most likely jobstart failed #303
Comments
+1 Thanks in advance!! |
Hi @shaungarwood and @Darvinleo I see you are on nightly. There was a change that was introduced in newer versions of nightly related to termopen and jobstart. Could you try upgrading to the latest version of nightly and let me know if the issue still occurs? You can also pin an older version of kitty-scrollback.nvim as a workaround. See #282 (comment) for more details. |
good call! My nvim version was stuck in purgatory after upgrading ubuntu because there isn't a PPA for Oracular yet. I was forced to downgrade to 10.3 (via brew) and kitty-scrollback works great now! Thanks @mikesmithgh |
NVIM v0.11.0-dev-1589+g71507281fb I've pin an kitty-scrollback to 6.1.2 - and it's works now! Thx a lot) |
Sounds good. Once #304 is merged, an improved error message will be provided 👍. Background on this issue: Neovim nightly deprecated termopen in favor of jobstart. See neovim/neovim#31343 If you are using Neovim nightly on a version that hasn't implemented the updates to jobstart, then you will see the error related to alternate file not found. To fix this problem, update to the latest version of Neovim nightly. If you cannot update to the latest version of Neovim nightly, the workaround is to pin kitty-scrollback.nvim v6.1.2. For example, if you are using lazy.nvim return {
{
'mikesmithgh/kitty-scrollback.nvim',
tag = 'v6.1.2',
enabled = true,
lazy = true,
cmd = { 'KittyScrollbackGenerateKittens', 'KittyScrollbackCheckHealth', 'KittyScrollbackGenerateCommandLineEditing' },
event = { 'User KittyScrollbackLaunch' },
-- version = '*', -- latest stable version, may have breaking changes if major version changed
-- version = '^6.0.0', -- pin major version, include fixes and features that do not have breaking changes
config = function()
require('kitty-scrollback').setup()
end,
},
} I plan to leave this issue open to help users when they encounter this error. I will close this issue after a long period of inactivity or once Neovim v0.11 is released. |
actually just found a workaround for this thanks to fzf-lua :) ibhagwan/fzf-lua#1732 I'll plan to fix this later today. |
once #305 is merged this will be fixed and I'll close this issue 👍 |
🎉 This issue has been resolved in version 6.2.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Don't sure what exactly went wrong after my update of apt packages, LazyVim plugins, but now i've got this error if i am trying to open kittyscrollback buffer (same for tmux and usual kitty buffer ).
In kittyhealthcheck nothing suspicious...
Help please to make this greatest plugin ever work again!)
==============================================================================
kitty-scrollback: require("kitty-scrollback.health").check()
kitty-scrollback: Neovim version 0.9+ ~
kitty-scrollback: kitty-scrollback.nvim version ~
56399db
=) ^Y^ (=
\ ^ / If you have any issues or questions using kitty-scrollback.nvim then
)=*=( please create an issue at
/ \ https://github.com/mikesmithgh/kitty-scrollback.nvim/issues and
| | provide the
KittyScrollbackCheckHealth
report./| | | |\
| | _|/
/_// ___/ Bonus points for cat memes
_)
kitty-scrollback: Kitty remote control ~
kitty @ ls
exited with code 0kitty-scrollback: Kitty data ~
kitty-scrollback: Kitty version 0.32.2+ ~
kitty-scrollback: clipboard ~
kitty-scrollback: sed ~
sed -E -e s/\r//g -e s/$/\x1b[0m/g
exited with code 0 and stdoutexpected�[0m
sed: /usr/bin/sed
The text was updated successfully, but these errors were encountered: