-
Notifications
You must be signed in to change notification settings - Fork 418
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
curl: (23) Failed writing received data to disk/application #315
Comments
+1 |
what curl version are you using? there was an issue about curl 8.7 or sth similar afaik. |
I had seen that, I just tried updating to Note I used to use my own simple llm plugin and use curl just fine in a very similar manner to this plugin, so I know with reasonable confidence it's not curl (version), unless there's specific piping going on that is obfuscated. Will dig further. |
I am using curl 8.7.1 but in my case if I start nvim with sudo it works fine so I suspect it is a permissions issue. Is the history the only thing being written to disk? I can see the folder being created but no files written when running |
I'm also seeing this issue. I'm using openai and have confirmed curling requests outside of neovim & avante work as expected. I tried updating curl as well and am still seeing the issue. |
Seems related nvim-lua/plenary.nvim#536 |
@dbarrosop from what I gather the command fails before even getting to the history save, so I don't think that's it. Permissions on the It's the |
Ok, I think I figured it out. So the issue is that the curl method is using $XDG_RUNTIME_DIR, which in my case was set to |
@dbarrosop yeah it seems plenary on MacOs, or some set of config, causes it to look there instead of the default export XDG_RUNTIME_DIR="/tmp/" Which you can set in your This is most likely a plenary issue. |
I ended up setting it to In any case, maybe this can be closed. Thanks a lot for the help and the plugin. |
This worked for me as well. |
I wil reference this into the wiki. will close it as it doesn't seem like it is related to the plugin. |
Hello,
I am trying this plugin which looks very promising but after setting it up I am getting the following error:
Looks like curl is trying to write something to disk and doesn't have permissions. I tried changing the setting
history.storage_path
but same issue. Do you know what this plugin is trying to write to disk, where and how to change it?In case it helps I am running this on MacOS and I installed neovim using
nix
and looks like using sudo works (which confirms it is a permission issue I guess).Thanks!
The text was updated successfully, but these errors were encountered: