wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.72k stars 263 forks source link

Sometimes error on updating plugins #1164

Closed seblj closed 1 year ago

seblj commented 1 year ago

Observed behaviour

Every time I run PackerSync or PackerUpdate I get an error:

fatal: ambiguous argument '966b4a3...nil': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

I unfortunately can't reproduce this error consistently on a specific plugin, and it also didn't happen on my mac yesterday. It does however happen on like every PackerSync or every PackerUpdate I do now, and it seems to be random on which plugin it happens with.

Expected behaviour

Should not error

Steps to reproduce

Step 1: Install packer as an opt-plugin.

Step 2: Use the provided config in Plugin specification table

Step 3: Install all the plugins

Step 4: Run PackerSync or PackerUpdate.

This produces the error for me every time with at least one plugin. See the video provided:

Screencast from 09. des. 2022 kl. 09.32 +0100.webm

More info

I have tried to track the error down, and I noticed that it comes from get_ref inside packer.nvim/teal/packer/plugins_types.git.tl. I noticed that the result from git_run is okay, but there was not any stdout.

This will make current_commit be nil in the update function, which makes plugin.revs[1] be nil. This will fail later down in the update function.

If you need med to try out anything more, please let me know, and I will gladly help to track down why this happens occasionally

packer files

Plugin specification table ```lua vim.opt.termguicolors = true local setup = function(name, config) return not config and string.format([[require('%s').setup()]], name) or string.format([[require('%s').setup(%s)]], name, vim.inspect(config or {})) end local conf = function(name) return string.format([[require('config.%s')]], name) end vim.cmd.packadd('packer.nvim') require('packer').add({ { 'lewis6991/packer.nvim', branch = 'main' }, -- Telescope { 'nvim-telescope/telescope.nvim', config = conf('telescope') }, { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }, { 'nvim-telescope/telescope-file-browser.nvim' }, { 'nvim-lua/plenary.nvim' }, -- Treesitter { 'nvim-treesitter/nvim-treesitter', config = conf('treesitter'), run = ':TSUpdate:TSInstall all' }, { 'nvim-treesitter/playground', cmd = 'TSPlaygroundToggle' }, { 'windwp/nvim-ts-autotag' }, { 'nvim-treesitter/nvim-treesitter-textobjects' }, -- LSP { 'neovim/nvim-lspconfig', config = conf('lspconfig') }, { 'folke/neodev.nvim' }, { 'b0o/schemastore.nvim' }, { 'j-hui/fidget.nvim', config = setup('fidget', { text = { spinner = 'dots' } }) }, { 'williamboman/mason.nvim' }, { 'williamboman/mason-lspconfig.nvim' }, { 'Hoffs/omnisharp-extended-lsp.nvim' }, { 'SmiteshP/nvim-navic' }, -- Completion { 'hrsh7th/nvim-cmp', config = conf('cmp') }, { 'hrsh7th/cmp-nvim-lsp' }, { 'hrsh7th/cmp-buffer' }, { 'hrsh7th/cmp-path' }, { 'saadparwaiz1/cmp_luasnip' }, { 'L3MON4D3/LuaSnip', config = conf('luasnip') }, -- Database { 'kristijanhusak/vim-dadbod-ui', config = conf('dadbod') }, { 'kristijanhusak/vim-dadbod-completion' }, { 'tpope/vim-dadbod' }, -- Git { 'lewis6991/gitsigns.nvim', config = conf('gitsigns') }, { 'akinsho/git-conflict.nvim', config = setup('git-conflict', { highlights = { current = 'DiffChange' } }) }, -- Packageinfo { 'saecki/crates.nvim', config = setup('crates'), event = 'BufRead Cargo.toml' }, { 'vuki656/package-info.nvim', config = conf('packageinfo'), event = 'BufRead package.json' }, { 'MunifTanjim/nui.nvim' }, -- Latex { 'lervag/vimtex', config = conf('vimtex'), ft = { 'tex', 'bib' } }, -- Debugging { 'mfussenegger/nvim-dap', config = conf('dap'), keys = { { 'n', 'db' } } }, { 'rcarriga/nvim-dap-ui' }, -- Others { 'mfussenegger/nvim-lint', config = conf('lint') }, { 'kyazdani42/nvim-tree.lua', config = conf('nvimtree'), keys = { 'nt' } }, { 'tamago324/lir.nvim', config = conf('lir') }, { 'NvChad/nvim-colorizer.lua', config = setup('colorizer', { user_default_options = { names = false } }) }, { 'mhinz/vim-startify', config = conf('startify') }, { 'feline-nvim/feline.nvim', config = conf('feline') }, { 'windwp/nvim-autopairs', config = setup('nvim-autopairs', { ignored_next_char = '[%w%.%{%[%(%"%\']' }) }, { 'rcarriga/nvim-notify', config = conf('notify') }, { 'godlygeek/tabular', config = 'vim.g.no_default_tabular_maps = 1' }, { 'kyazdani42/nvim-web-devicons' }, { 'lewis6991/impatient.nvim', start = true }, { 'iamcco/markdown-preview.nvim', run = 'cd app && yarn install', ft = 'markdown' }, { 'dstein64/vim-startuptime', config = conf('startuptime'), cmd = 'StartupTime' }, { 'NTBBloodbath/rest.nvim', ft = 'http' }, { 'mbbill/undotree', cmd = 'UndotreeToggle' }, { 'lambdalisue/suda.vim', config = 'vim.cmd.cnoreabbrev({ "w!!", "w suda://%" })' }, { 'tpope/vim-repeat' }, { 'tpope/vim-abolish' }, { 'tpope/vim-surround', config = conf('surround') }, { 'tpope/vim-commentary' }, { 'tpope/vim-scriptease' }, { 'tpope/vim-sleuth' }, }) ```
seblj commented 1 year ago

