E5108: Error while calling lua chunk for luaeval():

Open
#374 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
lua
Domain
devtools

Research direction

Start by reproducing the errors when opening Neovim and running a command, then inspect lua/plenary/log.lua:9 and the reported loading failure for neogit.status. Determine whether the failure can be reproduced with plenary.nvim alone; done means identifying a reproducible cause and confirming the error no longer appears.

Written by the indexing model from the issue text.

Description

Whenever i open up nvim, it says this on the bottom. Without even doing anything,

Error detected while processing function <SNR>46_refresh:
line    4:
E5108: Error while calling lua chunk for luaeval(): /home/mark/.vim/plugged/plenary.nvim/lua/plenary/log.lua:9: attempt to index field 'fn' (a nil val
ue)
Press ENTER or type command to continue

And then whenever i try to run a command, it says this

E5108: Error while calling lua chunk for luaeval(): [string "<VimL compiled string>"]:1: loop or previous error loading module 'neogit.status'
Press ENTER or type command to continue

Please be kind enough to help me fix this as i need plenary.vim to use neogit

Dominant language
Lua
Stars
3.5k
Forks
340
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nvim-lua/plenary.nvim

All issues in nvim-lua/plenary.nvim

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.