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

Codeium not working after update (lazyvim) #232

Open
julien-h opened this issue Sep 27, 2024 · 22 comments
Open

Codeium not working after update (lazyvim) #232

julien-h opened this issue Sep 27, 2024 · 22 comments
Assignees

Comments

@julien-h
Copy link

julien-h commented Sep 27, 2024

Hello, I updated my plugins today and codeium is now broken and keeps spamming me with notifications "Code completion request failed".

I use LazyVim without custom configuration.

I collected the logs, attaching them here.
codeium.log.log

@julien-h julien-h changed the title Codeium not working after update Codeium not working after update (lazyvim) Sep 27, 2024
@iamxiaojianzheng
Copy link

Same problem, after the update has been reported error.

@work-in-progress-danny
Copy link

work-in-progress-danny commented Sep 27, 2024

For now if you need to get some work done. You can pin the version to a commit from a few days ago (just guessing that something recent broke the plugin)

Add commit to your codeium plugin config per the lazy spec
Choosing 937667b2cadc7905e6b9ba18ecf84694cf227567 because it's seemingly the last stable version (just guessing that something in the last week broke). see

return {
	"Exafunction/codeium.nvim",
	commit = "937667b2cadc7905e6b9ba18ecf84694cf227567", -- just guessing the commit sha here
-- ... rest of your config
}

And if you don't want to set and forget this pinned version add check_pinned per default config example

checker = {
	check_pinned = true, -- 
	-- ... rest of your config
},

@iamxiaojianzheng
Copy link

After I switch to commit 937667b, codeium.nvim reports an error that changes to codeium server crashed.

@work-in-progress-danny
Copy link

After I switch to commit 937667b, codeium.nvim reports an error that changes to codeium server crashed.

You'll need to run :Lazy update to get the older version of the plugin

@iamxiaojianzheng
Copy link

iamxiaojianzheng commented Sep 27, 2024

I manually switched the branch of codeium.nvim to 937667b

image

And export no_proxy was configured as prompted by other issues.

Before the update, everything was going well.

!Note: codeium server crashed error exists, headache.

codeium.log

@aliaksandr-trush
Copy link
Contributor

aliaksandr-trush commented Sep 27, 2024

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

@iamxiaojianzheng
Copy link

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Which version of commit are you based on?

@work-in-progress-danny
Copy link

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Seemingly is working for me, will update if not

@work-in-progress-danny
Copy link

work-in-progress-danny commented Sep 27, 2024

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Which version of commit are you based on?

You'll have to use @aliaksandr-trush's fork of the plugin

return {
	"aliaksandr-trush/codeium.nvim", -- forked repo
	dependencies = {
		"nvim-lua/plenary.nvim",
		"hrsh7th/nvim-cmp",
	},
	config = function()
		require("codeium").setup({})
	end,
}

@aliaksandr-trush
Copy link
Contributor

aliaksandr-trush commented Sep 27, 2024

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Which version of commit are you based on?

You'll have to use @aliaksandr-trush's fork of the plugin

return {
	"aliaksandr-trush/codeium.nvim", -- forked repo
	dependencies = {
		"nvim-lua/plenary.nvim",
		"hrsh7th/nvim-cmp",
	},
	config = function()
		require("codeium").setup({})
	end,
}

You also need to specify correct branch name: branch = "update_server_version"

@work-in-progress-danny
Copy link

work-in-progress-danny commented Sep 27, 2024

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Which version of commit are you based on?

You'll have to use @aliaksandr-trush's fork of the plugin

return {
	"aliaksandr-trush/codeium.nvim", -- forked repo
	dependencies = {
		"nvim-lua/plenary.nvim",
		"hrsh7th/nvim-cmp",
	},
	config = function()
		require("codeium").setup({})
	end,
}

You also need to specify correct branch name: branch = update_server_version

Pretty sure your branch doesn't exist on the main repo codeium.nvim branches. It'll only exist here

@iamxiaojianzheng
Copy link

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Tried the latest language-server version on my local and it looks more stable for me. Could you try this PR #233 ?

Which version of commit are you based on?

You'll have to use @aliaksandr-trush's fork of the plugin

return {
	"aliaksandr-trush/codeium.nvim", -- forked repo
	dependencies = {
		"nvim-lua/plenary.nvim",
		"hrsh7th/nvim-cmp",
	},
	config = function()
		require("codeium").setup({})
	end,
}

This fork solves the problem, so great.

@iamxiaojianzheng
Copy link

After experimenting locally, I found that when I switched to this commit, problems began to occur. 891439a

@pqn
Copy link
Collaborator

pqn commented Sep 28, 2024

Are you on Windows by any chance?

@iamxiaojianzheng
Copy link

Are you on Windows by any chance?

no any change. just switch commit.

@saranshsaini
Copy link
Contributor

Thanks for bearing with us as we sort this out.
looks like windows users were having issues. We merged in a change, if you all could update and let me know if things work, that would be awesome.

@work-in-progress-danny
Copy link

Are you on Windows by any chance?

Mac

@julien-h
Copy link
Author

@pqn I am on windows 11. I have attached the logs in the original post.

@melMass
Copy link

melMass commented Sep 28, 2024

I had the issue on mac and windows. 17bbeff fixed it on windows, testing mac now spoke too soon: #225 (comment)

@melMass
Copy link

melMass commented Sep 29, 2024

Pretty sure your branch doesn't exist on the main repo codeium.nvim branches. It'll only exist here

A fork also has branches... his main is 5months old

@zigotica
Copy link

zigotica commented Oct 3, 2024

Thanks for bearing with us as we sort this out. looks like windows users were having issues. We merged in a change, if you all could update and let me know if things work, that would be awesome.

mac user here. not sure what you fixed but commmits after 937667b show this issue #236, pinning install to that commit fixes the problem

@saranshsaini
Copy link
Contributor

There have been a series of updates to the nvim extension recently, please try updating to the latest.

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

8 participants