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

Not able to open nvim after update #247

Open
enriquegh opened this issue Jun 4, 2024 · 2 comments
Open

Not able to open nvim after update #247

enriquegh opened this issue Jun 4, 2024 · 2 comments

Comments

@enriquegh
Copy link

User report:

Sourcegraph version: master branch commit hash: 8bdd4d1
Platform information: Ubuntu 20.04.6
NVIM v0.10.0-dev

Description:

I recently updated my neovim plugin through lazy.nvim. After updating I get the errors provided below when I open up my neovim.

I am not able to use the plugin because of this error. Any help would be appreciated. Thank you.

Steps to reproduce:

  1. Install plugin and add require("sg").setup() to init.lua
  2. Open neovim and error occurs
  3. Error also occurs when using :SourcegraphLogin

Failed to source $HOME/.config/nvim/after/plugin/cody.lua

vim/_editor.lua:0: $HOME/.config/nvim/init.lua..nvim_exec2() called at $HOME/.config/nvim/init.lua:0..$HOME/.config/nvim/after/plugin/cody.lua: Vim(source):E5113: Error while calling
lua chunk: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: cmd: expected string, got table
stack traceback:
[C]: in function 'error'
vim/shared.lua: in function 'validate'
/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:778: in function 'rpc_start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/request.lua:53: in function 'start'
...$HOME/.local/share/nvim/lazy/sg.nvim/lua/sg/init.lua:37: in function 'setup'
$HOME/.config/nvim/after/plugin/cody.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:485: in function <...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484>
[C]: in function 'xpcall'
.../.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:113: in function 'try'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:484: in function 'source'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:443: in function 'source_runtime'
...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:144: in function 'startup'
...$HOME/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112: in function 'setup'
$HOME/.config/nvim/lua/andrew/lazy.lua:16: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/lua/andrew/init.lua:1: in main chunk
[C]: in function 'require'
$HOME/.config/nvim/init.lua:6: in main chunk

stacktrace:

  • vim/_editor.lua:0 in cmd
  • ~/.config/nvim/lua/andrew/lazy.lua:16
  • ~/.config/nvim/lua/andrew/init.lua:1
  • ~/.config/nvim/init.lua:6
@tjdevries
Copy link
Contributor

Which version of nvim 0.10 do you have? The released version?

@awwaiid
Copy link

awwaiid commented Jul 13, 2024

I have the same issue. neovim 0.10.0-dev which is installed with the 24.04 ubuntu.

I just now switched to the unstable neovim PPA which gave me 0.11.0-dev (built from git today and daily I think) and now I don't get the error.

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