dustinblackman/oatmeal

Error interacting with clipboard, Display parsing error

fr-str opened this issue · 2 comments

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>

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

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