The issue was too long so will post the output of the log file here

packer log file ``` [DEBUG 09:32:58 147041] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:9: setup [DEBUG 09:32:58 407484] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:32: PROCESSING PLUGIN SPEC [DEBUG 09:32:58 3291869] ...are/nvim/site/pack/packer/opt/packer.nvim/lua/packer.lua:35: LOADING PLUGINS [DEBUG 09:32:58 3362891] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for packer.nvim [DEBUG 09:32:58 3388601] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading packer.nvim [DEBUG 09:32:58 3590619] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for lir.nvim [DEBUG 09:32:58 3618070] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading lir.nvim [DEBUG 09:32:58 3829101] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for fidget.nvim [DEBUG 09:32:58 3849234] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading fidget.nvim [DEBUG 09:32:58 4039313] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-lspconfig [DEBUG 09:32:58 4051085] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-lspconfig [DEBUG 09:32:58 4232538] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-web-devicons [DEBUG 09:32:58 4264163] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-web-devicons [DEBUG 09:32:58 4475814] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-colorizer.lua [DEBUG 09:32:58 4494931] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-colorizer.lua [DEBUG 09:32:58 4699812] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-lint [DEBUG 09:32:58 4714954] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-lint [DEBUG 09:32:58 4931162] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for mason.nvim [DEBUG 09:32:58 4967191] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading mason.nvim [DEBUG 09:32:58 5283433] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-startify [DEBUG 09:32:58 5301439] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-startify [DEBUG 09:32:58 5519931] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-dadbod-ui [DEBUG 09:32:58 5550764] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-dadbod-ui [DEBUG 09:32:58 5749916] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for mason-lspconfig.nvim [DEBUG 09:32:58 5769947] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading mason-lspconfig.nvim [DEBUG 09:32:58 5958668] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for schemastore.nvim [DEBUG 09:32:58 5975146] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading schemastore.nvim [DEBUG 09:32:58 6161367] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-dadbod-completion [DEBUG 09:32:58 6172290] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-dadbod-completion [DEBUG 09:32:58 6360265] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for omnisharp-extended-lsp.nvim [DEBUG 09:32:58 6375298] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading omnisharp-extended-lsp.nvim [DEBUG 09:32:58 6566693] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-sleuth [DEBUG 09:32:58 6576139] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-sleuth [DEBUG 09:32:58 6755978] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-scriptease [DEBUG 09:32:58 6765412] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-scriptease [DEBUG 09:32:58 6947163] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-dadbod [DEBUG 09:32:58 6956536] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-dadbod [DEBUG 09:32:58 7143377] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-treesitter-textobjects [DEBUG 09:32:58 7152772] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-treesitter-textobjects [DEBUG 09:32:58 7344745] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-notify [DEBUG 09:32:58 7356017] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-notify [DEBUG 09:32:58 7536817] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-navic [DEBUG 09:32:58 7546413] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-navic [DEBUG 09:32:58 7747461] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for gitsigns.nvim [DEBUG 09:32:58 7757249] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading gitsigns.nvim [DEBUG 09:32:58 7965735] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for tabular [DEBUG 09:32:58 7976408] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading tabular [DEBUG 09:32:58 8174210] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-surround [DEBUG 09:32:58 8185003] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-surround [DEBUG 09:32:58 8376007] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-cmp [DEBUG 09:32:58 8385752] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-cmp [DEBUG 09:32:58 8569781] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-abolish [DEBUG 09:32:58 8581083] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-abolish [DEBUG 09:32:58 8766340] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for telescope-fzf-native.nvim [DEBUG 09:32:58 8781888] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading telescope-fzf-native.nvim [DEBUG 09:32:58 8979826] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for impatient.nvim [DEBUG 09:32:58 8989430] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading impatient.nvim [DEBUG 09:32:58 9000764] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for suda.vim [DEBUG 09:32:58 9008024] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading suda.vim [DEBUG 09:32:58 9207678] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for telescope-file-browser.nvim [DEBUG 09:32:58 9218387] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading telescope-file-browser.nvim [DEBUG 09:32:58 9416576] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-repeat [DEBUG 09:32:58 9430117] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-repeat [DEBUG 09:32:58 9619460] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for cmp-buffer [DEBUG 09:32:58 9629429] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading cmp-buffer [DEBUG 09:32:58 9817563] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for plenary.nvim [DEBUG 09:32:58 9827566] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading plenary.nvim [DEBUG 09:32:58 10042923] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for telescope.nvim [DEBUG 09:32:58 10054843] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading telescope.nvim [DEBUG 09:32:58 10249403] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for cmp-path [DEBUG 09:32:58 10258840] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading cmp-path [DEBUG 09:32:58 10448966] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for feline.nvim [DEBUG 09:32:58 10458521] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading feline.nvim [DEBUG 09:32:58 10648700] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for cmp_luasnip [DEBUG 09:32:58 10660024] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading cmp_luasnip [DEBUG 09:32:58 10852470] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-treesitter [DEBUG 09:32:58 10861594] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-treesitter [DEBUG 09:32:58 11058528] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-dap-ui [DEBUG 09:32:58 11067552] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-dap-ui [DEBUG 09:32:58 11261020] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nui.nvim [DEBUG 09:32:58 11271979] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nui.nvim [DEBUG 09:32:58 11463532] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-autopairs [DEBUG 09:32:58 11473694] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-autopairs [DEBUG 09:32:58 11670121] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for vim-commentary [DEBUG 09:32:58 11679299] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading vim-commentary [DEBUG 09:32:58 11875067] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for cmp-nvim-lsp [DEBUG 09:32:58 11886035] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading cmp-nvim-lsp [DEBUG 09:32:58 12079569] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for neodev.nvim [DEBUG 09:32:58 12095295] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading neodev.nvim [DEBUG 09:32:58 12295537] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for LuaSnip [DEBUG 09:32:58 12304502] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading LuaSnip [DEBUG 09:32:58 12505894] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for nvim-ts-autotag [DEBUG 09:32:58 12583850] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading nvim-ts-autotag [DEBUG 09:32:58 12791502] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:107: Running loader for git-conflict.nvim [DEBUG 09:32:58 12801524] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:124: Loading git-conflict.nvim [DEBUG 09:32:58 62019968] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for lir.nvim [DEBUG 09:32:58 63057024] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for lir.nvim took 1.012532ms [DEBUG 09:32:58 63075220] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for fidget.nvim [DEBUG 09:32:58 63829772] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for fidget.nvim took 0.737379ms [DEBUG 09:32:58 63846470] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-lspconfig [DEBUG 09:32:58 84418679] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-lspconfig took 20.557197ms [DEBUG 09:32:58 84438774] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-colorizer.lua [DEBUG 09:32:58 86067983] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-colorizer.lua took 1.610541ms [DEBUG 09:32:58 86096123] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-lint [DEBUG 09:32:58 86769405] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-lint took 0.657156ms [DEBUG 09:32:58 86843617] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for vim-startify [DEBUG 09:32:58 86908605] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for vim-startify took 0.050709ms [DEBUG 09:32:58 86921214] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for vim-dadbod-ui [DEBUG 09:32:58 86997773] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for vim-dadbod-ui took 0.062373ms [DEBUG 09:32:58 87012430] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-notify [DEBUG 09:32:58 87056849] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-notify took 0.032897ms [DEBUG 09:32:58 87067118] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for gitsigns.nvim [DEBUG 09:32:58 90976278] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for gitsigns.nvim took 3.892173ms [DEBUG 09:32:58 90997127] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for tabular [DEBUG 09:32:58 91016241] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for tabular took 0.003224ms [DEBUG 09:32:58 91027567] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for vim-surround [DEBUG 09:32:58 91093918] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for vim-surround took 0.053618ms [DEBUG 09:32:58 91108342] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-cmp [DEBUG 09:32:58 91748086] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-cmp took 0.623862ms [DEBUG 09:32:58 91765731] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for suda.vim [DEBUG 09:32:58 91793151] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for suda.vim took 0.011601ms [DEBUG 09:32:58 91813060] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for telescope.nvim [DEBUG 09:32:58 101267326] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for telescope.nvim took 9.429923ms [DEBUG 09:32:58 101319165] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for feline.nvim [DEBUG 09:32:58 103446465] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for feline.nvim took 2.083754ms [DEBUG 09:32:58 103467828] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-treesitter [DEBUG 09:32:58 104584282] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-treesitter took 1.098760ms [DEBUG 09:32:58 104605495] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for nvim-autopairs [DEBUG 09:32:58 106000477] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for nvim-autopairs took 1.374887ms [DEBUG 09:32:58 106018996] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for LuaSnip [DEBUG 09:32:58 112444823] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for LuaSnip took 6.367505ms [DEBUG 09:32:58 112546951] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:37: Running config for git-conflict.nvim [DEBUG 09:32:58 115817595] ...m/site/pack/packer/opt/packer.nvim/lua/packer/loader.lua:45: config for git-conflict.nvim took 3.186835ms [DEBUG 09:32:59 874972425] .../site/pack/packer/opt/packer.nvim/lua/packer/fsstate.lua:141: Updating FS state [DEBUG 09:32:59 1043437094] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:276: Fixing plugin types [DEBUG 09:32:59 1043487066] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:285: Done fixing plugin types [DEBUG 09:32:59 1043515694] .../site/pack/packer/opt/packer.nvim/lua/packer/fsstate.lua:141: Updating FS state [DEBUG 09:32:59 1204403312] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:313: Starting clean [DEBUG 09:32:59 1204467484] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:316: extra plugins {} [DEBUG 09:32:59 1204519143] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:317: dirty plugins {} [INFO 09:32:59 1204555163] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:320: Already clean! [DEBUG 09:32:59 1219485397] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:449: Gathering install tasks [DEBUG 09:32:59 1219578170] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:454: Gathering update tasks [DEBUG 09:32:59 1219752083] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:51: Running tasks [INFO 09:33:00 1523491922] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-dap: checking current commit... [INFO 09:33:00 1523579129] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: packer.nvim/main: checking current commit... [INFO 09:33:00 1523630342] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: lir.nvim: checking current commit... [INFO 09:33:00 1523682507] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: fidget.nvim: checking current commit... [INFO 09:33:00 1523740660] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lspconfig: checking current commit... [INFO 09:33:00 1523786764] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-web-devicons: checking current commit... [INFO 09:33:00 1523834162] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-colorizer.lua: checking current commit... [INFO 09:33:00 1523879967] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lint: checking current commit... [INFO 09:33:00 1523942521] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason.nvim: checking current commit... [INFO 09:33:00 1524301194] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startify: checking current commit... [INFO 09:33:00 1524384580] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-ui: checking current commit... [INFO 09:33:00 1524451954] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason-lspconfig.nvim: checking current commit... [INFO 09:33:00 1524505942] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: schemastore.nvim: checking current commit... [INFO 09:33:00 1524894492] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-completion: checking current commit... [INFO 09:33:00 1524979355] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: omnisharp-extended-lsp.nvim: checking current commit... [INFO 09:33:00 1525038082] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-sleuth: checking current commit... [INFO 09:33:00 1525230740] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-scriptease: checking current commit... [INFO 09:33:00 1525341773] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod: checking current commit... [INFO 09:33:00 1525416995] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-treesitter-textobjects: checking current commit... [INFO 09:33:00 1525576120] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-notify: checking current commit... [INFO 09:33:00 1525713985] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: rest.nvim: checking current commit... [INFO 09:33:00 1525880034] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-navic: checking current commit... [INFO 09:33:00 1525989307] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vimtex: checking current commit... [INFO 09:33:00 1526073296] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: gitsigns.nvim: checking current commit... [INFO 09:33:00 1526133729] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: tabular: checking current commit... [INFO 09:33:00 1526188560] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-surround: checking current commit... [INFO 09:33:00 1526244892] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: undotree: checking current commit... [INFO 09:33:00 1526318441] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-cmp: checking current commit... [INFO 09:33:00 1526401926] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-abolish: checking current commit... [INFO 09:33:00 1526459607] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope-fzf-native.nvim: checking current commit... [INFO 09:33:00 1526554352] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: impatient.nvim: checking current commit... [INFO 09:33:00 1526615618] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: suda.vim: checking current commit... [INFO 09:33:00 1526727834] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startuptime: checking current commit... [INFO 09:33:00 1526814254] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope-file-browser.nvim: checking current commit... [INFO 09:33:00 1526865791] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: markdown-preview.nvim: checking current commit... [INFO 09:33:00 1526925340] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: crates.nvim: checking current commit... [INFO 09:33:00 1526988468] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-repeat: checking current commit... [INFO 09:33:00 1527041038] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-buffer: checking current commit... [INFO 09:33:00 1527088800] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: plenary.nvim: checking current commit... [INFO 09:33:00 1527141117] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope.nvim: checking current commit... [INFO 09:33:00 1527208393] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: package-info.nvim: checking current commit... [INFO 09:33:00 1527272374] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-path: checking current commit... [INFO 09:33:00 1527339387] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: feline.nvim: checking current commit... [INFO 09:33:00 1527430430] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp_luasnip: checking current commit... [INFO 09:33:00 1527489714] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-treesitter: checking current commit... [INFO 09:33:00 1527543466] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-dap-ui: checking current commit... [INFO 09:33:00 1527626479] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nui.nvim: checking current commit... [INFO 09:33:00 1527736093] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-autopairs: checking current commit... [INFO 09:33:00 1527838953] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-commentary: checking current commit... [INFO 09:33:00 1527930200] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: playground: checking current commit... [INFO 09:33:00 1528000265] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-nvim-lsp: checking current commit... [INFO 09:33:00 1528058739] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: neodev.nvim: checking current commit... [INFO 09:33:00 1528142103] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: LuaSnip: checking current commit... [INFO 09:33:00 1528222326] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-tree.lua: checking current commit... [INFO 09:33:00 1528272534] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-ts-autotag: checking current commit... [INFO 09:33:00 1528332267] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: git-conflict.nvim: checking current commit... [INFO 09:33:00 1528368978] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: git-conflict.nvim: checking current branch... [INFO 09:33:00 1528401555] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-ts-autotag: checking current branch... [INFO 09:33:00 1528445523] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-tree.lua: checking current branch... [INFO 09:33:00 1528486449] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: LuaSnip: checking current branch... [INFO 09:33:00 1528542016] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: neodev.nvim: checking current branch... [INFO 09:33:00 1528602638] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-nvim-lsp: checking current branch... [INFO 09:33:00 1528636672] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: playground: checking current branch... [INFO 09:33:00 1528667912] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-commentary: checking current branch... [INFO 09:33:00 1528704149] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-autopairs: checking current branch... [INFO 09:33:00 1528748265] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nui.nvim: checking current branch... [INFO 09:33:00 1528784591] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-dap-ui: checking current branch... [INFO 09:33:00 1528846485] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-treesitter: checking current branch... [INFO 09:33:00 1528885840] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp_luasnip: checking current branch... [INFO 09:33:00 1528924589] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: feline.nvim: checking current branch... [INFO 09:33:00 1528961643] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-path: checking current branch... [INFO 09:33:00 1529012634] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: package-info.nvim: checking current branch... [INFO 09:33:00 1529053821] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope.nvim: checking current branch... [INFO 09:33:00 1529101374] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: plenary.nvim: checking current branch... [INFO 09:33:00 1529179608] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: cmp-buffer: checking current branch... [INFO 09:33:00 1529238873] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-repeat: checking current branch... [INFO 09:33:00 1529314046] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: crates.nvim: checking current branch... [INFO 09:33:00 1529373959] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: markdown-preview.nvim: checking current branch... [INFO 09:33:00 1529413308] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope-file-browser.nvim: checking current branch... [INFO 09:33:00 1529453430] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startuptime: checking current branch... [INFO 09:33:00 1529488875] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: suda.vim: checking current branch... [INFO 09:33:00 1529523593] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: impatient.nvim: checking current branch... [INFO 09:33:00 1529555432] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: telescope-fzf-native.nvim: checking current branch... [INFO 09:33:00 1529591401] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-abolish: checking current branch... [INFO 09:33:00 1529626658] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-cmp: checking current branch... [INFO 09:33:00 1529662695] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: undotree: checking current branch... [INFO 09:33:00 1529697591] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-surround: checking current branch... [INFO 09:33:00 1529733587] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: tabular: checking current branch... [INFO 09:33:00 1529764702] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: gitsigns.nvim: checking current branch... [INFO 09:33:00 1529812771] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vimtex: checking current branch... [INFO 09:33:00 1529842887] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-navic: checking current branch... [INFO 09:33:00 1529873037] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: rest.nvim: checking current branch... [INFO 09:33:00 1529915386] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-notify: checking current branch... [INFO 09:33:00 1529976983] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-treesitter-textobjects: checking current branch... [INFO 09:33:00 1530026007] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod: checking current branch... [INFO 09:33:00 1530054579] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-scriptease: checking current branch... [INFO 09:33:00 1530084157] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-sleuth: checking current branch... [INFO 09:33:00 1530117801] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: omnisharp-extended-lsp.nvim: checking current branch... [INFO 09:33:00 1530157288] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-completion: checking current branch... [INFO 09:33:00 1530187799] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: schemastore.nvim: checking current branch... [INFO 09:33:00 1530215664] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason-lspconfig.nvim: checking current branch... [INFO 09:33:00 1530248586] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-ui: checking current branch... [INFO 09:33:00 1530278036] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startify: checking current branch... [INFO 09:33:00 1530308369] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason.nvim: checking current branch... [INFO 09:33:00 1530341764] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lint: checking current branch... [INFO 09:33:00 1530370218] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-colorizer.lua: checking current branch... [INFO 09:33:00 1530406656] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-web-devicons: checking current branch... [INFO 09:33:00 1530437333] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lspconfig: checking current branch... [INFO 09:33:00 1530471804] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: fidget.nvim: checking current branch... [INFO 09:33:00 1530504459] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: lir.nvim: checking current branch... [INFO 09:33:00 1530532213] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: packer.nvim/main: checking current branch... [INFO 09:33:00 1530557969] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-dap: checking current branch... [INFO 09:33:00 1530588300] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-dap: checking origin branch... [INFO 09:33:00 1530621565] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: lir.nvim: checking origin branch... [INFO 09:33:00 1530663650] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: lir.nvim: pulling updates... [INFO 09:33:00 1530691430] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: fidget.nvim: checking origin branch... [INFO 09:33:00 1530734705] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: fidget.nvim: pulling updates... [INFO 09:33:00 1530765001] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lspconfig: checking origin branch... [INFO 09:33:00 1530796270] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lspconfig: pulling updates... [INFO 09:33:00 1530823678] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-web-devicons: checking origin branch... [INFO 09:33:00 1530853452] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-web-devicons: pulling updates... [INFO 09:33:00 1530903389] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-colorizer.lua: checking origin branch... [INFO 09:33:00 1530932545] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-colorizer.lua: pulling updates... [INFO 09:33:00 1530984276] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lint: checking origin branch... [INFO 09:33:00 1531010468] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: nvim-lint: pulling updates... [INFO 09:33:00 1531059869] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason.nvim: checking origin branch... [INFO 09:33:00 1531109156] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason.nvim: pulling updates... [INFO 09:33:00 1531137332] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startify: checking origin branch... [INFO 09:33:00 1531170117] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-startify: pulling updates... [INFO 09:33:00 1531217053] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-ui: checking origin branch... [INFO 09:33:00 1531253030] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: vim-dadbod-ui: pulling updates... [INFO 09:33:00 1531285866] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason-lspconfig.nvim: checking origin branch... [INFO 09:33:00 1531320982] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: mason-lspconfig.nvim: pulling updates... [INFO 09:33:00 1531353895] .../site/pack/packer/opt/packer.nvim/lua/packer/display.lua:617: schemastore.nvim: checking origin br
```
lewis6991 commented 1 year ago

I noticed that the result from git_run is okay, but there was not any stdout.

If the result is ok then there should be stdout.

seblj commented 1 year ago

I noticed that the result from git_run is okay, but there was not any stdout.

If the result is ok then there should be stdout.

Stdout is empty

lewis6991 commented 1 year ago

It shouldn't be. Or at least I don't know how it could if the exit code was 0.

What was the command? git rev-parse --short HEAD?

seblj commented 1 year ago

What was the command? git rev-parse --short HEAD?

Yes

lewis6991 commented 1 year ago

I've added a nil check so the function will error is stdout is empty. Not sure what the actual issue is though.

seblj commented 1 year ago

Okay, my bad, it is FETCH_HEAD that fails. So when getting the new rev

lewis6991 commented 1 year ago

Can you run the command locally?

seblj commented 1 year ago

Can you run the command locally?

It outputs the current commit like it should. Really weird as this changes on which plugins it affects from each time I run PackerSync

lewis6991 commented 1 year ago

Ok, probably something funky in jobs.tl or async.tl.

seblj commented 1 year ago

Ok, probably something funky in jobs.tl or async.tl.

Yeah probably. Just let me know if there is anything else I can do to help pin down the issue with testing something

lewis6991 commented 1 year ago

just and print messages in places. jobs.tl is only 189 LOC and just wraps vim.loop.spawn.

seblj commented 1 year ago

Hmm, I can't seem to figure out why it happens. Stdout and stderr is both empty. It's probably something weird in either jobs.tl or async.tl like you said. Running the commands locally always works, and the cwd, args and cmd all seem to be good, so I guess the job is not able to finish or something :man_shrugging:

lewis6991 commented 1 year ago

Did you try logging everything that came out of https://github.com/wbthomason/packer.nvim/blob/main/teal/packer/jobs.tl#L107 ?

seblj commented 1 year ago

No not before now, but now I can see that it reports an error that it failed to get a new revision, then later it logs that it found it. So it probably returns before it is able to return the result or something like that

seblj commented 1 year ago

Here is a small output from the log with the extra trace I added. If you see the first two lines, it logs that it failed to get the new revision. Then there is some unrelated job logs, but the last line in the log shows that it successfully got the new revision, but then it is too late

[DEBUG 14:11:20 1507561570] ...k/packer/opt/packer.nvim/lua/packer/plugin_types/git.lua:286: vimtex: $s: failed getting new revision
[DEBUG 14:11:20 1507590993] .../site/pack/packer/opt/packer.nvim/lua/packer/actions.lua:239: Failed to update vimtex: 'git rev-parse --short FETCH_HEAD' did not return a result
[TRACE 14:11:20 1507943864] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/formatter.nvim
[TRACE 14:11:20 1509139419] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/gitsigns.nvim
[TRACE 14:11:20 1510342122] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/vim-dadbod
[TRACE 14:11:20 1511562252] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/vim-startuptime
[TRACE 14:11:20 1512749457] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/tabular
[TRACE 14:11:20 1513994213] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/markdown-preview.nvim
[TRACE 14:11:20 1515314985] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/playground
[TRACE 14:11:20 1516539261] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/nvim-tree.lua
[TRACE 14:11:20 1517726949] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/feline.nvim
[TRACE 14:11:20 1518925131] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/plenary.nvim
[TRACE 14:11:20 1520104837] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/rest.nvim
[TRACE 14:11:20 1521281379] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/vim-surround
[TRACE 14:11:20 1522513231] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:35: Running job: cmd = git, args = { "rev-parse", "--short", "FETCH_HEAD" }, cwd = /home/sebastian/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons
[TRACE 14:11:20 1523861600] ...vim/site/pack/packer/opt/packer.nvim/lua/packer/jobs.lua:108: in setup_pipe, data: 7a887028
, err: nil, kind: stdout, task: { "git", "rev-parse", "--short", "FETCH_HEAD" }, cwd: /home/sebastian/.local/share/nvim/site/pack/packer/opt/vimtex
lewis6991 commented 1 year ago

