Comments (8)
Really appreciate the find, @marceldev89. So I guess this issue had actually two problems, the directory issue (not our code) and the unrecognized language issue (fixed). I think then the workaround people can use is pinning their plenary.nvim
to 62d1e2e5691865586187bd6aa890e43b85c00518
which is one commit before the broken one. This can be done by passing the commit
option in their lazy.nvim
config.
from codeium.nvim.
This is caused by a semi-recent update to plenary. I've submitted a fix for it here :) nvim-lua/plenary.nvim#546
from codeium.nvim.
Same issue here! Thanks for opening this.
from codeium.nvim.
Already reported here
from codeium.nvim.
As @gonviegas says, duplicate of #119 which is resolved in 1.4.22
from codeium.nvim.
@chenhuiapp I deleted your comment to hide your API key, reproducing it below:
I fetched the latest update and it fixed the problem but it is not stable. Sometimes I will still receive the same error. Should it still be a bug?
Here is the log
Error executing vim.schedule lua callback: .../.local/share/nvim/lazy/plenary.nvim/lua/plenary/log.lua:166: /Users/user/.cache/nvim/codeium: Is a directory
stack traceback:
[C]: in function 'assert'
.../.local/share/nvim/lazy/plenary.nvim/lua/plenary/log.lua:166: in function 'warn'
.../.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:275: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
[codeium] [WARN 14:39:13] /Users/user/.local/share/nvim/lazy/codeium.nvim/lua/codeium/api.lua:275: failed to cancel in-flight request {
[codeium] code = 0,
[codeium] out = '{"code":"unknown","message":"no session state for apiKey API_KEY, sessionId "}',
[codeium] response = {
[codeium] body = '{"code":"unknown","message":"no session state for apiKey API_KEY, sessionId "}',
[codeium] exit = 0,
[codeium] headers = { "Accept-Encoding: gzip", "Content-Type: application/json", "Vary: Origin", "Date: Tue, 28 Nov 2023 22:37:28 GMT", "Content-Length: 107", "", "
" },
[codeium] status = 500
[codeium] },
[codeium] status = 500
[codeium] }
from codeium.nvim.
@chenhuiapp this is just a warning, is there a way to hide this/is it interfering with the completions?
from codeium.nvim.
@pqn This warning isn't interfering with the completions. It will sometimes pop up and I can skip it. Not sure what caused it. And thank you for hiding my API key.
from codeium.nvim.
Related Issues (20)
- Is it just me or does it never suggest multiline completions? HOT 3
- Codeium: api key is incorrect HOT 2
- [feature] Open Codeium Chat in floating nvim window HOT 4
- validation error: - prompt_id: value must be a valid UUID [string.uuid]
- codeium.nvim makes NeoVim laggy and unresponsive HOT 4
- Codeium Competions Dont Show HOT 1
- neovim notice unavailable source names HOT 3
- Codium crashes on Neovim start HOT 1
- Reading comments is extremely broken
- [FR] Use nvim builtin LSP client by `--enable_lsp`
- chat in vim window?
- Code suggestion does not work HOT 2
- Error Load Chat
- .zshenv error? HOT 2
- Right arrow? HOT 4
- Server extract fails on Windows 11 Powershell because it tries to use gzip HOT 2
- debian + nvim + lazy + codeium = don't work visible suggestion HOT 4
- How to close this kind of error log
- Add "Enable" & "Disable" command.
- Error plenary.nvim HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeium.nvim.