SpenceKonde / megaTinyCore

Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available!
Other
544 stars 141 forks source link

Arduino IDE 2.2.1 Board Manager Fails to Add #1005

Closed JasXSL closed 9 months ago

JasXSL commented 9 months ago

Installing via the board manager URL in IDE 2.2.1 causes the following error:

2023-09-22T22:37:18.467Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file c:\Users\<user>\AppData\Local\Arduino15\package_drazzy.com_index.json: open c:\Users\<user>\AppData\Local\Arduino15\package_drazzy.com_index.json: The system cannot find the file specified.

A file called package_drazzy.json is created in Arduino15 instead. Manually renaming it to package_drazzy.com_index.json makes it show up.

SpenceKonde commented 9 months ago

This sounds like a regression in the Arduino IDE. The file is named in the format they suggested, and works in earlier versions. It's also impacting the CI because the CI uses the latest CLI version, which is where the bug appears to be.