-
-
Notifications
You must be signed in to change notification settings - Fork 431
IDE startup hangs due to folder-structure recursion in the sketch folder #381
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
Comments
Have experienced a similar issue on Surface Go laptops and some older Acer laptop, Windows 10 (student computers). Seems to hang on that splash screen |
For the record, the IDE opened fine for a couple of weeks and then all of a sudden started this freezing. Not sure what changed |
Did you do an upgrade? |
Nope no upgrade. Have always been on beta 2.0 v4
Occasionally restarting the entire computer seems to work
…On Tue, May 18, 2021 at 9:23 AM nielsnl68 ***@***.***> wrote:
Did you do an upgrade?
Which version did you use when it worked fine?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#381 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APW66ENQA4AN4N7PA4O5OL3TOJZ5PANCNFSM45CO5PAQ>
.
|
Could you please start the IDE from a |
Here is the output of the cmd line:
let of warning as i saw looking around. I hope it helps. |
Thank you! This is the problematic part from the logs:
The IDE cannot start because there is a folder-structure recursion under:
😕 Unfortunate. A recursion-related issue was fixed as part of I had the same issue previously on Windows, and there is a workaround. I had to wipe the corrupted folder structure manually. Unfortunately, I am not aware of any kind of solution other than deleting For me, it was tricky. Deleting the file recursion took forever on Windows. I tried with Explorer, Please make sure to make a backup before you perform some unrecoverable deletion rm -rf ~/Documents/Arduino/sketch_jan31a/rfid-reader/rfid-reader @per1234, do you happen to know any other less invasive solution than |
Owww, i should have read the whole message, then i would not have taken so much time to try the same options. I managed to move the folder away from the Arduino skatch folder, after that arduino-ide started up again.
Thanks for your help, sadly the |
@dev's could you share the code that created this issue. Maybe it can be used to resolve the issue as well. when it can create so many sub-folders maybe it can delete them as well. |
Please share the entire error/output so that we can figure out what's wrong. Thanks! |
noting much only a lot of |
Hi all. I apologize for being so slow to respond. I had this same problem and also had trouble removing the deep folder structure. I had resigned myself to having the folder as a permanent memento of my beta testing work then when I was providing support to someone on the forum who had the same problem it was mentioned that I just did some experiments and, after a few false starts when I was able to delete the folders normally without any problems, was finally able to reproduce the problem of the impossible to delete folder structure. I restarted my computer and sure enough I was then able to delete it. So please restart your computer and then try another attempt at |
This is the same behaviour as already mentioned in #351 (big directory structures with circular links exist in sketchbook directory). |
True, at the time of posting, i did not know what the issue was. Later someone pointed me to that same issue. Still waiting for a good solution from the Arduino-edi team, to fix this. |
Yes, it's nasty since I organize my documents and directories heavily with (criss-cross) softlinks. |
Since we have not received any additional reports from users who were affected by #211 in over a year, I think this issue has served its purpose of documenting remediation measures. So I will close this. We will track the need for the IDE to gracefully handle problematic sketchbook folder structures intentionally produced by the user in #351. |
Describe the problem
After starting i get the splashscreen and the window with a running wait icon.
nothing happens after this.
To reproduce
No errors are found in the console.
🐛 it crashes with a message behind the splashscreen.
Expected behavior
That it at least removed the splashscreen and gives an overview of the workwindow.
Arduino IDE version
Not stated
Operating system
Windows
Operating system version
10
Additional context
It seems to have been introduced by 2.0.0-beta.3 or 2.0.0-beta.4
I run the latest version of Arduino IDE 1.18.5 as well.
I like to help out on finding what is happening. when someone can politely ask the right questions i will do what i can to updated this bug report
Issue checklist
The text was updated successfully, but these errors were encountered: