-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Implementation error. Neither 'download' nor 'task' is available #906
Comments
@vielfarbig |
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:
FYI I deleted the following dirs (so it's like a clean install):
|
It still happens with 905b780. Steps to reproduce:
Click to see full console output
|
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 [
[
{
"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
}
},
{}
]
] click for an unordered example
URLs:
Note that [
{
"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"
}
] |
Closes arduino#637 Closes arduino#906 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
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:
The text was updated successfully, but these errors were encountered: