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

[BUG] Some folders refuse to compress, Error code 2 #736

Open
Piipperi opened this issue Dec 18, 2020 · 13 comments
Open

[BUG] Some folders refuse to compress, Error code 2 #736

Piipperi opened this issue Dec 18, 2020 · 13 comments
Assignees
Labels
Milestone

Comments

@Piipperi
Copy link
Contributor

Configuration

  • Keka version: 1.2.5 (4333)
  • macOS version: 11.1 (20C69)

Describe the bug

I can't compress some folders on an external drive. I keep getting error 2
Attach a log file reproducing the issue:
Keka.log

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Screenshots

Screen Shot 2020-12-18 at 8 58 13

Additional context

macOS's own compression system was failing too, which is why I was suggested to try Keka, but this is failing too.

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

Maybe some permission issue or if it's an HDD some corruption? Try copy/paste the library first.

@aonez aonez added this to the Look at milestone Dec 18, 2020
@aonez
Copy link
Owner

aonez commented Dec 18, 2020

Also check you have sufficient free space for the compression or try to compress it to another disk. You can use the contextual menu item for this:

Screenshot 2020-12-18 at 10 40 26

@Piipperi
Copy link
Contributor Author

Piipperi commented Dec 18, 2020

I’ve given all the permissions possible for Keka I think (allowed permissions from Keka settings and also allowed full disk use from System Preferences just to be sure.) Duplicating the folder works fine. The folder I'm trying to compress is about 13 GB with 0.7TB free on the disk.

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

I don't mean Keka permissions, meant file permissions per se, since this also fails with bundled compressor.

Can you try TAR or DMG to see if at least there's a more concise error?

@Piipperi
Copy link
Contributor Author

I tried with TAR, it managed to compress quite a bit until it failed randomly-
Keka 2.log

Checked file permissions and they should be ok

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

It's an AFPS formatted disk? Maybe you can try copying it to an HFS+/exFAT first. Also you can try copy in the same disk but using ditto in the Terminal:

ditto -V "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library copy 2.photoslibrary" "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library ditto copy.photoslibrary"

Maybe we can see if there's an error in some file.

@Piipperi
Copy link
Contributor Author

The disk is in HFS+ format. I ran the command you sent and it copied without any errors.

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

Does ISO/DMG also fail?

@Piipperi
Copy link
Contributor Author

Yup
Keka 3.log

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

I suppose other folders in this disk can be compressed without issue. Not sure what is happening there. Maybe try in the Terminal to see if there's some tip there:

zip -0 -r -v "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library ZIP test.zip" "/Volumes/Stuff 2 TB/Photos Library Archive/Photos Library copy 2.photoslibrary"

@Piipperi
Copy link
Contributor Author

Well this is all it says
Screen Shot 2020-12-18 at 16 37 56

@aonez
Copy link
Owner

aonez commented Dec 18, 2020

Did you tried to compress it to another disk? #736 (comment)

@Piipperi
Copy link
Contributor Author

Yup, tried to zip in the downloads folder. Doesn't work.

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

No branches or pull requests

2 participants