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

Error downloading codeium server via plenary.nvim on Windows #44

Closed
CharlesChiuGit opened this issue Apr 7, 2023 · 7 comments
Closed

Comments

@CharlesChiuGit
Copy link

Here's the error:
圖片

So I trace back to plenary.nvim and found a relative issue
It seems like curl with --compressed is not supported on curl 8.0.1 (I install curl via scoop)
圖片

I not sure if this error should be upstream to plenary or not.

@jcdickinson
Copy link
Contributor

I can prevent it from using --compressed, and will look into that this weekend.

@CharlesChiuGit
Copy link
Author

tks!

@jcdickinson
Copy link
Contributor

Please let me know if this has been fixed with the latest commit.

@CharlesChiuGit
Copy link
Author

Thanks for the quick fix! Codeium server could now be installed on Windows now. Thanks!
圖片

@CharlesChiuGit
Copy link
Author

Hmmm, unfortunately it seems like sth else is still broken. Every time I re-open neovim, codeium.nvim keeps downloading the server as the above image.

Also when I tried to auth, it won't work. Here's the error log:
圖片

Error executing Lua callback: ...cal/nvim-data/site/lazy/plenary.nvim/lua/plenary/job.lua:106: uuidgen: Executable not found

stack traceback:
        ...cal/nvim-data/site/lazy/plenary.nvim/lua/plenary/job.lua:106: in function 'job'
        ...ocal/nvim-data/site/lazy/codeium.nvim/lua/codeium/io.lua:191: in function 'get_command_output'
        ...ocal/nvim-data/site/lazy/codeium.nvim/lua/codeium/io.lua:315: in function 'generate_uuid'
        ...cal/nvim-data/site/lazy/codeium.nvim/lua/codeium/api.lua:76: in function 'authenticate'
        ...al/nvim-data/site/lazy/codeium.nvim/lua/codeium/init.lua:20: in function <...al/nvim-data/site/lazy/codeium.nvim/lua/codeium/init.lua:17>
stack traceback:
        [C]: in function 'error'
        ...cal/nvim-data/site/lazy/plenary.nvim/lua/plenary/job.lua:106: in function 'job'
        ...ocal/nvim-data/site/lazy/codeium.nvim/lua/codeium/io.lua:191: in function 'get_command_output'
        ...ocal/nvim-data/site/lazy/codeium.nvim/lua/codeium/io.lua:315: in function 'generate_uuid'
        ...cal/nvim-data/site/lazy/codeium.nvim/lua/codeium/api.lua:76: in function 'authenticate'
        ...al/nvim-data/site/lazy/codeium.nvim/lua/codeium/init.lua:20: in function <...al/nvim-data/site/lazy/codeium.nvim/lua/codeium/init.lua:17>

@BogdanArvinte
Copy link

Hi,

I ran into the same issue and followed these instructions. Make sure the uuidgen executable is in the path, I had to manually add in the environment variables.

I can now use :Codeium Auth which tells me that the API key was saved. I can also confirm I'm seeing Codeium server being downloaded every time the plugin loads.

@pqn
Copy link
Collaborator

pqn commented Oct 5, 2023

I've updated the README to indicate uuidgen is necessary on Windows: #100

I'll close this for now, feel free to create another issue if something else blocks usage.

@pqn pqn closed this as completed Oct 5, 2023
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

4 participants