gildas-lormeau / SingleFileZ

Web Extension to save a faithful copy of an entire web page in a self-extracting ZIP file
GNU Affero General Public License v3.0
1.82k stars 138 forks source link

MacOS Archive Utility (default) can't extract file #131

Closed rmst closed 2 years ago

rmst commented 2 years ago

image

Used SingleFileZ/master to download the file and then renamed the extension from .html to .zip and got this. Am I doing anything wrong or is this a bug?

rmst commented 2 years ago

Okay seems to be an issue just with MacOS' Archive Utility. With Python's zipfile the extraction works

gildas-lormeau commented 2 years ago

I confirm this is a bug in MacOS Archive Utility which (still) does not support data descriptor signatures in zip files, see "4.3.9 Data descriptor" (4.3.9.3) for more info here: https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT. I should be able to circumvent it though.

gildas-lormeau commented 2 years ago

Did Apple fix the issue?

rmst commented 2 years ago

No, I just closed it because it's an Apple bug not a SingleFile bug

gildas-lormeau commented 2 years ago

Thank you for the info. I said I would circumvent it, that's why the bug was kept open. It will be fixed in the next version anyway.

gildas-lormeau commented 2 years ago

Starting with the version 1.3.23, saved pages should be compatible with MacOS Archive Utility.