pjrc October 5, 2024, 1:22am 21 In Library Manager, for "1.3.4 Installed" (or whatever version you installed) just below the library name and author. It should appear in the Arduino teal/green color, as a clickable link/
Hover your mouse over that "1.3.4 Installed" and it will change to a clickable REMOVE button.
xfpd October 5, 2024, 1:43am 22 The point was; if all showed "install" that meant no libraries were installed.
Hi @georghelmut . It was found that Arduino IDE 2.3.3 has a bug that causes index downloads and installation/updates of boards platforms libraries to hang when Serial Monitor is open.
If you encounter these problems again, the workaround is to close the Serial Monitor view until the process is finished. After that, you can open Serial Monitor again.
The Serial Monitor view is a tab in the bottom panel of the Arduino IDE window, so you might not even notice when you have it open. You can close it by clicking the X icon on the tab:
The Arduino developers are tracking the bug here:
opened 08:01AM - 06 Oct 24 UTC
topic: code type: imperfection topic: gRPC
### Describe the problem A client might make additional [`cc.arduino.cli.comm… ands.v1.ArduinoCoreService.Init`](https://arduino.github.io/arduino-cli/dev/rpc/commands/#initrequest) requests. For example, Arduino IDE periodically (and on demand) performs the following sequence: 1. [Update package and/or library index](https://github.com/arduino/arduino-ide/blob/77136687d374dce1660191059427f1941f4cef16/arduino-ide-extension/src/node/core-client-provider.ts#L280-L285) 1. [Initialize gRPC client instance](https://github.com/arduino/arduino-ide/blob/77136687d374dce1660191059427f1941f4cef16/arduino-ide-extension/src/node/core-client-provider.ts#L297) 🐛 If there is a running [`cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor`](https://arduino.github.io/arduino-cli/dev/rpc/commands/#ccarduinoclicommandsv1monitorproto) process, the `Init` request hangs. ### To reproduce #### Equipment - Any board or other device that will produce a serial port on your computer. #### Demo 1. Open a terminal. 1. Start the Arduino CLI gRPC daemon: ```text $ arduino-cli version arduino-cli Version: git-snapshot Commit: 863c1ec36 Date: 2024-10-06T06:54:36Z $ arduino-cli daemon Daemon is now listening on 127.0.0.1:50051 {"IP":"127.0.0.1","Port":"50051"} ``` 1. Open another terminal. 1. Run the following [`grpcurl`](https://github.com/fullstorydev/grpcurl) command in the new terminal to create a gRPC client instance: ```text $ grpcurl \ -plaintext \ -import-path ./rpc \ -proto cc/arduino/cli/commands/v1/commands.proto \ 127.0.0.1:50051 \ cc.arduino.cli.commands.v1.ArduinoCoreService.Create { "instance": { "id": 1 } } ``` 1. Run the following command to initialize the instance: ```text $ grpcurl \ -plaintext \ -import-path ./rpc \ -proto cc/arduino/cli/commands/v1/commands.proto \ -d '{"instance": {"id": 1}}' \ 127.0.0.1:50051 \ cc.arduino.cli.commands.v1.ArduinoCoreService.Init ``` 1. Run the following command to start a Monitor request: ```text $ grpcurl \ -plaintext \ -import-path ./rpc \ -proto cc/arduino/cli/commands/v1/commands.proto \ -d @ \ 127.0.0.1:50051 \ cc.arduino.cli.commands.v1.ArduinoCoreService.Monitor ``` 1. Send the request data to open the available serial port: ❗ Adjust the value of `open_request.port.address` as is appropriate for the port on your computer. ```json { "open_request": { "instance": { "id": 1 }, "port": { "address": "COM42", "protocol": "serial" } } } ``` 1. Open another terminal. 1. Run the following command in the new terminal to reinitialize the gRPC client instance: ```text $ grpcurl \ -plaintext \ -import-path ./rpc \ -proto cc/arduino/cli/commands/v1/commands.proto \ -d '{"instance": {"id": 1}}' \ 127.0.0.1:50051 \ cc.arduino.cli.commands.v1.ArduinoCoreService.Init ``` 🐛 The reinitialization hangs. ### Expected behavior `cc.arduino.cli.commands.v1.ArduinoCoreService.Init` does not hang under any conditions. ### Arduino CLI version 863c1ec365af2cf90ee41f6fcadfa675e5d61704 ### Operating system - Linux - macOS - Windows ### Operating system version - Ubuntu 24.04 - macOS Sonoma - Windows 11 ### Additional context I bisected the regression to bb815cfe050d31ea827b7db3814bd24cf88049ee / https://github.com/arduino/arduino-cli/pull/2565 (the fault does not occur when using the build from the previous commit 917dcc5df6c206f6d1c6e93ec745fd931937cf3d). --- Originally reported at https://github.com/arduino/arduino-cli/issues/2347#issuecomment-2378683212 (note the original issue report https://github.com/arduino/arduino-cli/issues/2347 was from long before the time of the regression, so is different from the Monitor-specific issue tracked here even if the symptoms are somewhat similar). ### Issue checklist - [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-cli/issues?q=) - [X] I verified the problem still occurs when using the [nightly build](https://arduino.github.io/arduino-cli/dev/installation/#nightly-builds) - [X] My report contains all necessary details
If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:
Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.
1 Like
Thank you so much. This solved the problem. Once we know, we can live with this glitch.
1 Like
I got the loading a few times now and closing the serial monitor solved the error. So the workaround works.
1 Like
I just wanted to chime in on this.
I have the same issue but with the a different library. I wen to my preferences and copied the link to a GIThub for one of my additional boards (rp2040) - surprise surprise: 404!
As such, my program won't compile cos of a 404!
This is a silly bug that needs addressing in the next release of the IDE: If(Get_URL() = 404 ){skip;}
In order to make all relevant information available to any who are interested in this subject, I'll share a link to the formal bug report submitted by @blindedpanic84 :
opened 09:43AM - 22 Nov 24 UTC
topic: code status: waiting for information type: imperfection
### Describe the problem If the URL (or any path of the URL) in preferences men… u for additional boards returns a 404 causes the IDE to not compile. This is indicated by a notification of downloading the package that does not progress. ### To reproduce 1. open a sketch. 2. Enter a broken URL into the additional board managers URL in the preferences: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json (was broken when I tried this). 3. attempts to download package. 4. try to compile IDE will not compile, it will just sit there with the notification that it is compiling, but never completes. ### Expected behavior Index download process completes even when an index URL returns an error HTTP response status code. Compilation does not hang even if irrelevant index download fails. ### Arduino IDE version 2.3.3 ### Operating system Windows ### Operating system version Windows 11 ### Additional context _No response_ ### Issue checklist - [x] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=) - [x] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds) - [x] My report contains all necessary details
I performed an investigation and reported my conclusions there:
opened 09:43AM - 22 Nov 24 UTC
topic: code status: waiting for information type: imperfection
### Describe the problem If the URL (or any path of the URL) in preferences men… u for additional boards returns a 404 causes the IDE to not compile. This is indicated by a notification of downloading the package that does not progress. ### To reproduce 1. open a sketch. 2. Enter a broken URL into the additional board managers URL in the preferences: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json (was broken when I tried this). 3. attempts to download package. 4. try to compile IDE will not compile, it will just sit there with the notification that it is compiling, but never completes. ### Expected behavior Index download process completes even when an index URL returns an error HTTP response status code. Compilation does not hang even if irrelevant index download fails. ### Arduino IDE version 2.3.3 ### Operating system Windows ### Operating system version Windows 11 ### Additional context _No response_ ### Issue checklist - [x] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=) - [x] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds) - [x] My report contains all necessary details
@blindedpanic84 please try the nightly build of Arduino IDE and then let us know whether the problem still occurs.
system Closed May 29, 2025, 8:31am 29 This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.