Giter VIP home page Giter VIP logo

Comments (8)

pqn avatar pqn commented on August 16, 2024 4

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.

marceldev89 avatar marceldev89 commented on August 16, 2024 1

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.

serranomorante avatar serranomorante commented on August 16, 2024

Same issue here! Thanks for opening this.

from codeium.nvim.

gonviegas avatar gonviegas commented on August 16, 2024

Already reported here

from codeium.nvim.

pqn avatar pqn commented on August 16, 2024

As @gonviegas says, duplicate of #119 which is resolved in 1.4.22

from codeium.nvim.

pqn avatar pqn commented on August 16, 2024

@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.

pqn avatar pqn commented on August 16, 2024

@chenhuiapp this is just a warning, is there a way to hide this/is it interfering with the completions?

from codeium.nvim.

chenhuiapp avatar chenhuiapp commented on August 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.