luckasRanarison / nvim-devdocs

Neovim DevDocs integration
MIT License
265 stars 19 forks source link

:DevdocsFetch raises "nvim-devdocs: Error when fetching registery, exit code: 2" #10

Closed russarr closed 1 year ago

russarr commented 1 year ago

I have an error when running the command :DevdocsFetch First message: "Fetching DevDocs registery..." And then error message: "nvim-devdocs: Error when fetching registery, exit code: 2" Setup using Lazy with default config NVIM v0.9.1 OS: Windows 10 Pro 22H2

luckasRanarison commented 1 year ago

The plugin is using curl for making requests and it seems to be an internal error according to this

2 - Failed to initialize. This is mostly an internal error or a problem with the libcurl installation or system libcurl runs in.

Try to check your curl installation.

russarr commented 1 year ago

I found out that there is a problem with ssl certificates. Unfortunately, I have not been able to solve it. Is it possible to manually download the necessary files and save them to the appropriate directory?

luckasRanarison commented 1 year ago

It's not possible because of the fetched data still needs to be processed before being written to the disk. I'll see if I can do something to fix this.

russarr commented 1 year ago

The problem is solved. Damn antivirus. Issue can be closed