11-01-2010, 03:55 AM | #1 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
How to unzip a Calibre ZIP file on a Mac?
When I load an HTML file into Calibre, a ZIP file is created. When I try to unzip it by double clicking on it, all I get is another file, a zip.cpgz file, which if I double click only creates another zip.cpgz file, (and another, ad infinitum) none of which opens. In Googling around, I've seen that the same thing happens with a ZIP created in Windows.
How do I unzip and open ZIP file made in Calibre? |
11-01-2010, 04:14 AM | #2 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
When I click on the zip link in the book detail window the zip file opens.
|
Advert | |
|
11-01-2010, 04:21 AM | #3 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
|
11-01-2010, 04:26 AM | #4 |
US Navy, Retired
Posts: 9,878
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
11-01-2010, 04:33 AM | #5 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
|
Advert | |
|
11-01-2010, 05:32 AM | #6 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
You've got something screwy set up on your Mac for zip files.
If you don't have Archive Utility for some reason you can install some other app beforehand and specify that - Stuffit Expander is generally pretty good, as is the Unarchiver. |
11-01-2010, 06:04 AM | #7 | ||
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
Apparently this is a common occurrence for Mac OSX with ZIP files created on a PC or with a proprietary ZIP format that isn't compatible, as I suspect is the case with the Calibre created ZIP.
Quote:
Quote:
Thanks, Idolse! |
||
11-01-2010, 06:14 AM | #8 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Installing Stuffit or some other program may change that setting for you though, so it's worth a shot... If 'Archive Utility' is the only option that would explain why it's grayed out, and the behavior may well be a bug with Archive Utility - it also means Calbre's default zip function is doing something that doesn't work with the default Zip utility on OS X, something which Kovid may be willing to fix... |
|
11-01-2010, 06:38 AM | #9 | ||||
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
Quote:
Quote:
Quote:
Quote:
Being very new to this forum, I don't know the procedure for bringing this to Kovid's attention. Could you direct me to it? Thanks again! |
||||
11-01-2010, 06:54 AM | #10 | |
Connoisseur
Posts: 80
Karma: 8320
Join Date: Apr 2009
Device: Ipod Touch
|
Quote:
And you can always file an official bug report here. |
|
11-01-2010, 08:13 AM | #11 |
Guru
Posts: 820
Karma: 11012
Join Date: Nov 2007
Location: Warsaw, Poland
Device: Bookeen Cybook
|
Don't use Archive Utility to unpack ZIP files on Mac. It follows standard Mac philosophy to make users feel better by not reporting any errors to them. If you have a corrupted ZIP file, and you try to unpack it using Archive Utility, you won't get any error message, it will just silently ignore any files that were corrupted and couldn't be unpacked. (Just the same, if you try to read files from a broken CD/DVD, Mac OS X won't tell you it couldn't read them, it will just silently put zeroes in all places of the files that couldn't be read).
I prefer to use Unarchiver ( http://wakaba.c3.cx/s/apps/unarchiver.html ). It's free and open source. |
11-01-2010, 11:56 AM | #12 | |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Quote:
Best bet for you would be to not use Apple's default software, install Stuffit or one of the other utilities mentioned. If you do have a link to a page which clearly indicates what makes the Archive Utility act stupid you could open a bug with Apple, and after that open a bug with Kovid at bugs.calibre-ebook.com and ask him nicely to work around Apple's Shenanigans... |
|
11-01-2010, 12:03 PM | #13 |
Sigil Developer
Posts: 8,242
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Hi,
Yes this is a bug with the Apple default archiver utility. It used to work correctly and now it does not anymore with zips that have mimetype files. If you zip has such a file, the damn Apple utility thinks it is not a normal zip and will try to actually compress the file (thus creating the .cpgz) and not uncompress the file. I have no idea whose smart idea this was but it sucks. Simply grab some other unzip utility for Mac OSX (I have stuffit on mine) or use the Terminal.app and the "unzip" command line tool (which works on everything). You can also grab the latest Unzip drag-and-drop tool that was posted in the epub section of this forum. It works to unzip things as well (it just runs the unzip command line tool under the table). So lots of options. It is just sad that Apple broke its own tool. |
11-03-2010, 02:20 AM | #14 | |
Enthusiast
Posts: 31
Karma: 10
Join Date: Oct 2010
Location: Arizona, USA
Device: None
|
Thanks to all who responded. I appreciate all your comments. What I settled on was the unarchiver which I just downloaded and successfully used to open the zipped HTML. Particular thanks to Krystian:
Quote:
|
|
06-03-2012, 02:20 PM | #15 |
Junior Member
Posts: 5
Karma: 10
Join Date: May 2010
Device: Kobo Reader
|
Thanks for the great advice guys. The Unarchiver solved the .cgpz problem, and allowed me to crack the DRM on my one Kobo book that refused to co-operate. Much appreciated info.
|
Tags |
conversions, html, html2zip, mac os x, zip |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub Zip/Unzip AppleScript application for Mac OS X | pdurrant | ePub | 150 | 12-02-2024 03:07 PM |
Bad Zip file | theducks | Calibre | 12 | 09-09-2018 10:58 AM |
When download .epub file,it becomes .zip?? | appstrading | ePub | 4 | 07-29-2010 03:21 PM |
Mobileread Books in a ZIP file? | Logseman | Feedback | 6 | 07-08-2010 05:45 PM |
Mobiperl mobi2html changesetR84.zip won't unzip | cyberbaffled | Kindle Formats | 0 | 06-15-2010 11:25 PM |