-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Update or install package hangs on processing state when Serial Monitor/Plotter is open #2562
Comments
Hi @webspiderteam. ExplanationThis is caused by a bug in the Arduino CLI tool that performs these actions for Arduino IDE under the hood. The bug has been reported there (arduino/arduino-cli#2719) and the Arduino CLI developers have already made a fix (arduino/arduino-cli#2728). The reason Arduino IDE users still encounter this problem even though the bug has been fixed in Arduino CLI is that Arduino IDE is still using the version of Arduino CLI with the bug: arduino-ide/arduino-ide-extension/package.json Lines 172 to 174 in 63e9dfd
The fix will be pulled into Arduino IDE once the developers bump the version of the Arduino CLI dependency to the one that has the bug fix. WorkaroundSerial MonitorThe fault will occur when you have the Serial Monitor* view open while performing certain actions in Arduino IDE. The workaround is to close the Serial Monitor view when you need to perform one of the actions that would otherwise hang due to the bug. You can do that by clicking the X icon on the "Serial Monitor" tab of the panel at the bottom of the Arduino IDE window: You can open the Serial Monitor view as needed once the problematic action is completed. Serial PlotterThe fault will also occur if you have the Serial Plotter open. As with Serial Monitor, the workaround is to close the Serial Plotter window before performing one of the actions that would otherwise hang due to the bug. If an operation hangs due to you having triggered it with Serial Plotter open, you can unhang the operation by performing the following procedure:
You can open the Serial Plotter as needed once the problematic action is completed. ConclusionEven though it is technically off topic for this repository, since this bug has been quite impactful I'll leave this issue open to document the issue for Arduino IDE users who might not see the bug report in the It will also serve to track the task of bumping the Arduino CLI dependency. |
Describe the problem
IDE stucks in processes even it finished. Also when IDE first started downloading index files does same thing. You can see at screenshot below.
I left IDE over night on this process and its still same.
This is also stucks there.
To reproduce
I think it happens when heavy codes opened. On startup stucks on downloading and on installing or updating stucks again in heavy codes. Indexing or background actions to scan codes or Intelli sense could cause this issue.
Expected behavior
IDE should not hang.
Arduino IDE version
Version: 2.3.3 Date: 2024-09-25T09:41:18.242Z CLI Version: 1.0.4 Copyright © 2024 Arduino SA
Operating system
Windows
Operating system version
Windows 10
Additional context
Additional reports
See arduino/arduino-cli#2719 (comment)
Issue checklist
The text was updated successfully, but these errors were encountered: