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

git_repo.lua:23: attempt to index local 'result' (a nil value) #403

Open
xhub opened this issue Feb 17, 2025 · 1 comment · May be fixed by #407
Open

git_repo.lua:23: attempt to index local 'result' (a nil value) #403

xhub opened this issue Feb 17, 2025 · 1 comment · May be fixed by #407
Labels
bug Something isn't working

Comments

@xhub
Copy link

xhub commented Feb 17, 2025

Description

Thanks for developing this plugin!

I just installed using packer the plugin today. I ran into the following issue:

...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: The coroutine failed with this message: ...site/pack/packer/opt/vgit.nvim/lua/vgit/git/git_repo.lua:23: attempt to index local 'result' (a nil value)           
stack traceback:                                                                                                                                                                                                                                                                                                                                          
        [C]: in function 'error'                                                                                                                                                                                                                                                                                                                          
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:18: in function 'callback_or_next'                                                                                                                                                                                                                                                    
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:45: in function 'step'                                                                                                                                                                                                                                                                
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:48: in function 'execute'                                                                                                                                                                                                                                                             
        ...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:118: in function <...ck/packer/start/plenary.nvim/lua/plenary/async/async.lua:117>

Looking at git_repo.lua, shouldn't line 23 and 24 be switched?

  • nvim --version output: NVIM v0.10.4
    Build type: Release
    LuaJIT 2.1.1731601260

  • Operating system: Gentoo Linux on amd64

@xhub xhub added the bug Something isn't working label Feb 17, 2025
@Tal500
Copy link

Tal500 commented Mar 5, 2025

I got this error too, see #407

@Tal500 Tal500 linked a pull request Mar 5, 2025 that will close this issue
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.

2 participants