-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
"Built-in" examples fail to open #1586
Comments
Worth mentioning that the error is reproducible inside and outside of flatpak. |
I am facing this is issue as well with latest version of IDE 2.0 available on Arduino website (appimage). |
@per1234 you changed my report to add the line:
but this is incorrect. ALL of my testing was done with the zip package. I never tested with the appimage |
Thanks for the correction. For me, opening the "built-in" examples works perfectly when using the ZIP package. However, when using the AppImage package I am able to reproduce the bug. I am using Ubuntu 20.04 I would suggest that anyone experiencing this bug who is using the AppImage package try the ZIP package as a workaround. Evidently that is not guaranteed to fix it, but it works for me at least. |
AppImage:
Unpacked:
|
The original (`fs-extra`-based) implementation did not check if the file is writable either. Resources are not writable in mounted AppImages. Closes #1586 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@joshuag1000, could you please tell us the exact command you executed to start the app zip package? How did you unarchive the ZIP? We found and fixed the problem in #1621, but we could not reproduce the defect with the ZIP version. It only happened with the app image. Thank you! |
I'm not at my computer right now but I was running the app in a read only environment (the same way the app image does it) so they are probably related by that. I will double check though |
Hi all, i'm a complete newbie to Arduino and the IDE, and have just bought the starter kit today, i'm excited about this! I had the same problem (loading example files) when using the AppImage, but not when running from the extracted .zip file Just wanted to let you people know. Hope this helps I am running Ubuntu 22.04 |
I just wanted to add my testing. On popOS 22.04.
Legacy app version from the app store also work as expected, for what that's worth. |
@kittaakos after retesting this is also what i get. I might have gotten confused with my testing last time. sorry for the confusion |
The original (`fs-extra`-based) implementation did not check if the file is writable either. Resources are not writable in mounted AppImages. Closes #1586 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Sorry, I'm pretty knew to Linux and Arduino. I'm getting the same error, even with the zip. I used the guide at https://docs.arduino.cc/software/ide-v1/tutorials/Linux#extract-the-package , but there is no install.sh in the unzipped directory. When I run ./arduino-ide the built-in examples won't load. Am I missing a step? I unzipped the package to my home folder using 'unzip arduino-ide_2......' I can open examples from the Aruino Uno but not the built-in examples. Using Fedora 36 btw |
Thanks for your report @Rayl11. Please try it again using the nightly build of Arduino IDE and then let us know whether the problem still occurs. The bug fix is in the nightly, so we would expect you can open the examples when using the nightly. The download links for the nightly build are listed here: https://www.arduino.cc/en/software#nightly-builds
Those are the instructions for Arduino IDE 1.x. You can find the instructions for Arduino IDE 2.x here: https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing |
Never apologize for being new. I just tested 2.0.1 (not nightly) in a Fedora 36 VM and, once the .zip is expanded, and it ran without issue, including examples. Are you in the unzipped folder when running the |
@per1234 Wow! Didn't expect such a quick response. When I had commented I had given up for the night. Using the nightly build fixed it! Thanks! @M15071060 I was inside the unzipped folder, but still no dice. I don't think that would be too obvious to suggest for someone who is new. Thanks for the help :) |
Describe the problem
The Arduino IDE installation includes a collection of "built-in" example sketches that demonstrate fundamental sketch concepts. These are accessed via the "01.Basics" section of the File -> Examples menu.
These "built-in" example sketches fail to open.
The following is shown in the log:
I have verified that they do exist.
I have also reset the IDE (and all related folders) to see if that fixes it, it doesn't.
To reproduce
🐛 Nothing at all happens. The "Blink" sketch does not open. No error message is shown in the IDE UI.
Expected behavior
New window should open with example.
Arduino IDE version
2.0.1
Operating system
Linux
Operating system version
Additional context
The bug does not occur when opening library example sketches or normal sketches.
Issue checklist
The text was updated successfully, but these errors were encountered: