Description
Describe the problem
I have installed Arduino 2.0 around April 2023 on an Asus laptop (with Windows) and been using it on a regular basis. However, today I encountered a problem where the IDE stuck in the loading page, as shown in this figure below. Never done any modifications on the software itself. Tried to reinstall the program but the problem still occurs. Have looked through similar problems with this but no documented issue on version 2.1.0, as far as I am aware of.
To reproduce
I just clicked on the exe file and it happened. So I don't know what would be needed to reproduce it.
Expected behavior
Arduino IDE running normally (directly showing IDE after it loads)
Arduino IDE version
2.1.0
Operating system
Windows
Operating system version
11 ver 22H2
Additional context
I have included additional information that may help to identify the problem. Basically went to an endless loop of error codes.
Windows PowerShell.txt
2023-05-23T17:50:11.112Z daemon ERROR Error: spawn C:\WINDOWS\system32\cmd.exe ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:480:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Issue checklist
- I searched for previous reports in the issue trackerI verified the problem still occurs when using the latest nightly buildMy report contains all necessary details
Activity
dankeboy36 commentedon May 24, 2023
Please reference this Arduino forum thread to see if it fixes your issue: https://forum.arduino.cc/t/arduino-ide-v2-hangs-at-start-up/1030052/7.
theopenhighway commentedon May 30, 2023
sorry for the late update. still stuck in the loading page. however, error code doesn't appear.
kittaakos commentedon Jun 2, 2023
@theopenhighway, could you share the log files with us? You find the log files on Windows under
C:\Users\<username>\AppData\Roaming\Arduino IDE\
where<username>
is your Windows username. Please start the app; it does not load. Quit the app, go to the log folder, and attach the most recent log file to this GitHub issue. Thank you!theopenhighway commentedon Jun 8, 2023
here you go. compressed it since the file is too big.
2023-05-30_log.zip
theopenhighway commentedon Jun 8, 2023
anyway, i did uninstall and reinstall the software today. still show the same error code as the error code in the original post
2023-06-08_log.log
kittaakos commentedon Jun 8, 2023
Please check what does the following prints:
cmd
and press Enter (a terminal opens), andecho %ComSpec%
and press Enter.[-]Arduino 2.1.0 fails to open, stuck in loading page[/-][+]Arduino 2.1.0 fails to open: `spawn C:\WINDOWS\system32\cmd.exe ENOENT`[/+][-]Arduino 2.1.0 fails to open: `spawn C:\WINDOWS\system32\cmd.exe ENOENT`[/-][+]IDE fails to open: `spawn C:\WINDOWS\system32\cmd.exe ENOENT`[/+]theopenhighway commentedon Jun 10, 2023
bobqianic commentedon Jul 21, 2023
I've just run into the same issue on Windows 11. When I click on the IDE icon, I get the loading animation. But interestingly, the CPU usage remains quite low, and I've noticed that there are roughly 10 instances of the IDE executable running simultaneously.
I've tested all the IDE2 versions and they all seem to be experiencing the exact same issue. However, IDE1 works without a hitch on my computer.
@theopenhighway
4 remaining items