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

Not working #97

Closed
yofriadi opened this issue Jan 23, 2022 · 6 comments
Closed

Not working #97

yofriadi opened this issue Jan 23, 2022 · 6 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@yofriadi
Copy link

Screen Shot 2022-01-23 at 10 12 10

using example request but throw error
neovim v0.6.1
curl 7.77.0

@phenrique
Copy link

I'm having the same problem

@aimran-adroll
Copy link

aimran-adroll commented Mar 8, 2022

Same issue.
This is a doozy. Strangely enough for me, its transient. A certain iteration of PackerCompile + PackerInstall fixes it. But almost always the next call to run breaks it again

EDIT:

got a little bit more traceback

Error executing luv callback:
...site/pack/packer/start/plenary.nvim/lua/plenary/curl.lua:248: get https://reqres.in/api/users?page=5 - curl error exit_code=2 stderr={ "curl: no URL specified!",
 "curl: try 'curl --help' or 'curl --manual' for more information" }
stack traceback:
        [C]: in function 'error'
        ...site/pack/packer/start/plenary.nvim/lua/plenary/curl.lua:248: in function '_user_on_exit'
        .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:243: in function '_shutdown'
        .../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:46: in function <.../site/pack/packer/start/plenary.nvim/lua/plenary/job.lua:37>
Press ENTER or type command to continue
Error executing luv callback:
cannot resume dead coroutine
stack traceback:
        [builtin#36]: at 0x01030598a0

There is at least 1 reference to similar error in the plenary repo
nvim-lua/plenary.nvim#327

@piotr-serafin-red
Copy link

Same for me:

macOS 12.2.1
neovim v0.6.1
curl 7.77.0

@NTBBloodbath NTBBloodbath added bug Something isn't working good first issue Good for newcomers labels Mar 16, 2022
@NTBBloodbath
Copy link
Member

Hey, my apologies for the very late response!

This issue looks very weird to me. I'll check first from our side to discard issues in rest.nvim code before taking actions in plenary and start debugging it.

Thanks for providing error tracebacks btw, now I know where should I start debugging from both our side and plenary side.

I'll start debugging tonight once I'm done with work.

Cheers

@aimran-adroll
Copy link

Thanks for looking into it @NTBBloodbath. Super helpful plugin

Let me us know if you need more details

@Ezechi3l
Copy link

I had the same issue and after checking the code it was coming from plenary.

The issue is now resolved so you just have to update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

6 participants