Downloading index: package_teensy_json

Why am I seeing this message every time I start the IDE (v 2.3.2)? I would think that whatever package it needs it wouldn't download it again and again every time ? It's not bothering me too much, I'm just wondering...

image

Hi @gilbert54. It is not the package it is downloading, but the package index. This is a data file that contains the information about the releases of the "Teensy" boards platform. The file is about 20 kB.

Arduino IDE periodically downloads the package index files in order to check if a newer release of the platforms you have are available. If so, it will notify you of the available update.

If you are curious, you can click this link to see the contents of the file:

https://www.pjrc.com/teensy/package_teensy_index.json

Thanks for the clarification. I was just a bit concerned that there was an issue with the downloaded file because it does this every single time when I start the IDE.
Maybe it would be better to download those indexfiles silently w/o notification? After all, it doesn't make any changes to the IDE and doesn't require input from the user. IMHO it is "information overload" :wink:

@ptillisch I know that I have mentioned it before, but I am pretty sure the long time I see the message:

Most of the time I see this message is not necessarily due to the download of the Teensy file, but is instead showing this (the last file downloaded), while it digests all of the files that were downloaded and computing which libraries and boards were updated.

Wish the message would be updated as soon as the last index file was downloaded to something like: Comparing index files
or: computing which boards and/or libraries which have changed
or ...

Thanks

FYI, the Arduino IDE uses the verbatim "Downloading index" message (or one of its translations) from the Arduino CLI. Hence, the IDE cannot do anything to change the current behavior. See the CLI's InitResponse.Progress type and its usage for more details.

1 Like

What happens when the host is not connected to internet?

But no one is saying, the Teensy Project C file I am writing will NOT compile until that message goes away and so far this morning, the message has been on the screen for 20 minutes.

The solution that seems to have worked for everybody is, for now, to close the serial monitor (in all IDE windows that you have open). This has been mentioned in a number of topics.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.