Skip to content

Errors when using on Red Hat Linux 7 #1454

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

Open
coraxwolf opened this issue Apr 7, 2025 · 4 comments
Open

Errors when using on Red Hat Linux 7 #1454

coraxwolf opened this issue Apr 7, 2025 · 4 comments

Comments

@coraxwolf
Copy link

I had forked this repo and it is working at home under ubuntu using WSL
I tried to use the same repo at work on Red Hat Linux and I am getting errors on launch of nvim and every time I go into insert mode.
I am using NVIM 0.11.0-dev-836+g64847fbdc
I cloned this repo directly and get the exact same errors as I do with my personal fork
error on start are:
Failed to run config for gitsigns.nvim

...al/share/nvim/lazy/gitsigns.nvim/lua/gitsigns/config.lua:899: signs: expected function: 0x7ff585cc3100, got table (table: 0x7ff58644c6c8)

stacktrace:

  • vim/shared.lua:0 in validate
  • /gitsigns.nvim/lua/gitsigns/config.lua:899 in validate
  • /gitsigns.nvim/lua/gitsigns/config.lua:916 in validate_config
  • /gitsigns.nvim/lua/gitsigns/config.lua:962 in build
  • /gitsigns.nvim/lua/gitsigns.lua:205 in setup
  • init.lua:240

errors when I go into insert mode start out as:
Error detected while processing InsertEnter Autocommands for "*":
Error executing lua callback: ...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:98: loop or previous error loading module 'cmp'
stack traceback:
[C]: in function 'require'
...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:98: in function <...l/share/nvim/lazy/cmp-nvim-lsp/lua/cmp_nvim_lsp/init.lua:97>

and then I get a couple more full screens of similar errors after this.

@feoh
Copy link
Collaborator

feoh commented Apr 9, 2025

Did you clone the entire repo and not just copy in init.lua?

@coraxwolf
Copy link
Author

I cloned the entire repo both times when I did it with just this repo (kicktarter) and when I cloned my own fork of the kickstarter repo.

@feoh
Copy link
Collaborator

feoh commented Apr 11, 2025

What happens when you type :Lazy update
?

I wish I had a system I could help you test this on.

Have you looked at the line of code it's citing in the error? What's it trying to do?

@coraxwolf
Copy link
Author

I hadn't tried looking at what the code was trying to do.
I believe I did try :Lazy Update and it completed without issues and the same for sync and install.
I won't be back at work until Monday and I'll have to try it then.

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

2 participants