GithubHelp home page GithubHelp logo

Comments (4)

dpayne avatar dpayne commented on July 30, 2024

Do you have the snap version of curl installed?

from codegpt.nvim.

FvD avatar FvD commented on July 30, 2024

Thank you for your reply. I checked (using snap list and flatpak list), and I can confirm that is was not installed through one of those but through my package manager (zypper - i'm on OpenSuse Tumbleweed). Also: which curl shows /usr/bin/curl.

Saving something directly with curl works.

 ❯ curl example.com -o example.txt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1256  100  1256    0     0  10939      0 --:--:-- --:--:-- --:--:-- 11017

I checked further to make sure that it has nothing to do with using the nvim app.image - but aparently not - the error persists when I install neovim with the OS package manager. And i tried some increasing the timeout in .curlr and piping curl output to a file - the output is written there, but does not include openai output. As soon as I can I'll try on a VM with a different OS to see if this is specific to OpenSuse.

This is the error in curl CURLOPT_WRITEFUNCTION. But i still have not been able to figure out where codgpt.nvim is trying to write to.

from codegpt.nvim.

dpayne avatar dpayne commented on July 30, 2024

Unfortunately I have not been able to reproduce it.

from codegpt.nvim.

FvD avatar FvD commented on July 30, 2024

Thank you for trying to reproduce @dpayne. I tested it on an Ubuntu 24 LTS (curl 8.5.0) and it worked without issue. On a clean openSUSE Tumbleweed VM(curl 8.7.1) it gave the same error message. So maybe it is a curl issue.

I tried to downgrade curl on openSUSE, but there are just too many dependencies to make that feasible. Likewise I have not yet increased the curl version on Ubuntu to see if the error can be reproduced that way.

Maybe someone will answer on the openSUSE Forum (https://forums.opensuse.org/t/curl-8-7-1-not-working-in-neovim/175443)

from codegpt.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.