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

Error when save and quit buffer or tab #155

Closed
CRAG666 opened this issue Oct 29, 2022 · 16 comments · Fixed by #639
Closed

Error when save and quit buffer or tab #155

CRAG666 opened this issue Oct 29, 2022 · 16 comments · Fixed by #639
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@CRAG666
Copy link

CRAG666 commented Oct 29, 2022

Your plugin is incredible.After some updates every time I close a buffer this error occurs, on other occasions noice does not work
image

@CRAG666 CRAG666 added the bug Something isn't working label Oct 29, 2022
@folke
Copy link
Owner

folke commented Oct 29, 2022

This should not happen. I can suppress the error, but that would just mask the problem.

Can you add some of the last logs? :Noice log

@CRAG666
Copy link
Author

CRAG666 commented Oct 30, 2022

noice.log

@CRAG666
Copy link
Author

CRAG666 commented Oct 31, 2022

imagen
It also gives this mistake

@CRAG666
Copy link
Author

CRAG666 commented Oct 31, 2022

imagen
other error

@folke
Copy link
Owner

folke commented Nov 7, 2022

Cant reproduce. Please create a minimal.lua https://github.com/folke/noice.nvim/wiki/Minimal-%60init.lua%60-to-Reproduce-an-Issue

That last error should never happen. Unrelated to Noice. Some lsp server or plugin is submitting progress info without a client_id?

@folke folke added the invalid This doesn't seem right label Nov 7, 2022
@CRAG666
Copy link
Author

CRAG666 commented Nov 7, 2022

Cant reproduce. Please create a minimal.lua https://github.com/folke/noice.nvim/wiki/Minimal-%60init.lua%60-to-Reproduce-an-Issue

That last error should never happen. Unrelated to Noice. Some lsp server or plugin is submitting progress info without a client_id?

Maybe it's null-ls but maybe I'm not sure

@gennaro-tedesco
Copy link

Interestingly enough I (sometimes) get the same behaviour (of the first screenshot: "invalid window id") when moving buffers around from floating windows. Let me explain: with modern fuzzy finders (I use fzf-lua) you can list your buffers (opening such list in a floating window) and associate actions upon them via keymaps, for instance opening it in a split window, editing it, deleting it and so forth. When doing so I sometimes get the many errors as in the original question, but I haven't been able to reproduce it consistently.

@lourenci
Copy link

Echo to @gennaro-tedesco message. Same issue here, but unable to reproduce. 😢 It happens usually when I start to split windows and open new tabs.

@CRAG666
Copy link
Author

CRAG666 commented Nov 10, 2022

Echo to @gennaro-tedesco message. Same issue here, but unable to reproduce. cry It happens usually when I start to split windows and open new tabs.

Is exactly my workflow

@folke
Copy link
Owner

folke commented Nov 10, 2022

Yesterday, I fixed an issue that seems related to this in a8402e8

The issue I fixed is when a Noice window is closed right after it opened. (which should not happen. I suspect other plugins accidenatlly closing the wrong window)

Please let me know if this issue still happens

@CRAG666
Copy link
Author

CRAG666 commented Nov 10, 2022

imagen
@folke

@CRAG666
Copy link
Author

CRAG666 commented Nov 10, 2022

imagen
This only happens if I use noise
I am currently using Neovim 0.9.0

@folke
Copy link
Owner

folke commented Nov 10, 2022

@CRAG666 what is your Noice config?

@CRAG666
Copy link
Author

CRAG666 commented Nov 11, 2022

@folke
imagen

@folke
Copy link
Owner

folke commented Nov 11, 2022

I would really need to have a way to reproduce this. I've never even once seen such an error.

@CRAG666
Copy link
Author

CRAG666 commented Nov 11, 2022

I could try my configuration
@folke this is my config
https://github.com/CRAG666/dotfiles/tree/master/config/nvim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants