ERROR Failed to run healthcheck for "papis" plugin.
Hello there , thanks for this addition for neovim. I am facing problem to run this plugin using on neovim , OSX 13.6.1 . This is the output of checkhealth papis
dressing: require("dressing.health").check()
dressing.nvim ~
- WARNING vim.ui.input not enabled
- OK vim.ui.select active: telescope
==============================================================================
lazy: require("lazy.health").check()
lazy.nvim ~
- OK Git installed
- OK no existing packages found by other package managers
- OK packer_compiled.lua not found
==============================================================================
nvim: require("nvim.health").check()
Configuration ~
- WARNING Missing user config file: /Users/enricopirani/.config/lvim/init.lua
- ADVICE:
- :help |config|
Runtime ~
- OK $VIMRUNTIME: /Users/enricopirani/Downloads/nvim-macos-x86_64/share/nvim/runtime
Performance ~
- OK Build type: Release
Remote Plugins ~
- OK Up to date
terminal ~
- key_backspace (kbs) terminfo entry: `key_backspace=^H`
- key_dc (kdch1) terminfo entry: `key_dc=\E[3~`
- $TERM_PROGRAM="WezTerm"
- $COLORTERM="truecolor"
External Tools ~
- OK ripgrep 14.1.0 (/usr/local/bin/rg)
==============================================================================
papis: require("papis.health").check()
- ERROR Failed to run healthcheck for "papis" plugin. Exception:
...e/pack/lazy/opt/papis.nvim/lua/papis/completion/init.lua:22: loop or previous error loading module 'papis.completion.source'
==============================================================================
provider.clipboard: require("provider.clipboard.health").check()
Clipboard (optional) ~
- OK Clipboard tool found: pbcopy
==============================================================================
provider.node: require("provider.node.health").check()
Node.js provider (optional) ~
- Node.js: v22.5.1
- Nvim node.js host: /usr/local/lib/node_modules/neovim/bin/cli.js
- OK Latest "neovim" npm/yarn/pnpm package is installed: 5.1.0
==============================================================================
provider.perl: require("provider.perl.health").check()
Perl provider (optional) ~
- WARNING "Neovim::Ext" cpan module is not installed
- ADVICE:
- See :help |provider-perl| for more information.
- You may disable this provider (and warning) by adding `let g:loaded_perl_provider = 0` to your init.vim
- WARNING No usable perl executable found
==============================================================================
provider.python: require("provider.python.health").check()
Python 3 provider (optional) ~
- pyenv: Path: /usr/local/Cellar/pyenv/2.4.5/libexec/pyenv
- pyenv: $PYENV_ROOT is not set. Infer from `pyenv root`.
- WARNING pyenv: Root does not exist: /Users/enricopirani/.pyenv
. Ignoring pyenv for all following checks.
- `g:python3_host_prog` is not set. Searching for python3 in the environment.
- Executable: /Users/enricopirani/.virtualenvs/data_analisi/bin/python3
- Python version: 3.12.4
- pynvim version: 0.5.0
- OK Latest pynvim is installed.
Python virtualenv ~
- $VIRTUAL_ENV is set to: /Users/enricopirani/.virtualenvs/data_analisi
- Python version: 3.12.4
- OK $VIRTUAL_ENV provides :!python.
==============================================================================
provider.ruby: require("provider.ruby.health").check()
Ruby provider (optional) ~
- Ruby: ruby 3.3.4 (2024-07-09 revision be1089c8ec) [x86_64-darwin22]
- WARNING `neovim-ruby-host` not found.
- ADVICE:
- Run `gem install neovim` to ensure the neovim RubyGem is installed.
- Run `gem environment` to ensure the gem bin directory is in $PATH.
- If you are using rvm/rbenv/chruby, try "rehashing".
- See :help |g:ruby_host_prog| for non-standard gem installations.
- You may disable this provider (and warning) by adding `let g:loaded_ruby_provider = 0` to your init.vim
==============================================================================
rnvimr: health#rnvimr#check
OS ~
- WARNING health#report_start is deprecated, use vim.health.start instead. :help |deprecated|
Feature will be removed in Nvim 0.11
- OK Name: Mac
- WARNING health#report_ok is deprecated, use vim.health.ok instead. :help |deprecated|
Feature will be removed in Nvim 0.11
Ranger ~
- OK Version: ranger-master
Python ~
- OK Version: 3.12.4 (main, Jun 6 2024, 18:26:44) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Pynvim ~
- OK Version: 0.5.0
Ueberzug (optional) ~
- Ueberzug is not support for Mac
- WARNING health#report_info is deprecated, use vim.health.info instead. :help |deprecated|
Feature will be removed in Nvim 0.11
RPC ~
- OK RPC echo: Neovim send "Give me five!" and receive "Give me five!"
==============================================================================
vim.lsp: require("vim.lsp.health").check()
- LSP log level : WARN
- Log path: /Users/enricopirani/.local/state/lvim/lsp.log
- Log size: 506 KB
vim.lsp: Active Clients ~
- No active clients
vim.lsp: File watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients
==============================================================================
vim.treesitter: require("vim.treesitter.health").check()
- Nvim runtime ABI version: 14
- OK Parser: comment ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/comment.so
- OK Parser: json ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/json.so
- OK Parser: lua ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/lua.so
- OK Parser: markdown ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/markdown.so
- OK Parser: markdown_inline ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/markdown_inline.so
- OK Parser: python ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/python.so
- OK Parser: regex ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/regex.so
- OK Parser: vim ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/vim.so
- OK Parser: vimdoc ABI: 14, path: /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/vimdoc.so
- OK Parser: bash ABI: 14, path: /usr/local/lib/nvim/parser/bash.so
- OK Parser: c ABI: 14, path: /usr/local/lib/nvim/parser/c.so
- OK Parser: lua ABI: 14, path: /usr/local/lib/nvim/parser/lua.so
- OK Parser: markdown ABI: 14, path: /usr/local/lib/nvim/parser/markdown.so
- OK Parser: markdown_inline ABI: 14, path: /usr/local/lib/nvim/parser/markdown_inline.so
- OK Parser: python ABI: 14, path: /usr/local/lib/nvim/parser/python.so
- OK Parser: query ABI: 14, path: /usr/local/lib/nvim/parser/query.so
- OK Parser: vim ABI: 14, path: /usr/local/lib/nvim/parser/vim.so
- OK Parser: vimdoc ABI: 14, path: /usr/local/lib/nvim/parser/vimdoc.so
==============================================================================
which-key: require("which-key.health").check()
WhichKey: checking conflicting keymaps ~
- WARNING conflicting keymap exists for mode **"n"**, lhs: **"yS"**
- rhs: `<Plug>YSurround`
- WARNING conflicting keymap exists for mode **"n"**, lhs: **"ys"**
- rhs: `<Plug>Ysurround`
- WARNING conflicting keymap exists for mode **"n"**, lhs: **"gc"**
- rhs: ` `
- WARNING conflicting keymap exists for mode **"n"**, lhs: **" rm"**
- rhs: ` `
- WARNING conflicting keymap exists for mode **"n"**, lhs: **" c"**
- rhs: `<Cmd>BufferKill<CR>`
==============================================================================
yazi: require("yazi.health").check()
yazi ~
- Running yazi.nvim version 3.1.0
- Found `yazi` version `Yazi 0.2.5 (Homebrew 2024-04-23)` đ
- yazi.nvim log file is at /Users/enricopirani/.local/state/lvim/yazi.log
- hint: use `gf` to open the file path under the cursor
- OK yazi
Cannot start the plugin. Any help would appreciated Enrico
Hey! Thanks for the issue report. Do you get any error messages and/or is the Papis command available? Do you have cmp installed (it's required for the completion module, which seems to be failing)?
Additionally, it might also help to enable logging (check out the debug module described in the README) and check if there's anything useful in the logs.
Hi thanks , for your quick reply. This is a detailed output during installation pahse:
Failed (1)
â papis.nvim 4.73ms î« start
`lua` version `5.1` needed, but found `Lua 5.4.7 Copyright (C) 1994-2024 Lua.org, PUC-Rio`
`lua5.1` or `lua` or `lua-5.1` version `5.1` not installed
This plugin requires `luarocks`. Try one of the following:
- fix your `luarocks` installation
- enable `hererocks` with `opts.rocks.hererocks = true`
- disable `luarocks` support completely with `opts.rocks.enabled = false`
Will try building anyway, but will likely fail...
--------------------------------------------------------------------------------
Warning: Failed searching manifest: Failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1 - failed downloading https://nvim-neorocks.github.io/rocks-binaries/dev/manifest-5.1
Installing https://luarocks.org/papis.nvim-0.6.0-1.src.rock
Missing dependencies for papis.nvim 0.6.0-1:
sqlite (not installed)
nui.nvim (not installed)
pathlib.nvim (not installed)
papis.nvim 0.6.0-1 depends on lua >= 5.1 (5.1-1 provided by VM: success)
papis.nvim 0.6.0-1 depends on sqlite (not installed)
Installing https://luarocks.org/sqlite-v1.2.2-0.src.rock
Missing dependencies for sqlite v1.2.2-0:
luv (not installed)
sqlite v1.2.2-0 depends on luv (not installed)
Installing https://luarocks.org/luv-1.48.0-2.src.rock
Error: Failed installing dependency: https://luarocks.org/sqlite-v1.2.2-0.src.rock - Failed installing dependency: https://luarocks.org/luv-1.48.0-2.src.rock - Failed finding Lua header lua.h (searched at /usr/local/Cellar/[email protected]/5.1.5_8//include/lua5.1). You may need to install Lua development headers. You can use `luarocks config variables.LUA_INCDIR <path>` to set the correct location.
luv 1.48.0-2 depends on lua >= 5.1 (5.1-1 provided by VM: success)
Failed installing papis.nvim with `luarocks`.
--------------------------------------------------------------------------------
Trying to build from source.
Cloning into 'nui.nvim'...
Missing dependencies for papis.nvim scm-1:
nui.nvim (not installed)
sqlite (not installed)
pathlib.nvim (not installed)
papis.nvim scm-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM: success)
papis.nvim scm-1 depends on nui.nvim (not installed)
Installing https://luarocks.org/dev/nui.nvim-dev-1.rockspec
No existing manifest. Attempting to rebuild...
nui.nvim dev-1 is now installed in /Users/enricopirani/.local/share/nvim/lazy-rocks/papis.nvim (license: MIT)
papis.nvim scm-1 depends on sqlite (not installed)
Installing https://luarocks.org/sqlite-v1.2.2-0.src.rock
Missing dependencies for sqlite v1.2.2-0:
luv (not installed)
sqlite v1.2.2-0 depends on luv (not installed)
Installing https://luarocks.org/luv-1.48.0-2.src.rock
Error: Failed installing dependency: https://luarocks.org/sqlite-v1.2.2-0.src.rock - Failed installing dependency: https://luarocks.org/luv-1.48.0-2.src.rock - Failed finding Lua header lua.h (searched at /usr/local/Cellar/[email protected]/5.1.5_8//include/lua5.1). You may need to install Lua development headers. You can use `luarocks config variables.LUA_INCDIR <path>` to set the correct location.
luv 1.48.0-2 depends on lua >= 5.1 (5.1-1 provided by VM: success)
Updates (1)
â nvim-treesitter 15.18ms îȘ VeryLazy
Clean (4)
â lua-utils.nvim
â neorg
â telescope-media-files.nvim
â vim-zettel
Loaded (33)
â bufferline.nvim 4.56ms îȘ VeryLazy
â dashboard-nvim 2.05ms î« start
â data-viewer.nvim 3.46ms î« start
â flash.nvim 1.89ms îȘ VeryLazy
â gemini.nvim 7.04ms î« start
â iron.nvim 6.14ms î« start
â lazy.nvim 40038.4ms ïĄ init.lua
â LazyVim 2.4ms î« start
â leap 0.55ms î« start
â lualine.nvim 19.06ms îȘ VeryLazy
â mini.ai 2.08ms îȘ VeryLazy
â mini.pairs 7.07ms îȘ VeryLazy
â nabla.nvim 0.07ms î« start
â neoscroll.nvim 2.39ms îȘ WinScrolled
â noice.nvim 2.48ms îȘ VeryLazy
â nui.nvim 0.36ms ï papis.nvim
â nvim-nio 0.35ms ï papis.nvim
â nvim-notify 2.81ms ó°ą± notify ï noice.nvim
â nvim-treesitter-textobjects 3.18ms îȘ VeryLazy
â pathlib.nvim 0.39ms ï papis.nvim
â plenary.nvim 0.3ms ó°ą± plenary.popup ï gemini.nvim
â R.nvim 1.49ms î« start
â sqlite.lua 0.31ms ï data-viewer.nvim
â tokyonight.nvim 1.12ms colorscheme tokyonight
â translate-shell.vim 0.49ms î« start
â trouble.nvim 2.45ms ó°ą± trouble ï lualine.nvim
â ts-comments.nvim 1.16ms îȘ VeryLazy
â vim-surround 1.16ms î« start
â vim-translator 0.8ms î« start
â VOoM 0.78ms î« start
â which-key.nvim 2.56ms ó°ą± which-key ï mini.pairs
â yarepl.nvim 1.34ms î« start
â yazi.nvim 1.87ms îȘ VeryLazy
Not Loaded (36)
â auto-pandoc.nvim ï markdown
â catppuccin
â cmp-buffer ï nvim-cmp
â cmp-emoji ï nvim-cmp
â cmp-nvim-lsp ï nvim-cmp
â cmp-path ï nvim-cmp
â conform.nvim îŻ ConformInfo ï <leader>cF ï <leader>cF (v)
â decisive.nvim ï csv ï ]c ï [c ï <leader>cca ï <leader>ccA
â dressing.nvim
â friendly-snippets ï nvim-snippets
â gitsigns.nvim îȘ LazyFile
â glow.nvim ï markdown
â grug-far.nvim îŻ GrugFar ï <leader>sr (v) ï <leader>sr
â headlines.nvim ï rmd ï norg ï markdown ï org
â indent-blankline.nvim îȘ LazyFile
â lazydev.nvim îŻ LazyDev ï lua
â lsp-colors.nvim îȘ BufRead
â luvit-meta
â mason-lspconfig.nvim ï nvim-lspconfig
â mason.nvim îŻ Mason ï <leader>cm ï nvim-lspconfig ï conform.nvim
â mini.icons
â neo-tree.nvim îŻ Neotree ï <leader>fe ï <leader>fE ï <leader>e ï <leader>E ï <leader>ge ï <leader>be
â nvim-cmp îȘ InsertEnter ï <Tab> (s) ï <S-Tab> (s) ï <S-Tab> (i) ï <Tab> (i)
â nvim-lastplace îȘ BufRead
â nvim-lint îȘ LazyFile
â nvim-lspconfig îȘ LazyFile
â nvim-snippets ï nvim-cmp
â nvim-ts-autotag îȘ LazyFile
â persistence.nvim îȘ BufReadPre ï <leader>ql ï <leader>qd ï <leader>qs
â telescope-fzf-native.nvim ï telescope.nvim
â telescope.nvim îŻ Telescope ï <leader>gc ï <leader>gs ï <leader>s" ï <leader>sa ï <leader>sb ï <leader>sc ï <leader>sC ï <leader>sd ï <leader>sD ï <leader>sg ï <leader>sG ï <leader>sh ï <leader>sH ï <leader>sj ï <leader>sk ï <leader>sl ï <leader>sM ï <leader>sm ï <leader>so ï <leader>sR ï <leader>sq ï <leader>sw ï <leader><space> ï <leader>sw (v) ï <leader>sW (v) ï <leader>uC ï <leader>ss ï <leader>sS ï <leader>sW ï <leader>, ï <leader>/ ï <leader>: ï <leader>fb ï <leader>fc ï <leader>ff ï <leader>fF ï <leader>fg ï <leader>fr ï <leader>fR
â todo-comments.nvim îȘ BufRead îȘ LazyFile îŻ TodoTrouble îŻ TodoTelescope ï [t ï <leader>xt ï ]t ï <leader>xT ï <leader>st ï <leader>sT
â true-zen.nvim ï <leader>zn (v) ï <leader>zf ï <leader>zm ï <leader>za ï <leader>zn
â vimtex ï tex
â vimwiki îȘ BufEnter *.md ï <leader>wt ï <leader>ww
â zen-mode.nvim îŻ ZenMode
and this is my lazy setup
return {
{
"jghauser/papis.nvim",
dependencies = {
"kkharji/sqlite.lua",
"MunifTanjim/nui.nvim",
"pysan3/pathlib.nvim",
"nvim-neotest/nvim-nio",
-- if not already installed, you may also want:
-- "nvim-telescope/telescope.nvim",
-- "hrsh7th/nvim-cmp",
},
config = function()
require("papis").setup({
-- Your configuration goes here
})
end,
},
}
It looks like lazy.nvim is trying to install the plugin with luarocks and that fails. While I intend to move more to a luarocks setup, the lazy installation instructions should actually work without luarocks. Maybe there is some way to tell lazy to install things normally?
I'll investigate and see how I can update the installation instructions so that they work with luarocks as that might be required in the future (I have some improvements in mind that will require this). I don't use lazy though so this might take a few days.
@Enrico68, can you try something like the following (stolen from neorg):
{
"jghauser/papis.nvim",
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "*", -- Pin Neorg to the latest stable release
config = true,
}
If I understand things correctly, this should install papis.nvim with luarocks. Make sure you have yq and sqlite installed as well. Let me know if this works :).
If you want to adjust papis.nvim's settings, it's best to add a opts = {} table (you can then remove the config = true).
Now installation goes smooth,
â papis.nvim 1.51ms î« start
dir /Users/enricopirani/.local/share/lunarvim/site/pack/lazy/opt/papis.nvim
url https://github.com/jghauser/papis.nvim
version 0.6.1
tag v0.6.1
branch main
commit 2ccc319
readme README.md
help |papis.txt|
but cannot run the command Papis search
What happens when you do Papis search? Have you tried running Papis reload config and then Papis reload data? As a last resort, please enable the debug module (see README), and post the logs here. Thanks!
When I try Papis search got Papis: unknown command: search. with Papis reload data. Get this error
Error executing Lua callback: ...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/data.lua:155: attempt to index a nil value
stack traceback:
...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/data.lua:155: in function 'reset_db'
...vim/site/pack/lazy/opt/papis.nvim/lua/papis/commands.lua:20: in function 'impl'
...vim/site/pack/lazy/opt/papis.nvim/lua/papis/commands.lua:53: in function <...vim/site/pack/lazy/opt/papis.nvim/lua/papis/commands.lua:42>
I have updated the lazy config
{
"jghauser/papis.nvim",
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "*", -- Pin Neorg to the latest stable release
dependencies = {
"kkharji/sqlite.lua",
"MunifTanjim/nui.nvim",
"pysan3/pathlib.nvim",
"nvim-neotest/nvim-nio",
-- if not already installed, you may also want:
-- "nvim-telescope/telescope.nvim",
-- "hrsh7th/nvim-cmp",
},
config = true,
enable_modules = {
["search"] = true, -- Enables/disables the search module
["completion"] = true, -- Enables/disables the completion module
["at-cursor"] = true, -- Enables/disables the at-cursor module
["formatter"] = true, -- Enables/disables the formatter module
["colors"] = true, -- Enables/disables default highlight groups (you
-- probably want this)
["base"] = true, -- Enables/disables the base module (you definitely
-- want this)
["debug"] = true, -- Enables/disables the debug module (useful to
-- troubleshoot and diagnose issues)
},
},
I don't have lazy or lunarvim, but I think this isn't how plugins are configured. Maybe try something like:
{
"jghauser/papis.nvim",
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
version = "*", -- Pin Papis.nvim to the latest stable release
opts = {
enable_modules = {
["debug"] = true, -- Enables/disables the debug module (useful to
-- troubleshoot and diagnose issues)
},
},
}
AFAIK you shouldn't need to specify the dependencies and the options need to be inside the opts table. Can you also run checkhealth papis and see what that shows? This config should also enable the debug module which should give you logs (you can use Papis debug info to see where they are saved).
when I run checkhealth I get this error:
E5009: Invalid $VIMRUNTIME: /Users/enricopirani/Downloads/nvim-macos-x86_64/share/nvim/runtime
Error executing lua: .../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: FileType Autocommands for "checkhealth": Vim(append):Error executing lua callback: ...86_64/share/nvim/runtime/lua/vim/treesitter/langu
age.lua:107: no parser for 'yaml' language, see :help treesitter-parsers
stack traceback:
[C]: in function 'error'
...86_64/share/nvim/runtime/lua/vim/treesitter/language.lua:107: in function 'add'
...s-x86_64/share/nvim/runtime/lua/vim/treesitter/query.lua:250: in function 'fn'
...acos-x86_64/share/nvim/runtime/lua/vim/func/_memoize.lua:58: in function 'parse'
...pack/lazy/opt/papis.nvim/lua/papis/completion/source.lua:36: in main chunk
[C]: in function 'require'
...e/pack/lazy/opt/papis.nvim/lua/papis/completion/init.lua:22: in function 'setup'
...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:93: in function 'start'
...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:20: in function <...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:18>
[C]: in function 'setfiletype'
.../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: in function '_check'
[string "<nvim>"]:1: in main chunk
stack traceback:
[C]: in function 'setfiletype'
.../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: in function '_check'
[string "<nvim>"]:1: in main chunk
That indicates that the neovim treesitter parser for yaml isn't installed. Can you install that and try again?
TS for yaml installed . Still errors after checkhealth papis
E5009: Invalid $VIMRUNTIME: /Users/enricopirani/Downloads/nvim-macos-x86_64/share/nvim/runtime
Error executing lua: .../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: FileType Autocommands for "checkhealth": Vim(append):Error executing lua callback: ...lunarvim/site/pack/lazy/opt/papis.nvim/lua/papis/
log.lua:137: /Users/enricopirani/.local/share/lvim/papis.nvim.log: Too many open files
stack traceback:
[C]: in function 'assert'
...lunarvim/site/pack/lazy/opt/papis.nvim/lua/papis/log.lua:137: in function 'debug'
...m/site/pack/lazy/opt/papis.nvim/lua/papis/fs-watcher.lua:225: in function 'start'
...m/site/pack/lazy/opt/papis.nvim/lua/papis/fs-watcher.lua:216: in function 'init'
...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:108: in function 'start'
...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:20: in function <...unarvim/site/pack/lazy/opt/papis.nvim/lua/papis/init.lua:18>
[C]: in function 'setfiletype'
.../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: in function '_check'
[string "<nvim>"]:1: in main chunk
stack traceback:
[C]: in function 'setfiletype'
.../nvim-macos-x86_64/share/nvim/runtime/lua/vim/health.lua:409: in function '_check'
[string "<nvim>"]:1: in main chunk
Error detected while processing CursorHold Autocommands for "*"..function <SNR>13_HandleActivity[6]..<SNR>13_GetLastHeartbeat:
line 5:
E484: Can't open file /Users/enricopirani/.wakatime/vim_shared_state
Error detected while processing CursorHold Autocommands for "*"..function <SNR>13_HandleActivity[13]..<SNR>13_AppendHeartbeat[22]..<SNR>13_SetLastHeartbeat:
line 5:
E482: Can't open file /Users/enricopirani/.wakatime/vim_shared_state for writing: too many open files
Error detected while processing CursorHold Autocommands for "*"..function <SNR>13_HandleActivity[26]..<SNR>13_SendHeartbeats:
line 74:
E903: Process failed to start: too many open files: "/bin/sh"
After clean reset, and installing just papis got this from checkhealth
papis: require("papis.health").check()
- ERROR Failed to run healthcheck for "papis" plugin. Exception:
...e/pack/lazy/opt/papis.nvim/lua/papis/completion/init.lua:22: loop or previous error loading module 'papis.completion.source'
Can you see if you can access the logs? That would really be very useful. At the moment the only thing I can imagine going wrong is that you're lacking the cmp (and possibly telescope) plugins. cmp is needed for the completion module and telescope for the search module. They are not installed by default because they are optional dependencies (you can use papis.nvim without those modules). The README explains all this. If you have them installed, then seeing the logs would be great!
EDIT: on second thought, it's probably not a missing cmp. That should just exit the module before reaching line 22. A look at the log might really be useful :)
Going to close this as I've changed various things with the healthcheck. Feel free to reopen if the issue remains!