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

Help: Error curl.lua:300 #609

Open
alisanoelia opened this issue Jul 30, 2024 · 2 comments
Open

Help: Error curl.lua:300 #609

alisanoelia opened this issue Jul 30, 2024 · 2 comments

Comments

@alisanoelia
Copy link

alisanoelia commented Jul 30, 2024

Error executing luv callback:
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: post http://127.0.0.1:32899/exa.language_server_pb.LanguageServerService/Heartbeat - curl error ex
it_code=23 stderr={ "curl: (23) Failed writing received data to disk/application" }
stack traceback:
[C]: in function 'error'
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: in function '_user_on_exit'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:241: in function '_shutdown'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:48: in function <.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:39>

Version: NVIM v0.10.0
0S: Void Linux

@reilg
Copy link

reilg commented Aug 11, 2024

Getting a similar error on WSL 2 - Ubuntu 24.04

   Error  03:15:41 msg_show.lua_error Error executing luv callback:
....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: get https://github.com/Exafunction/codeium/releases/download/language-server-v1.8.80/language_server_linux_x64.gz - curl error exit_code=23 stderr={ "curl: (23) Failed writing received data to disk/application" }
stack traceback:
	[C]: in function 'error'
	....local/share/nvim/lazy/plenary.nvim/lua/plenary/curl.lua:300: in function '_user_on_exit'
	.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:241: in function '_shutdown'
	.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:48: in function <.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/job.lua:39>

Neovim version:

NVIM v0.11.0-dev-600+g9b5ab6667
Build type: RelWithDebInfo
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info

@alisanoelia
Copy link
Author

Use codeium.vim

with Lazy.nvim:

return {
	'Exafunction/codeium.vim',
	config = function()
		-- Change '<C-g>' here to any keycode you like.
		vim.keymap.set('i', '<C-k>', function() return vim.fn['codeium#Accept']() end, { expr = true, silent = true })
		vim.keymap.set('i', '<c-;>', function() return vim.fn['codeium#CycleCompletions'](1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-,>', function() return vim.fn['codeium#CycleCompletions'](-1) end,
			{ expr = true, silent = true })
		vim.keymap.set('i', '<c-x>', function() return vim.fn['codeium#Clear']() end, { expr = true, silent = true })
	end
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants