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

Exception in cmdline_popup: "cannot resolve symbol 'cmdpreview'" #229

Closed
replicaJunction opened this issue Nov 17, 2022 · 0 comments · Fixed by #639
Closed

Exception in cmdline_popup: "cannot resolve symbol 'cmdpreview'" #229

replicaJunction opened this issue Nov 17, 2022 · 0 comments · Fixed by #639
Labels
bug Something isn't working

Comments

@replicaJunction
Copy link

Describe the bug
When entering the cmdline popup, typing any character results in an exception message:

...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

Commands do seem to show their output normally after all the exceptions are shown and hidden again.

Which version of Neovim are you using?
NVIM v0.9.0-dev-326+gfa7e1e260

Running on Windows 10 21H2 (19044.2251) via Wezterm. I have also confirmed the same issue using Windows Terminal as a host.

To Reproduce
Steps to reproduce the behavior:

  1. Create the minimal.lua config file
  2. Run nvim -u minimal.lua
  3. Press :
  4. Type a character

Expected Behavior
Nothing abnormal should happen on typing a single character.

Screenshots

Screenshot 1 ![noice_nvim_error](https://user-images.githubusercontent.com/11758809/202357653-dba0cd6f-fd97-4f27-ab47-a0e9dbb7bce1.png)
Screenshot 2 ![noice_nvim_error_2](https://user-images.githubusercontent.com/11758809/202357675-4539a8bb-79cd-4397-8da7-0083552a362a.png)

Noice Log

Noice log

11/16/2022 9:35:26 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...ite\pack\packer\start\noice.nvim/lua/noice/util/lazy.lua:16: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:26 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...ite\pack\packer\start\noice.nvim/lua/noice/text/init.lua:117: in function 'highlight'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:27 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...ite\pack\packer\start\noice.nvim/lua/noice/text/init.lua:117: in function 'highlight'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:38 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...ite\pack\packer\start\noice.nvim/lua/noice/text/init.lua:117: in function 'highlight'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:39 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...ite\pack\packer\start\noice.nvim/lua/noice/text/init.lua:117: in function 'highlight'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:49 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

stack traceback:
[C]: in function 'pcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:144: in function <...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:143>
[C]: in function '__index'
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: in function '__index'
...ite\pack\packer\start\noice.nvim/lua/noice/util/lazy.lua:16: in function '__index'
...te\pack\packer\start\noice.nvim/lua/noice/util/hacks.lua:237: in function 'cmdline_force_redraw'
...te\pack\packer\start\noice.nvim/lua/noice/ui/cmdline.lua:199: in function 'on_render'
...
...te\pack\packer\start\noice.nvim/lua/noice/text/block.lua:97: in function 'render'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:249: in function 'render'
...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:270: in function <...site\pack\packer\start\noice.nvim/lua/noice/view/nui.lua:256>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...ite\pack\packer\start\noice.nvim/lua/noice/view/init.lua:136: in function 'display'
...ack\packer\start\noice.nvim/lua/noice/message/router.lua:200: in function <...ack\packer\start\noice.nvim/lua/noice/message/router.lua:144>
[C]: in function 'xpcall'
...ite\pack\packer\start\noice.nvim/lua/noice/util/call.lua:149: in function 'try'
...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:93: in function <...\site\pack\packer\start\noice.nvim/lua/noice/ui/init.lua:73>

11/16/2022 9:35:51 PM
...site\pack\packer\start\noice.nvim/lua/noice/util/ffi.lua:34: cannot resolve symbol 'cmdpreview': The specified procedure could not be found.

...etc...

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

Successfully merging a pull request may close this issue.

1 participant