One quick thing to rule out. What version of Lua are you running and are you running any 5.2 features?

What's the output of :lua=coroutine.running()?

lewis6991 commented 1 year ago

Another thing, in jobs.tl change:

  for kind, pipe in pairs({ stdout = stdout, stderr = stderr } as {StdioType:vim.loop.Pipe}) do
    if pipe and callbacks[kind] then
      pipe:read_start(function(err: string, data: string)
        if data then
          callbacks[kind](err, data)
        else
          pipe:read_stop()
          pipe:close()
        end
      end)
    end
  end

to

  for kind, pipe in pairs({ stdout = stdout, stderr = stderr } as {StdioType:vim.loop.Pipe}) do
    if pipe and callbacks[kind] then
      pipe:read_start(function(err: string, data: string)
        callbacks[kind](err, data)
        if err then
          pipe:read_stop()
          pipe:close()
        end
      end)
    end
  end
seblj commented 1 year ago

One quick thing to rule out. What version of Lua are you running and are you running any 5.2 features?

Running nvim --version says that it uses LuaJIT 2.1.0-beta3. I am pretty sure I am not running any 5.2 features. How could I check this?

What's the output of :lua=coroutine.running()?

The output is: nil

Another thing, in jobs.tl change:

  for kind, pipe in pairs({ stdout = stdout, stderr = stderr } as {StdioType:vim.loop.Pipe}) do
    if pipe and callbacks[kind] then
      pipe:read_start(function(err: string, data: string)
        if data then
          callbacks[kind](err, data)
        else
          pipe:read_stop()
          pipe:close()
        end
      end)
    end
  end

to

  for kind, pipe in pairs({ stdout = stdout, stderr = stderr } as {StdioType:vim.loop.Pipe}) do
    if pipe and callbacks[kind] then
      pipe:read_start(function(err: string, data: string)
        callbacks[kind](err, data)
        if err then
          pipe:read_stop()
          pipe:close()
        end
      end)
    end
  end

This unfortunately didn't change anything. Still the same issue.

However, It seems like your latest commit 6ed8fd9 actually fixes this! However, if I also change what you suggested here, the command doesn't run at all

seblj commented 1 year ago

I can't reproduce this error anymore after your latest commit! Thank you very much!

lewis6991 commented 1 year ago

Hmm, that's quite peculiar. I can't imagine why closing the pipes would fix this. Oh well :shrug:.

Please let me know if you see anything like this again as it appears to be an issue with fairly low level code and fundamental to how the project runs.