SpenceKonde/ATTinyCore

arduino-cli: installation error

pstolarz opened this issue · 2 comments

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: arduino/arduino-cli#2345

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

Seems the bug will be fixed in the next arduino-cli release by arduino/arduino-cli@dc5c56e. Closing the issue here.

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