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

Crash when updating: "cannot resume dead coroutine" #112

Closed
David-Else opened this issue May 14, 2022 · 1 comment · Fixed by #118
Closed

Crash when updating: "cannot resume dead coroutine" #112

David-Else opened this issue May 14, 2022 · 1 comment · Fixed by #118
Labels
bug Something isn't working

Comments

@David-Else
Copy link

David-Else commented May 14, 2022

Describe the bug
After some updates I get the following error message:

Paq: update complete. 4 ok; 0 errors; 15 no-ops                                                                                                                                                
Error executing vim.schedule lua callback: ...cal/share/nvim/site/pack/paqs/start/paq-nvim/lua/paq.lua:144: cannot resume dead coroutine                                                        
stack traceback:                                                                                                                                                                                
        [C]: in function 'counter'                                                                                                                                                              
        ...cal/share/nvim/site/pack/paqs/start/paq-nvim/lua/paq.lua:144: in function 'cb'                                                                                                       
        ...cal/share/nvim/site/pack/paqs/start/paq-nvim/lua/paq.lua:68: in function ''                                                                                                          
        vim/_editor.lua: in function <vim/_editor.lua:0>       
require 'paq' {
  'savq/paq-nvim',
  'Mofiqul/vscode.nvim',
  'neovim/nvim-lspconfig',
  'kosayoda/nvim-lightbulb',
  'folke/zen-mode.nvim',
  'numToStr/Comment.nvim',
  'jose-elias-alvarez/null-ls.nvim',
  'nvim-lua/plenary.nvim',
  'junegunn/fzf.vim',
  'L3MON4D3/LuaSnip',
  'hrsh7th/nvim-cmp',
  'hrsh7th/cmp-nvim-lsp',
  'hrsh7th/cmp-nvim-lsp-signature-help',
  'hrsh7th/cmp-path',
  'hrsh7th/cmp-buffer',
  'hrsh7th/cmp-cmdline',
  'hrsh7th/cmp-nvim-lua',
  'saadparwaiz1/cmp_luasnip',
  {
    'nvim-treesitter/nvim-treesitter',
    run = function()
      vim.cmd 'TSUpdate'
    end,
  },
}
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.

From https://github.com/hrsh7th/nvim-cmp
   a226b6a..9a0c639  main       -> origin/main
nvim-cmp updating...
* Fix #987
* Improve the codes for sumneko friendly
* fix: use scratch buffer and lhs for keymap.normalize() (#986)From https://github.com/nvim-lua/plenary.nvim
   cc8b076..0a90736  master     -> origin/master
From https://github.com/nvim-treesitter/nvim-treesitter
   10d57b3..b30a830  master     -> origin/master
From https://github.com/neovim/nvim-lspconfig
   ce8a4d8..9ff2a06  master     -> origin/master
plenary.nvim updating...
* feat: add purescript filetype (#363)
* fix(busted): print should now always print and errors should fail test suite (#362)
* fix(async): propagate errors occurring within block_on() calls (#286)
* docs: add faq section
* fix(curl): check if body string is file - expand errors if body contains $ (#338)
* fix (path:normalize): handle filenames with the same prefix as the home directory (#355)
* fix: remove filetype from autogenerated file and move to builtinnvim-lspconfig updating...
* fix(jsonnet_ls): merge cmd_env instead of ovdrriding it entirely #1559nvim-treesitter updating...
* highlights(scheme): some fix (#2932)
* Python: highlight future import (#2936)
* highlights(php): improve highlight for attributes
* Update lockfile.json

To Reproduce
I don't know how to reproduce it.

Expected behavior
No error

Environment:

  • nvim --version: v0.;7.0
  • git --version: 2.27.0
  • OS: Rocky Linux 8.5
@David-Else David-Else added the bug Something isn't working label May 14, 2022
@David-Else
Copy link
Author

It keeps happening!

stack traceback:                                                                                                                                                                                
        [C]: in function 'counter'                                                                                                                                                              
        ...cal/share/nvim/site/pack/paqs/start/paq-nvim/lua/paq.lua:144: in function 'cb'                                                                                                       
        ...cal/share/nvim/site/pack/paqs/start/paq-nvim/lua/paq.lua:68: in function ''                                                                                                          
        vim/_editor.lua: in function <vim/_editor.lua:0>       

This time my log was:

From https://github.com/neovim/nvim-lspconfig
   c5dae15..0b0afea  master     -> origin/master
From https://github.com/nvim-treesitter/nvim-treesitter
   889e901..a94078a  master     -> origin/master
nvim-lspconfig updating...
* docs: update server_configurations.md skip-checks: true
* fix(dartls): explicitly pass the protocol to dartls (#1943)
* style: fix bad formatting (#1944)nvim-treesitter updating...
* Update lockfile.json
* fix(health): update to upstream changes
* Update lockfile.json

and treesitter installed some things in a weird way that made me have to keep pressing return:

{
    'nvim-treesitter/nvim-treesitter',
    run = function()
      vim.cmd 'TSUpdate'
    end,
  },

Screenshot from 2022-06-03 11-51-51

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.

1 participant