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

Test error when switching buffers by using tags (Ctrl+]) or gd (go to definition) in neovim. #88

Open
heit0r opened this issue Nov 13, 2024 · 0 comments

Comments

@heit0r
Copy link

heit0r commented Nov 13, 2024

I'm not sure where to begin and I'm not sure if this is a neotest issue, to be honest.

But every time I open a new window, come back to the previous buffer and perform a new test I get an error:

simplescreenrecorder-2024-11-13_13.32.19.mp4

The output:

Error executing vim.schedule lua callback: ...istina/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: Async task failed without callback
: The coroutine failed with this message:
...local/share/nvim/lazy/neotest/lua/neotest/lib/window.lua:69: Failed to rename buffer
stack traceback:
[C]: in function 'nvim_buf_set_name'
...local/share/nvim/lazy/neotest/lua/neotest/lib/window.lua:69: in function 'buffer'
...lazy/neotest/lua/neotest/consumers/output_panel/init.lua:29: in function 'listener'
...are/nvim/lazy/neotest/lua/neotest/client/events/init.lua:51: in function <...are/nvim/lazy/neotest/lua/neotest/client/events/init.l
ua:47>
stack traceback:
[C]: in function 'error'
...istina/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:100: in function 'close_task'
...istina/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:122: in function 'cb'
...istina/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.lua:188: in function <...istina/.local/share/nvim/lazy/nvim-nio/lua/nio/tasks.
lua:187>

lsp.log:

[START][2024-11-13 13:27:19] LSP logging initiated
[ERROR][2024-11-13 13:27:19] .../vim/lsp/rpc.lua:770 "rpc" "/usr/bin/pylsp" "stderr" "2024-11-13 13:27:19,893 -03 - WARNING - pylsp_jsonrpc.endpoint - Received cancel notification for unknown message id 2\n"

I can only perform tests again after close neovim. Thanks in advance.

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

No branches or pull requests

1 participant