-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Exceptionally long duration of "Downloading index: library_index.tar.bz2" process #2347
Comments
Incidentally, I had found somewhere someone had a log output with full URL to the file. I had tried that in a browser, file downloaded instantly. |
I found where arduino-cli is located: Even updated it to 0.34.2 but no improvement. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Went through the process of launching from PowerShell, the Downloading Index seems to take a long time doing these:
I get the same stalling with information similar to above when compiling. |
I am also having this issue. The only "fix" I have found is to open Arduino with the internet disconnected as per the instructions in this thread with a similar issue arduino/arduino-ide#1483 I also found a direct download URL of the bz2 file, which downloaded instantly, but am not sure what to do with it once downloaded I'm on Windows 10 and Arduino 2.2.1 |
I also have this issue on Arduino IDE 2.2.1 running on windows 10. The downloading Index bar freezes at roughly 60% and never finishes. I tried to reinstall and clean out all temp, hidden, library and other folders related to Arduino. It sometimes works for one start after the cleanup but as soon as I restart the application the problem returns. The only way to get the IDE to work is to start it without internet connection. |
I have the exact same problem, following to see if a fix is found. Anything I can do to help? |
Does this happen also with the CLI? |
having the same annoying issue on 2.3.2.....also with previous releases as written above. always looking for index files with no progress at all. |
Same thing. Really annoying tool Arduino IDE became worse and unstable these days. 1 of 10. 🤮 |
Could you please install the arduino-cli . And try to run |
Yeah, It's expected that is downloading two index files. Do you have some antivirus software running? |
@speed....the download of these two index files is finished within 1-2secs. so no delay at all. yes, Win11 and Bitdefender Security. |
Could you please try to temporarily disable the antivirus and update the indexes using the IDE GUI? |
I’ve disabled Windows Security and still downloading index for a very long time! What a bug did you test your program with Windows 11 with latest update? |
put files inside C:\Users\User\AppData\Local\Arduino15\ |
Please, everyone, help us track this issue and hunt down the cause. Downloading files to Arduino15 will of course work, because that's what the IDE and CLI do behind the scenes, but we'd love to be able to find this issue which we can't reproduce. If anyone assumes that's the solution we'll have an outstanding bug. |
Tip for developers of Arduino IDE: just don’t download these indexes never! 😆 |
I also encounter this issue. What are the steps necessary to solve this issue? |
Not sure if this helps. But I have rectified the issue using these entries in additional board manager. Since I have added these the error/hang has not taken place again. When the message pops up in lower right corner it stays for a max of like 3-4 mins then its gone. Everything updates as it should and no compiling/flashing issues. http://arduino.esp8266.com/stable/package_esp8266com_index.json |
Im on Windows and fixed this by trying several things.
Maybe this is a simple "Run as admin" solution? |
Describe the problem
I know a number of people have reported this problem for months but still it isn't solved.
When starting Arduino IDE 2.2.1, notification area shows "Downloading index: library_index.tar.bz2"
Progress bar stays at 50% for a really long time, like 1/2 hour.
I know it isn't an issue of accessing the Internet, as I am writing this connected to the Internet with Arduino stuck at that stage.
Even if I didn't have an Internet connection at the time, IDE should time out after maybe a minute and move on with its life.
While it is in this state, can't compile, as compile progress seems to wait for the index download to finish
Once I get past this, then successive launches of Arduino seems to be good either for the rest of the day or as long as I don't log out of Windows, haven't figured that part out yet.
To reproduce
Start Arduino IDE 2.2.1 for first time in a particular day
Expected behavior
Not get stuck for 10's of minutes with status "Downloading index: library_index.tar.bz2"
Arduino CLI version
How do I find Arduino-cli?
Operating system
Windows
Operating system version
Windows 11
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: