dustinblackman / oatmeal

Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
https://dustinblackman.com/posts/oatmeal/
MIT License
487 stars 23 forks source link

Error interacting with clipboard, Display parsing error #21

Closed fr-str closed 9 months ago

fr-str commented 9 months ago

i'm on windows connected to my other pc thru ssh on windows terminal, i tried running it in tmux and outside same result

i also tried building from source, didn't help

Question: does the host system need GUI for this to work?

$ RUST_BACKTRACE=1 ./oatmeal --editor neovim --backend ollama --model codellama:latest
Oh no! Oatmeal has failed with the following app version and error.

Version: 0.8.2
Commit: 4cd207a
Error: Unknown error while interacting with the clipboard: Display parsing error

   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
dustinblackman commented 9 months ago

Thanks for reporting! Yes at the moment the application verifies if clipboard write access is possible and fails otherwise. I should make it work without it though. I'll take a look :)

dustinblackman commented 9 months ago

This is fixed in v0.9.0 where you can now use oatmeal --editor none to disable the default editor integration (clipboard). Thanks!