Error communicating with the language server: Error: write EPIPE: undefined

Hello,
I get this error when I open a file in my arduino ide and arduino is connected. It appears when I open an example file
That is weird as it happens only when my sketchbook is outside of my home directory.

I am using Arch Linux and the board is Arduino UNO with experimental shield on top of it.

Which exact version of the IDE are you using?