Skip to content

package_esp32_index.json not found #1684

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

Closed
stecgmbh opened this issue Jul 27, 2018 · 22 comments
Closed

package_esp32_index.json not found #1684

stecgmbh opened this issue Jul 27, 2018 · 22 comments

Comments

@stecgmbh
Copy link

stecgmbh commented Jul 27, 2018

I've tried to install esp32 using boards manager in arduino, but somehow could not find esp32 under boards after entering appropriate url (https://dl.espressif.com/dl/package_esp32_index.json as described here https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md). When I tried to call it in browser it gave me back 404 Not found error.

@ydsdsy
Copy link

ydsdsy commented Jul 27, 2018

Hi,
had the same problem, but i used the "package_esp32_dev_index.json" link and that worked for me..
still are RC's (RC4 at this moment!)
i was wondering if there will come some sort of Arduino Library Manager updater for the arduino-esp32 toolchain in the near future, now updating the toolchain and components is quiet some steps to follow in the correct order... i used Git for that, but i'm not sure it is updating to the latest version of the arduino-esp32 library...

@lbernstone
Copy link
Contributor

Please explain what you mean, @ydsdsy. The Arduino IDE boards manager will alert you when updates to the package are released. It checks the json file at IDE startup to see if it has changed. The package will contain all the necessary submodules. The dev packages will be released fairly frequently, while the stable package will be less frequent and (hopefully) be less buggy.
You should only need to use the git repo if you want to be a contributor or test a particular feature before it is released in a package.

@ydsdsy
Copy link

ydsdsy commented Jul 27, 2018

@lbernstone :
Do you mean that the toolchain will also be updated with this link in the arduino IDE??
(note : with toolchain, i mean al the header and project files that are needed to work with the ESP32 within the Arduino IDE)
my idea was that is was only for the boards using the ESP32, no?
If it really updates the toolchain and the boards also, that's a awesome thing you guys did for the community !!!
if I misunderstood the whole thing, i'm sorry for that...
Thanks,
Yves

@stickbreaker
Copy link
Contributor

@lbernstone Currently me-no-dev is creating a new(differently named) json file with every new release. Instead of just modifying the contents of the old file. The "new" file has entries for each of the RC's. I would change this to just have a "release-candidate" json and a "stable-release" json.

Chuck

@lbernstone
Copy link
Contributor

I think I need more coffee. My comprehension is low today.
@ydsdsy : The boards maanger will install everything the old instructions did. You will not need to install anything additional to use an ESP32. In fact, you should remove the old git repository from your hardware directory or else you will have double entries for the ESP32 boards.
@stickbreaker The json links are the critical piece in there. I'll see if I can figure out how to differentiate b/w the pre-release and full release once we have one of those 😄

@stickbreaker
Copy link
Contributor

I woud recommend two json's be created, the dev(pre-release) one at:
https://github.com/espressif/arduino-esp32/releases/download/package_esp32_dev_index.json
And, the stable release at:
https://github.com/espressif/arduino-esp32/releases/download/package_esp32_index.json

Push the stable release json out front and list the dev branch at github. That way most users would never find github unless they put some effort into it.

Just add another platform entry for new versions.

Chuck.

@ydsdsy
Copy link

ydsdsy commented Jul 27, 2018

@lbernstone
so i need to delete the complete [Users]Mydocs/Arduino/hardware directory then?
OK, will do that right now!

Thanks,

Yves

@lbernstone
Copy link
Contributor

Not hardware. The arduino-esp32 repository. Usually Arduino/hardware/espressif/esp32.
@stickbreaker : The json files will be hosted at dl.espressif.com. The appropriate file will be updated whenever a package is created. These will then point back to the actual package download on github. Users won't have to go to the releases page at all to install. Should I just remove the version stuff from this page entirely and relocate it to the main README.md?

@ydsdsy
Copy link

ydsdsy commented Jul 27, 2018

Worked for me!!
Thanks!!

@dataman
Copy link

dataman commented Jul 27, 2018 via email

@stickbreaker
Copy link
Contributor

@lbernstone i like the detail that me-no-dev has added to the release page on github, but, most users would not understand it. Putting that info in readme.md would cause their eyes too glaze over!! The only info in readme should be the 90% stuff, analogWrite() gpio6-11, gpio0, gpio5 gpi36-38, Wire() ReSTART handling differences. Wire.onRequest(),onReceive() the differences.

Chuck.

@lbernstone
Copy link
Contributor

lbernstone commented Jul 27, 2018

@stickbreaker Oh no. Not more detail, just the basic facts. Look at https://github.com/lbernstone/arduino-esp32/tree/pr1 and the boards_manager.md in that branch. I'm not involved in the releases page itself. You can comment on that at #1683.

@combs
Copy link

combs commented Jul 27, 2018

@lbernstone
Copy link
Contributor

lbernstone commented Jul 28, 2018

SPECIAL FOR THIS WEEK ONLY!
Use https://dl.espressif.com/dl/package_esp32_dev_index.json
There is no stable release yet.

@copercini
Copy link
Contributor

Released now =)

@ydsdsy
Copy link

ydsdsy commented Jul 28, 2018

Hi,
i get this strange warning/error : WARNING: Error loading hardware folder C:\Users\Beheerder\Documents\Arduino\hardware\espressif
No valid hardware definitions found in folder espressif.

yesterday i removed the "espressif\esp32" directory from "Users\Arduino\hardware" on a tip from lbernstone... at that moment i still used the "dev" link (that gave me the RC4)
today i went from RC4 to the stable release... no go, and the RC4 is a no go at this moment also...

what am i doing totaly wrong?
Grtz
Yves

@ajaynikam2410
Copy link

ajaynikam2410 commented Jan 14, 2019

error during downloading json file (esp32) in board manager occur plz help

@me-no-dev
Copy link
Member

this must be some temporary issue :) The file is there and has been downloaded 4500 times in the last 3 days

@alexsimps
Copy link

I had the same issue but reinstalled latest Arduino version and things are working fine now.

@hosquiat
Copy link

hosquiat commented Sep 26, 2019

You guys should really change the installation documentation you have for macOS. The link on this page does not work --- https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md

Link above worked great!

@me-no-dev
Copy link
Member

DO NOT USE OTHER LINKS! You will not get any updates if you do. Hold still a few more hours and all will be good again.

@Stefan300381
Copy link

Stefan300381 commented Sep 26, 2019

came here as I was not able to download the json file via documented link.

@me-no-dev I understand from your post above that this will be fixed soon. Any explanation why it's broken?

EDIT: Now the download worked again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests