SpenceKonde / ATTinyCore

Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Other
1.53k stars 301 forks source link

arduino-cli: installation error #816

Closed pstolarz closed 8 months ago

pstolarz commented 8 months ago

Trying to install the core from arduino-cli causes error as follows:

root@f15b4e6e2442:/# arduino-cli config add board_manager.additional_urls http://drazzy.com/package_drazzy.com_index.json
root@f15b4e6e2442:/# arduino-cli update
Downloading index: library_index.tar.bz2 downloaded                                                                                                                                 
Downloading index: package_index.tar.bz2 downloaded                                                                                                                                 
Downloading index: package_drazzy.com_index.json downloaded                                                                                                                         
Error initializing instance: Loading index file: loading json index file /root/.arduino15/package_drazzy.com_index.json: open /root/.arduino15/package_drazzy.com_index.json: no such file or directory

As I see a root-cause of the problem is already known: https://github.com/arduino/arduino-cli/issues/2345

Maybe it's worth to provide alternative name of the file like package_drazzy_com_index.json to make the installation possible?

pstolarz commented 8 months ago

Seems the bug will be fixed in the next arduino-cli release by https://github.com/arduino/arduino-cli/commit/dc5c56eb1a1250c8d8e05514d0bdebb970ba2658. Closing the issue here.

SpenceKonde commented 8 months ago

Yeah but it still won't install because of the other outstanding issue