https://arduino.esp8266.com/stable/package_esp8266com_index.json contains garbage at the start of the file, and Arduino IDE can't decode it anymore:
Dropping version 1.6.5-947-g39819f0
Dropping version 2.5.0-beta1
Dropping version 2.5.0-beta2
Dropping version 2.5.0-beta3
Dropping version 2.4.0-rc1
Dropping version 2.4.0-rc2
{
"packages": [
{
...
I second this - it breaks by builds.
http://arduino.esp8266.com/stable/package_esp8266com_index.json gives in Firefox:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Reference: https://github.com/probonopd/WirelessPrinting/pull/118#issuecomment-491498268
Will be fixed by #6070
A couple of minutes ago i lost the ESP8266 boards from the list.
Is this the result of the incorrect Json ?
Skipping contributed index file /Users/Me/Library/Arduino15/package_esp8266com_index.json, parsing error occured:
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'Dropping': was expecting ('true', 'false' or 'null')
at [Source: (FileInputStream); line: 1, column: 10]
We are fixing this as fast as we can. We are waiting for CI to approve the fix.
https://travis-ci.org/esp8266/Arduino/builds/531090576?utm_source=github_status&utm_medium=notification
Workarounds?
I also tried to copy the file without Garbage on my own web server, and got an error "Erreur durant le t茅l茅chargement de http://.../package_esp8266.com"
This seems to work
EDIT: deleted https://gist.githubusercontent.com/gnbl/...package_esp8266com_index.json
but upgrading to / installing the latest version gives an error.
So I'm currently installing 2.5.0. Seems to work.
Garbage is still in file - how long until the fix is propagated?
Still getting SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
It should be OK now
For me it isn't - have you tried?
https://arduino.esp8266.com/stable/package_esp8266com_index.json
For me it is neither. Still getting SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data in Firefox. Even after refreshing.
Right, it is still there. I pushed 2.5.1 tag that will regenerate the file.
We have to wait for another CI (https://travis-ci.org/esp8266/Arduino/builds/531102618)
Thank god i reached here, i have uninstalled my Arduino. I thought i messed with my libraries.
Travis build is done:
https://travis-ci.org/esp8266/Arduino/builds/531102618
But garbage is still in the file:
https://arduino.esp8266.com/stable/package_esp8266com_index.json
UPD: seems to be cached. The file is OK now
It is working again for me now :+1: thanks
Works ok. Thanks :)
It does not work for me :(
Error downloading https://github.com/esp8266/Arduino/releases/download/2.5.1/esp8266-2.5.1.zip
Same!
Fehler beim Herunterladen von https://github.com/esp8266/Arduino/releases/download/2.5.1/esp8266-2.5.1.zip
Version 2.5.0 is now working
@FrancescoTalotta It works now if you select version 2.5.0 - seems there is a problem with the release of 2.5.1 which is why you are getting that error. Hopefully 2.5.1 will be released again properly soon.
https://arduino.esp8266.com/stable/package_esp8266com_index.json still has some 404 errors, faulty URLs can be found by filtering with 'gb404fb9' term

Oops, sorry, @d-a-v, deleted your comment instead of mine.
There is no actual problem here. Those files are not referenced by the platforms at all. We could delete them, but someone using any of the Arduino toolchains (get.py, boards-manager) will never access that "tools" key.
I'll throw out a PR to clean them on the next release, but there is no rush...
Bug is closed, but the actual file won't be regenerated until the next release so you won't see any updates to the .json just yet.
Most helpful comment
This seems to work
EDIT: deleted
https://gist.githubusercontent.com/gnbl/...package_esp8266com_index.jsonbut upgrading to / installing the latest version gives an error.
So I'm currently installing 2.5.0. Seems to work.