-
-
Notifications
You must be signed in to change notification settings - Fork 469
Open
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
Arduino IDE periodically checks if newer versions of any of the installed libraries are available via Library Manager. If so, it displays an "Updates are available for some of your libraries" notification.
If the user clicks the "UPDATE ALL" button, all updatable libraries are updated.
π The multiple libraries update sometimes hangs forever without completing.
To reproduce
- Use Library Manager to install outdated versions of multiple libraries.
- Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
A menu will appear on the editor toolbar:
- Select the "Arduino: Check for Arduino Updates" command from the menu.
The "Updates are available for some of your libraries" notification will appear. - Click the "UPDATE ALL" button in the notification.
Arduino IDE will now start to install updates of each of the outdated libraries, as indicated by a notification and messages in the "Output" view, e.g.,:Downloading Adafruit [email protected] Adafruit [email protected] Installing Adafruit [email protected] Replacing Adafruit [email protected] with Adafruit [email protected] Installed Adafruit [email protected] Downloading Adafruit [email protected] Adafruit [email protected] Installing Adafruit [email protected] Replacing Adafruit [email protected] with Adafruit [email protected] Installed Adafruit [email protected] Downloading Adafruit [email protected] Adafruit [email protected] Installing Adafruit [email protected] Replacing Adafruit [email protected] with Adafruit [email protected] Installed Adafruit [email protected] Downloading Adafruit [email protected] Adafruit [email protected] Installing Adafruit [email protected] Replacing Adafruit [email protected] with Adafruit [email protected] Installed Adafruit [email protected]
π The update progress notification may stop showing any progress at some point, remaining forever in the state where it indicates updates are still in progress.
Expected behavior
IDE Hangs on large lib
Arduino IDE version
IDE 2.3.6
Operating system
macOS
Operating system version
Mac OS 13.7.6

Additional context
I am not able to reproduce the fault using Arduino CLI.
Additional reports
- https://forum.arduino.cc/t/ide-library-update-in-the-same-time/1333205
- https://forum.arduino.cc/t/how-many-libraries-is-too-many-libraries/1336668
- https://forum.arduino.cc/t/ide-2-3-4-show-library-installed-processing-but-never-finish/1343104/1
- https://forum.arduino.cc/t/ide-2-3-4-show-library-installed-processing-but-never-finish/1343104/8
- https://forum.arduino.cc/t/arduino-ide-2-3-6-is-now-available/1371936/17
Workaround
Update each library individually, in sequence:
- When you see the "Updates are available for some of your libraries" notification, click the "INSTALL MANUALLY" button instead of the "UPDATE ALL" button.
Library Manager will open, with a list of the updatable libraries. - Click the "UPDATE" button on the first of the entries in Library Manager for a library you wish to update.
- Wait for the update to finish, as indicated by the appearance of a "Successfully installed library ..." notification.
- Repeat steps (2)-(3) until you have updated all the libraries you wish to update.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
topic: codeRelated to content of the project itselfRelated to content of the project itselftype: imperfectionPerceived defect in any part of projectPerceived defect in any part of project