Giter Site home page Giter Site logo

Comments (16)

ejm554 avatar ejm554 commented on May 23, 2024 1

FWIW, I encountered a similar issue (or something similar) on El Capitan too. But it happened with an 11.75 GB file zipped by Keka.

The compressed directory on my Mac was named "December 29, 1 (by Keka)". Below are the results of using the built-in/default Unzip utility from Terminal:

$ unzip -t "December 29, 1 (by Keka)"
Archive:  December 29, 1 (by Keka).zip
warning [December 29, 1 (by Keka).zip]:  7458748132 extra bytes at beginning or within zipfile
  (attempting to process anyway)
error [December 29, 1 (by Keka).zip]:  start of central directory not found;
  zipfile corrupt.
  (please check that you have transferred or created the zipfile in the
  appropriate BINARY mode and that you have compiled UnZip properly)

Some research uncovered that El Capitan uses an outdated UnZip utility by Info-Zip, i.e., version 5.52, which doesn't support Zip64 files, a format created automatically when an archive begins to approach a 4 GB boundary. (See this answer on StackExchange.)

Upgrading to Info-Zip's UnZip version 6.00 via Homebrew and trying again showed that all was actually well with the archive:

$ unzip6 -t "December 29, 1 (by Keka)"
Archive:  December 29, 1 (by Keka).zip
    testing: December 29, 1/          OK
[...]
No errors detected in compressed data of December 29, 1 (by Keka).zip.

Note that I wanted to test the integrity of the Zip file, which is why I used the -t feature. I didn't want to perform a test by extracting the file to disk.

An aside: Have the Keka developers considered offering a test feature similar to what I was able to do above with UnZip?

from keka.

hipunk avatar hipunk commented on May 23, 2024 1

Today I updated to 1.1.5 and this error happened to me with a 30,85 GB (according to Finder) large UDRO DMG source file I cannot share with you. Rolled back to 1.1.4 and it works flawlessly again. This has never occured to me before and I regularly use 7zip on files larger than 4 GB.
Just letting you know!

from keka.

aonez avatar aonez commented on May 23, 2024

I've managed to replicate the issue, creating zip files with the bundled mac archiver. Those created with Keka work.

from keka.

aonez avatar aonez commented on May 23, 2024

Seems like macOS system is creating corrupt files if they are bigger than 4GB. Already reported a bug to Apple.

from keka.

aonez avatar aonez commented on May 23, 2024

Though its not really a p7zip fail but a corruption in macOS (and earlier, tested Mac OS X 10.9), maybe Igor Pavlov can enlighten us: https://sourceforge.net/p/sevenzip/bugs/2038

from keka.

benungs avatar benungs commented on May 23, 2024

Why is the native Archiver still able to unzip it when it is a corrupt file?

from keka.

aonez avatar aonez commented on May 23, 2024

Also unzip (via Terminal) can extract its contents, not without throwing some warnings of data corruption. WinZip is unable of opening the file, and WinRAR extracts it also throwing some corruption messages.

from keka.

klou avatar klou commented on May 23, 2024

I just got this error with a *.7z I just created with 1.0.7 (maximum compression). The archive itself is about 18 MB.

Got the error when attempting to unpack with 1.0.7 and 1.0.8. However, was able unpack via p7zip 16.02 directly ("7z x *.7z") on CentOS.

from keka.

aonez avatar aonez commented on May 23, 2024

@klou this seems to be another issue, since this one just affects files bigger than 4GB. Is it possible to you to share the file?

from keka.

aonez avatar aonez commented on May 23, 2024

An aside: Have the Keka developers considered offering a test feature similar to what I was able to do above with UnZip?

No timeline, but eventually sure #139

from keka.

stale avatar stale commented on May 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from keka.

kabir-jolly avatar kabir-jolly commented on May 23, 2024

@hipunk I am also experiencing this issue, can't find 1.1.4 in the legacy files since it was relatively recent. How did you manage to roll it back? Thanks so much

from keka.

aonez avatar aonez commented on May 23, 2024

@hipunk @kjolly02 could you enable the reader log and let me know what it says when the process fails?

defaults write com.aone.keka DevLog -bool true
defaults write com.aone.keka DevLogReader -bool true

@kjolly02 you'll always have all the releases here at GitHub, in Code -> Releases.

from keka.

jrallen9 avatar jrallen9 commented on May 23, 2024

I can shed some light on this error. From my Mac environment after enabling logging (and searching console.app for 'keka') I found this error:

ERROR: stat error for /<omitted>/target/generated-sources/annotations/. (Permission denied)

Looks like the directory 'annotations' was missing the owner:execute bit (644).

from keka.

aonez avatar aonez commented on May 23, 2024

Thanks a lot @jrallen9! Clearly this can be solved by improving the error messages displayed #116.

from keka.

v6 avatar v6 commented on May 23, 2024

// , I get the same error on a 104mb file. Why is this closed??

from keka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.