googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 275 forks source link

Bad zip file download? #1

Closed rotmgkillroyx closed 10 years ago

rotmgkillroyx commented 10 years ago

I'm sorry, but I've been unable to extract the coder_v.4.zip without errors:

wget http://storage.googleapis.com/coder-images/coder_v0.4.zip unzip -a coder_v0.4.zip [snip] inflating: coder_v0.4/raspi.img [binary] error: invalid compressed data to inflate [snip]

7zip also complains about the raspi.img portion, when extracting.

Is this an error I can safely ignore?

Thanks!

susutou commented 10 years ago

Both files (zip and img) work fine for me. The zip file probably got broken during transferring. Here's the SHA1 digest for my zip file: 913c940df9308fcff50978246594ae048c6be476, maybe you could check if you had an authentic file (you could use openssl sha1 /full/path/to/file to check the SHA1 digest).

rotmgkillroyx commented 10 years ago

Yep: openssl sha1 coder_v0.4.zip SHA1(coder_v0.4.zip)= "b7b367de07a8e7a24d66bb59e9b2e6127b39d622"

Well, I'll download it again. Thanks for the hash--that helps. Also, I did try installing the .img anyway, and it crashes to a KB> prompt. Maybe my re-download will work.

rotmgkillroyx commented 10 years ago

AH, looks like there is some bad replication on the google storage side. Downloading from a zone with IP addresses like: 173.194.46.75 gave me corrupted files. However, downloading from 74.125.239.106 gave me a different SHA file. (I had to edit my /etc/hosts to force this DNS mapping.) Now my error is:

inflating: coder_v0.4/raspi.img [binary] bad CRC b73f158e (should be 3e0e311d)

rotmgkillroyx commented 10 years ago

Just a followup on this--I downloaded using WGET on windows and the file was able to be successfully extracted. Closing, I guess.