ElectronicCats / Arduino_Boards_Index

Electronic Cats Package Lists for the Arduino Board Manager
https://electroniccats.github.io/Arduino_Boards_Index/package_electroniccats_index.json
19 stars 7 forks source link

Can't install from the Arduino Boards Manager: CRC error #33

Closed tobozo closed 3 years ago

tobozo commented 3 years ago

tried to delete the cache and staging binaries several times but no luck, does seem more permanent than temporary :-)

image

sabas1080 commented 3 years ago

Hi @tobozo What OS?

tobozo commented 3 years ago

hi @sabas1080 this is on Ubuntu Linux x86_64 [edit] Using Arduino 1.8.13

sabas1080 commented 3 years ago

We have tested a new installation in Ubuntu and ok

S.O Ubuntu 20.01

Captura_de_pantalla_de_2021-01-19_10-06-32

sabas1080 commented 3 years ago

Remove please package_electroniccats_index.json, cache and staging binaries please

tobozo commented 3 years ago

still failing on CRC check, this is what I have in the staging folder after the failure

image

and this is the last log entry

2021-01-19T16:44:31.303Z INFO c.a.u.n.HttpConnectionManager:157 [ContributionManager Install Thread] Request 
complete URL="https://github.com/ElectronicCats/BOSSA/releases/download/1.0.0-electroniccats-1/bossac-1.0.0-
electroniccats-1-i686-linux-gnu.tar.gz", method=GET, response code=206, request id=278E4F7D984A4E24, headers=
{Accept-Ranges=[bytes], null=[HTTP/1.1 206 Partial Content], Server=[AmazonS3], Content-Range=[bytes 0-34851/34852], 
ETag=["e7954995d8fcc1e00d45b8f2149eb4c8"], Content-Disposition=[attachment; filename=bossac-1.0.0-electroniccats-
1-i686-linux-gnu.tar.gz], Last-Modified=[Wed, 15 Jul 2020 01:09:53 GMT], x-amz-request-id=[A5D3A13B5A5709F6], Content-
Length=[34852], x-amz-id-2=[PTxT0WvsAIKB8pv8MhnSHesdMt+PAhYXVK9MtihfaqEHQwJIPiaSBI35L7VMyAhKpvi8tRjQd4M=],
 Date=[Tue, 19 Jan 2021 16:44:32 GMT], Content-Type=[application/octet-stream]}

I'm located in France

sabas1080 commented 3 years ago

Can you validate checksum this file in your SO? https://github.com/ElectronicCats/BOSSA/releases/download/1.0.0-electroniccats-1/bossac-1.0.0-electroniccats-1-i686-linux-gnu.tar.gz

tobozo commented 3 years ago
> $ sha256sum bossac-1.0.0-electroniccats-1-i686-linux-gnu.tar.gz 

8dada7994141aaa8deb2fe8f85f70a8cb0de3284d792e4acd298a4d353b5a2f2  bossac-1.0.0-electroniccats-1-i686-linux-gnu.tar.gz
sabas1080 commented 3 years ago

ok, seems to be an error in the checksum of this file for your OS

https://github.com/ElectronicCats/Arduino_Boards_Index/blob/gh-pages/package_electroniccats_index.json#L2059

8dada7994141aaa8deb2fe8f85f70a8cb0de3284d792e4acd298a4d353b5a2f2

vs

edd3bc6fd80641563dc6ca337d695fca25c2d43242172ea0418b678d4dbe0628

sabas1080 commented 3 years ago

with MacOS shasum -a 256 bossac-1.0.0-electroniccats-1-i686-linux-gnu.tar.gz 8dada7994141aaa8deb2fe8f85f70a8cb0de3284d792e4acd298a4d353b5a2f2 🤔

tobozo commented 3 years ago

Same when pasting URL in there:

https://hash.online-convert.com/sha256-generator

sha256sum(url) = 8dada7994141aaa8deb2fe8f85f70a8cb0de3284d792e4acd298a4d353b5a2f2

So my OS agrees with your OS and the hash.online-convert tool, looks like the index.json file needs editing :-)

sabas1080 commented 3 years ago

Yes, @wero1414 will solve this

wero1414 commented 3 years ago

Hi @tobozo you should be able to do it already! please check

tobozo commented 3 years ago

the board installation works fine now, thanks for the reactivity !

closing this issue as solved

sabas1080 commented 3 years ago

Thanks @tobozo !