-
Notifications
You must be signed in to change notification settings - Fork 13
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
Faulty auto install #17
Comments
This error might mean that the package was unable to successfully set the language server binary as executable. O Can you try executing the file?
|
I don't know how it happens but somehow Emacs botches the language server file. The file exists but bash also claims that there is no such file when I tell it to execute the file. Permissions are set correctly. File downloaded by Emacs:
Manually downloaded language server file:
After replacing the language server file with the file I manually downloaded the problem went away. So what is causing this / which step is failing? It looks like the downloaded file is corrupt. I modified the codeium.el code to remove the decompression step: (defun codeium-install-process-url-res (state url url-buf filename)
(make-directory (file-name-directory filename) t)
(with-temp-file filename
(set-buffer-multibyte nil)
(url-insert-buffer-contents url-buf url))
(chmod filename #o744)
(kill-buffer url-buf)
(message "successfully installed codeium local language server")) Expected
Decompression with gzip works fine for this file. Actual
|
Is this fetched from the same version? (at the url of |
This has to do with |
Yes, the file is downloaded from https://github.com/Exafunction/codeium/releases/download/language-server-v1.1.38/language_server_linux_x64.gz and |
Is this a one-time issue where the download just got interrupted or does this happen every time? (For example if you deleted the language server binary and retried |
Try |
This is my config:
This somehow doesn't load codeium, I had to explicitly require it:
Afterwards I ran
M-x codeium-init
andM-x codeium-install
. I never was asked for an API key or was redirected to a URL.I don't get any completions anymore. Editing a file is incredibly slow, my input is delayed very noticeably.
This error gets printed into
*codeium-log*
several times per second:But the file exists:
Output of
codeium-diagnose
:Emacs Version:
Let me know if you need any other information.
The text was updated successfully, but these errors were encountered: