Code Monkey home page Code Monkey logo

cuda_codeium's People

Contributors

veksha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cuda_codeium's Issues

I only "Got 0 items"

The Chat works, but "Get completions" doesn't get any item.
"Fibonacci" gets in PHP a list of numbers, works.
"create array with 5 strings" gets 0 items.
Tested on Windows 11 x64. Any Tip?

Can't start Codeium local server because of port issue

Hi.
Environment: Ubuntu (KDE Neon if it matters), arch amd64.
Cudatext version: latest - 1.194.0
Plugin version: both from Cudatext manager (which takes from sourceforge and I guess may be a bit outdated) and installation from git (like 30 mins before, so seems to be actual plugin version as well)

Logged in succesfully.
Faced error by failing to get any completions, but haven't faced any error messages.
Next try was with chat - with this I've got next message:

ERROR: GetChatMessage failed. Error: Failed to parse: http://127.0.0.1:None/exa.language_server_pb.LanguageServerService/GetChatMessage

Which seems like a trouble with gathering port.

I've checked init.py for plugin and added few prints to find_port function.
The result is next:
files = os.listdir(self.manager_dir) (Line 217) has empty list, while self.manager_dir contains path like /tmp/codeium_swscy6t7 and this folder is empty, so it seems to be the reason of None port mentioned in error message above.

This thing also causes infinite loop on my device (in all tries to use plugin), which leads to freezes with closing.
I haven't tried to fix it by hardcoding port, so wondering why is there such kind of choosing port ๐Ÿค”

crash on Chat using

Python 3.8.10
Loaded session: "history session.json", 0ms, 0 file(s)
Startup: 300ms, plugins: 0ms ()
Init: cuda_codeium
Init: cudatext
Traceback (most recent call last):
  File "/home/user/.config/cudatext/py/cuda_codeium/__init__.py", line 380, in Ask
    self.request_GetChatMessage(question)
  File "/home/user/.config/cudatext/py/cuda_codeium/__init__.py", line 393, in request_GetChatMessage
    from . import proto_pb2
  File "/home/user/.config/cudatext/py/cuda_codeium/proto_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/lib/python3/dist-packages/google/protobuf/internal/__init__.py)
ERROR: Exception in CudaText for Ask: ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/usr/lib/python3/dist-packages/google/protobuf/internal/__init__.py)
  • got new token
  • called the chat
  • entered 'what year is now?'

Ubuntu 20.04

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.