Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The chilipie-kiosk-v1.2.1.img.zip file appears to be corrupted #20

Closed
matthewwicks opened this issue Jul 31, 2017 · 11 comments
Closed

The chilipie-kiosk-v1.2.1.img.zip file appears to be corrupted #20

matthewwicks opened this issue Jul 31, 2017 · 11 comments

Comments

@matthewwicks
Copy link

when I download the chilipie-kiosk-v1.2.1.img.zip file and try to unzip it is appears to be corrupted.


Extracting to "C:\Users\XXXXX\Documents\"
Use Path: yes   Overlay Files: no
Extracting chilipie-kiosk-v1.2.1.img
Error: Unable to extract "C:\Users\XXXXX\Documents\chilipie-kiosk-v1.2.1.img".

The size of the extracted file (8053063680) does not match the uncompressed size (3758096384) recorded in the Zip file.
Severe Error:  File size doesn't match uncompressed size.

@matthewwicks
Copy link
Author

Also check with 7-zip and it reports a CRC error.

@jareware
Copy link
Owner

jareware commented Aug 1, 2017

Oh, rats. I was under the impression it decompressed fine, as others definitely have done so... let me check.

@jareware
Copy link
Owner

jareware commented Aug 1, 2017

Odd, I just tried downloading the zip file from GitHub, and inflating with:

...and all of them finished without reporting errors. 😕

Can you run the Windows equivalent of:

$ md5 chilipie-kiosk-v1.2.1.img.zip
MD5 (chilipie-kiosk-v1.2.1.img.zip) = 5b885b686b5f83d13003f02189e980a5

and check that you get the same result?

@matthewwicks
Copy link
Author

I ran the Windows equivalent on the zip file (powershell version):
Get-FileHash -Path .\chilipie-kiosk-v1.2.1.img -Algorithm MD5

Algorithm Hash


MD5 BAD950CE0DCAA627C3FCC4932874ABD4

@matthewwicks
Copy link
Author

sorry that was the actually image, here is the zip file data, looks the same to me

Algorithm Hash


MD5 5B885B686B5F83D13003F02189E980A5

@jareware
Copy link
Owner

jareware commented Aug 1, 2017

Have you tried whether the resulting image works?

@matthewwicks
Copy link
Author

I was using Etcher and it was complaining, but I just tried it again and it seems to copy to the SD card. But when I plug it into the PI, ti boots up and starts things up but I get lots of FAILED items

EXT4-fs errors .... bad extra_isize ...
....
Failed to start Braille Device Support
...
etc...

@jareware
Copy link
Owner

jareware commented Aug 3, 2017

OK, so you're definitely getting a corrupt image on the SD card. But I'm also getting a different hash on the uncompressed image file:

MD5 (chilipie-kiosk-v1.2.1.img) = f883e43dce3a0477555fa4444e1853a3

I've uploaded the uncompressed image, please try downloading that directly, since it looks like there's something in the ZIP file that prevents it being uncompressed successfully on Windows.

Let me know if that helps.

@matthewwicks
Copy link
Author

That image appears to work, so thanks. Not sure what is going on with the compressed version. If you do get a new compressed version that you want me to try let me know.

@jareware
Copy link
Owner

jareware commented Aug 4, 2017

OK, I'll try to make sure the "official ZIP" decompresses fine on all platforms for the next release!

@jareware jareware closed this as completed Aug 4, 2017
@jareware
Copy link
Owner

@matthewwicks there's now a repackaged release of v1.2.1 that should work better on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants