flathub / cc.arduino.IDE2

https://flathub.org/apps/details/cc.arduino.IDE2
6 stars 4 forks source link

Uploading code fails: `No such file or directory: 'udisksctl'` #68

Closed SeongGino closed 6 months ago

SeongGino commented 10 months ago

Title. udisksctl is already installed on the host machine. Flatpak has been given permissions for reading all system libraries and files. Arch Linux.

SuperNinja-4965 commented 10 months ago

Would you be able to provide some more information? What board are you trying to upload code to?

SeongGino commented 9 months ago

I'm uploading primarily to RP2040 boards, using Earle Philhower's RP2040 core for Arduino IDE.

I know this should work on the host natively, as I'm using native Arduino IDE 1.8.x/2.2.1 from the repos/AUR and it has no such issue.

thesquaregroot commented 7 months ago

I'm experiencing the same issue, also attempting to use Earle Philhower's RP2040 core for Arduino IDE. I'm on Pop!_OS 22.04 LTS.

Edit: also confirmed that this works using the native 1.8.19 version for me as well.

SuperNinja-4965 commented 7 months ago

Apologies for the late response. Have you tried the following steps on the libraries installation guide? https://github.com/earlephilhower/arduino-pico#linux-specific-notes

thesquaregroot commented 7 months ago

At least for me, that did the trick!

Interestingly, I am still seeing one instance of this (previously there were 5 or 6):

Exception executing udisksctl. Exception: [Errno 2] No such file or directory: 'udisksctl'

But it doesn't seem to prevent it from uploading the code any longer. Thanks!

SuperNinja-4965 commented 6 months ago

I'm going to close this issue for now as the issue seems to be resolved even if the logs are showing an error from the library. If there are any more issues with this library I'd recommend reaching out to the library author and mentioning it to them as they appear to be supporting the flathub release. I'll add --system-talk-name=org.freedesktop.UDisks2 to the manifest as that allows the app to communicate with the systems UDisk2 install but its not something I can (or should) include with this package.