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

[BUG] Quickfix menu issue #269

Open
Thevetat opened this issue Jul 5, 2023 · 1 comment
Open

[BUG] Quickfix menu issue #269

Thevetat opened this issue Jul 5, 2023 · 1 comment
Assignees

Comments

@Thevetat
Copy link

Thevetat commented Jul 5, 2023

NeoVim Version
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=auto -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_TS_HAS_SET_MAX_START_DEPTH -I/usr/include/luajit-2.1 -I/usr/include -I/build/neovim-DR54Ll/neovim-0.10.0ubuntu1+git202306022019-c45a111e3-9b397864c/.deps/usr/include -I/build/neovim-DR54Ll/neovim-0.10.0ubuntu1+git202306022019-c45a111e3-9b397864c/build/src/nvim/auto -I/build/neovim-DR54Ll/neovim-0.10.0ubuntu1+git202306022019-c45a111e3-9b397864c/build/include -I/build/neovim-DR54Ll/neovim-0.10.0ubuntu1+git202306022019-c45a111e3-9b397864c/build/cmake.config -I/build/neovim-DR54Ll/neovim-0.10.0~ubuntu1+git202306022019-c45a111e3-9b397864c/src

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"

Describe the bug

 Error  10:39:07 PM msg_show.lua_error Error executing vim.schedule lua callback: /home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:95: Async task failed without callback: The coroutine failed with this message: 
...are/nvim/lazy/neotest/lua/neotest/consumers/quickfix.lua:73: Vim(copen):E36: Not enough room
stack traceback:
	[C]: in function 'nvim_command'
	...are/nvim/lazy/neotest/lua/neotest/consumers/quickfix.lua:73: 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.lua:47>
stack traceback:
	[C]: in function 'error'
	/home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:95: in function 'close_task'
	/home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:117: in function 'cb'
	/home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:179: in function </home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:178>

When I press R in the neotest window, I get the above error.

The odd part is sometimes the quickfix menu will pull up, sometimes it will not. This is while using edgy.nvim. Not sure how to make a proper minimal config, I will work on that now.

One interesting thing to note, if I only have the Trouble menu up, the error appears, and no quickfix.

If I launch neotest from lazyvim menu, with no Trouble menu opened, I get this error:

vim/_editor.lua:0: BufReadPost Autocommands for "*"..script nvim_exec2() called at BufReadPost Autocommands for "*":0../home/dean/.local/share/nvim/lazy/indent-blankline.nvim/plugin/indent_blankline.vim, line 31: Vim(lua):E5108: Error executing lua vim/_editor.lua:0: BufReadPost Autocommands for "*"..script nvim_exec2() called at BufReadPost Autocommands for "*":0../home/dean/.local/share/nvim/lazy/indent-blankline.nvim/plugin/indent_blankline.vim[31]..nvim_exec2() called at /home/dean/.local/share/nvim/lazy/indent-blankline.nvim/plugin/indent_blankline.vim:31: Vim(windo):E788: Not allowed to edit another buffer now
stack traceback:
	[C]: in function 'nvim_exec2'
	vim/_editor.lua: in function 'cmd'
	.../indent-blankline.nvim/lua/indent_blankline/commands.lua:7: in function 'refresh'
	...lazy/indent-blankline.nvim/lua/indent_blankline/init.lua:17: in function 'init'
	[string ":lua"]:1: in main chunk
	[C]: in function 'nvim_exec2'
	vim/_editor.lua: in function 'cmd'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:473: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:472>
	[C]: in function 'xpcall'
	.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:110: in function 'try'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:472: in function 'source'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:431: in function 'source_runtime'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:399: in function 'packadd'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:335: in function '_load'
	...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:184: in function 'load'
	...hare/nvim/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:33: in function <...hare/nvim/lazy/lazy.nvim/lua/lazy/core/handler/event.lua:26>
	[C]: in function 'resume'
	/home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:113: in function 'cb'
	/home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:179: in function </home/dean/.local/share/nvim/lazy/neotest/lua/nio/tasks.lua:178>

# stacktrace:
  - vim/_editor.lua:0 _in_ **cmd**
  - /neotest/lua/nio/tasks.lua:113 _in_ **cb**
  - /neotest/lua/nio/tasks.lua:179

If I restart nvim, open up Trouble, then open up Noice Notifications, to add a new window, the quickfix will appear, and the error is not there.

I think it has to do with me using Trouble on auto open maybe? or there not being a large enough menu, I am really not sure.

Thanks for your work.

https://github.com/Thevetat/nvim

@Thevetat Thevetat changed the title [BUG] [BUG] Quickfix menu issue Jul 5, 2023
@folke
Copy link
Contributor

folke commented Jul 5, 2023

Is that a recent Neovim Nightly? I fixed a bug in Neovim around the time I release edgy. Edgy is only compatible with stable or with a nightly after that

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

3 participants