Closed vielfarbig closed 2 years ago
@vielfarbig can you try and download the latest Nightly Build and see if you still run into this issue? I have not been able to replicate on my system
I can still reproduce it with the latest build (2.0.0-rc5-snapshot-4de7737) on both my Windows 10 and Linux machines.
It is not specific to the ESP8266 boards platform, Additional Boards Manager URLs, or even Boards Manager. It also happens when I install platforms from the primary package index as well as when I install libraries via Library Manager.
@ubidefeo try starting the IDE from the command line, install a few random libraries from Library Manager, then check the output in the terminal.
Even if it doesn't indicate a serious problem (I have no idea whether it does or not), I would really like to see the output cleaned up. An accumulation of errors and warnings desensitizes us to new ones that could indicate a serious problem, and they also frequently serve as "red herrings" for users experiencing some unrelated problem.
I can also reproduce with the following nightly build:
Version: 2.0.0-rc5-nightly-20220325
Date: 2022-03-25T03:06:41.670Z
CLI Version: 0.21.0 [10107d24]
Copyright © 2022 Arduino SA
FYI I deleted the following dirs (so it's like a clean install):
/home/$USER/.arduino*
/home/$USER/Arduino
/tmp
It still happens with 905b780.
Steps to reproduce:
arduino:avr
package will be downloaded automatically.Here are the responses the IDE2 receives when installing/uninstalling a lib/core or updating the indexes. This example is from the index update, but the received messages clearly show the CLI sends a message where neither task
nor download
is defined.
[
[
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/packages/package_index.tar.bz2",
"file": "Downloading index: package_index.tar.bz2",
"totalSize": 41738,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 41738,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{
"downloadProgress": {
"url": "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json",
"file": "Downloading index: package_esp32_index.json",
"totalSize": -1,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 70385,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{}
],
[
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/libraries/library_index.json.gz",
"file": "Downloading index: library_index.json.gz",
"totalSize": -1,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 1802240,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 2477323,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/libraries/library_index.json.sig",
"file": "Downloading index signature: library_index.json.sig",
"totalSize": 543,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 543,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{}
],
[
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/packages/package_index.tar.bz2",
"file": "Downloading index: package_index.tar.bz2",
"totalSize": 41738,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 41738,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{
"downloadProgress": {
"url": "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json",
"file": "Downloading index: package_esp32_index.json",
"totalSize": -1,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 70385,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/libraries/library_index.json.gz",
"file": "Downloading index: library_index.json.gz",
"totalSize": -1,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 1743027,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 2477323,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{
"downloadProgress": {
"url": "https://downloads.arduino.cc/libraries/library_index.json.sig",
"file": "Downloading index signature: library_index.json.sig",
"totalSize": 543,
"downloaded": 0,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 543,
"completed": false
}
},
{
"downloadProgress": {
"url": "",
"file": "",
"totalSize": 0,
"downloaded": 0,
"completed": true
}
},
{}
]
]
URLs: ``` http://digistump.com/package_digistump_index.json,http://www.leonardomiliani.com/repository/package_leonardomiliani.com_index.json,https://ambasat.com/boards/package_ambasat-1.com_index.json,https://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json,https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json,https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json,https://rabidprototypes.com/arduino/package_rabidprototypes_index.json,https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json,https://resource.heltec.cn/download/package_CubeCell_index.json,https://resource.heltec.cn/download/package_heltec_esp32_index.json,https://resource.heltec.cn/download/package_heltec_esp8266_index.json ``` Note that `$subtaskId` is added by the IDE2 when running multiple tasks in parallel. It's not part of the gRPC API. ```json [ { "downloadProgress": { "url": "https://downloads.arduino.cc/packages/package_index.tar.bz2", "file": "Downloading index: package_index.tar.bz2", "totalSize": 41738, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 41738, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://downloads.arduino.cc/libraries/library_index.json.gz", "file": "Downloading index: library_index.json.gz", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 1572864, "completed": false }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 2478617, "completed": false }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "https://downloads.arduino.cc/libraries/library_index.json.sig", "file": "Downloading index signature: library_index.json.sig", "totalSize": 543, "downloaded": 0, "completed": false }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 543, "completed": false }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "$subtaskId": "c52d9275-2651-4b63-a904-753754a5af73" }, { "downloadProgress": { "url": "http://digistump.com/package_digistump_index.json", "file": "Downloading index: package_digistump_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 28225, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "http://www.leonardomiliani.com/repository/package_leonardomiliani.com_index.json", "file": "Downloading index: package_leonardomiliani.com_index.json", "totalSize": 21800, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 21800, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://ambasat.com/boards/package_ambasat-1.com_index.json", "file": "Downloading index: package_ambasat-1.com_index.json", "totalSize": 971, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 971, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://arduino.esp8266.com/stable/package_esp8266com_index.json", "file": "Downloading index: package_esp8266com_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 159588, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://dl.espressif.com/dl/package_esp32_index.json", "file": "Downloading index: package_esp32_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 24504, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json", "file": "Downloading index: package_seeeduino_boards_index.json", "totalSize": 166369, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 121368, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 166369, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://mcudude.github.io/MightyCore/package_MCUdude_MightyCore_index.json", "file": "Downloading index: package_MCUdude_MightyCore_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 22936, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://rabidprototypes.com/arduino/package_rabidprototypes_index.json", "file": "Downloading index: package_rabidprototypes_index.json", "totalSize": 2903, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 2903, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json", "file": "Downloading index: package_lauszus_sanguino_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 3997, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json", "file": "Downloading index: package_esp32_index.json", "totalSize": -1, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 70385, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://resource.heltec.cn/download/package_CubeCell_index.json", "file": "Downloading index: package_CubeCell_index.json", "totalSize": 18995, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 12006, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 18995, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://resource.heltec.cn/download/package_heltec_esp32_index.json", "file": "Downloading index: package_heltec_esp32_index.json", "totalSize": 16602, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 10728, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 16602, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "https://resource.heltec.cn/download/package_heltec_esp8266_index.json", "file": "Downloading index: package_heltec_esp8266_index.json", "totalSize": 58923, "downloaded": 0, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 37328, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 58923, "completed": false }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "downloadProgress": { "url": "", "file": "", "totalSize": 0, "downloaded": 0, "completed": true }, "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" }, { "$subtaskId": "1c73a05f-1a52-4374-abf4-6399314a04cf" } ] ```
Describe the bug In console there is printed the following uncaught exception. I didn't notice yet that something else is broken by that.
To Reproduce Steps to reproduce the behavior:
arduino-ide_2.0.0-rc5_Linux_64bit.AppImage
in terminalhttp://arduino.esp8266.com/stable/package_esp8266com_index.json
> OKError message The error message that occured is: