VSChina / azureiotdevkit_tools

tools for azureiot devkit
6 stars 9 forks source link

fetched archive size differs from size specified in index #64

Open matsujirushi opened 1 year ago

matsujirushi commented 1 year ago

The package cannot be installed in the following environment.

Log:

Downloading packages
AZ3166:arm-none-eabi-gcc@5_4-2016q3
AZ3166:openocd@0.10.0
AZ3166:stm32f4@2.0.0
Installing AZ3166:arm-none-eabi-gcc@5_4-2016q3
Failed to install platform: AZ3166:stm32f4.
Error: 13 INTERNAL: Cannot install tool AZ3166:arm-none-eabi-gcc@5_4-2016q3: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 112772785 != 0

Screen shot: image

howardginsburg commented 1 year ago

I happened upon this issue a few days back as well. In looking at all the docs online, I'm not sure how much the Arduino experience is actively supported anymore. I believe the latest Arduino IDE requires checksum/size details 'tools' section of the json. Take a look at my version of the board definition file at https://github.com/howardginsburg/iot-device-kit/blob/main/mxchip/package_azureboard_index.json.

Nevah5 commented 2 weeks ago

I happened upon this issue a few days back as well. In looking at all the docs online, I'm not sure how much the Arduino experience is actively supported anymore. I believe the latest Arduino IDE requires checksum/size details 'tools' section of the json. Take a look at my version of the board definition file at https://github.com/howardginsburg/iot-device-kit/blob/main/mxchip/package_azureboard_index.json.

I also get the same error with the json from this and your repo

Installing AZ3166:arm-none-eabi-gcc@5_4-2016q3...
Error during install: Cannot install tool AZ3166:arm-none-eabi-gcc@5_4-2016q3: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 121781693 != 0
Nevah5 commented 2 weeks ago

I installed the Arduino Software Version 2.0.1 and tried this index.json file. With that combination, I managed to get something to work.