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] Creation of *.zip failed, Error Domain=NSPOSIXErrorDomain Code=1 #1520

Open
JDW1 opened this issue Sep 29, 2024 · 6 comments
Open

[BUG] Creation of *.zip failed, Error Domain=NSPOSIXErrorDomain Code=1 #1520

JDW1 opened this issue Sep 29, 2024 · 6 comments

Comments

@JDW1
Copy link

JDW1 commented Sep 29, 2024

Configuration

  • Keka version: 1.4.4 (5475)
  • macOS version: 14.6.1 (23G93)

Describe the bug

I did a fresh/clean install of Keka, but it refuses to ZIP two files. Keka fails every time I drag and drop the two files atop the Keka icon in the Dock. It fails with the same Error Domain=NSPOSIXErrorDomain Code=1 , even after I Restart my M1 Max MacBook Pro.
Attach a log file reproducing the issue: Keka_2024-09-29-184338385.log

To Reproduce

Steps to reproduce the behavior:

  1. Drag two files atop Keka icon in Dock
  2. Keka opens and shows an error message saying: "Creation of 'archive.zip" filed, There was some error accessing the binary '7zz', Error Domain=NSPOSIXErrorDomain Code=1

Expected behavior

Quite obviously, no error, then it Zips the files assigned.

Screenshots

ErrorSS

Additional context

I've used Keka on my 2015 5k iMac (Intel) at the office running macOS Monterey without problem. So I am familiar with the app. It just doesn't compress ZIP files on my M1 Mac for some reason.

@JDW1 JDW1 added the bug label Sep 29, 2024
@aonez
Copy link
Owner

aonez commented Sep 29, 2024 via email

@JDW1
Copy link
Author

JDW1 commented Sep 29, 2024

I did exactly as you directed but the problem remains.

Specifically, I used App Cleaner to get rid of the Keka app and every preference file associated with it. I then emptied the trash and Restarted my M1 Max MacBook Pro. I went to the website (not the Mac App Store), and downloaded it again. I installed it, then opened it, set preferences to ensure ZIP is default, speed is set to SLOW (I want better compression), make sure verify is enabled, don't include DS_Store files, etc. I then dragged a file at random onto the Keka icon in the dock (because I put Keka in the dock). It launched but produced the same exact error I previously reported.

@aonez
Copy link
Owner

aonez commented Sep 29, 2024 via email

@JDW1
Copy link
Author

JDW1 commented Oct 2, 2024

Sorry for my delayed reply.

I used App Cleaner once again to remove all files from the previous Keka install, then I emptied the Trash, restarted, then downloaded and installed version 1.4.3 and tested with a random WAV file on my hard drive. It results in the same exact error message I mentioned earlier.

@aonez aonez added this to the Look at milestone Oct 3, 2024
@aonez
Copy link
Owner

aonez commented Oct 3, 2024

@JDW1 thanks for the feedback. I'm supposing here you have Keka on the Applications folder.

As stupid as it sounds, try to right-click and "Open" Keka on the Applications folder. This sometimes fixes quarantine and similar issues. If this does not fix the issue try the following steps.

  • Check using the Terminal.app what this outputs:
/Applications/Keka.app/Contents/MacOS/Keka --cli 7z
  • Try removing the attributes that the Keka.app may have.

    • You can check those with this:
    xattr -r /Applications/Keka.app
    • And remove all with this:
    xattr -rc /Applications/Keka.app

Checking the Console.app, filtered by Keka, might also bring some more information about why macOS is blocking the binary. Let me know if you want to investigate this further and need assistance with it.

@JDW1
Copy link
Author

JDW1 commented Oct 3, 2024

Amazing. Right clicking on the v1.4.3 app (inside the Applications folder, where I always keep the app) worked! And it doesn't just work once either. I restarted and dragged a file atop the app, and it compressed the file as expected. No more need to right click and choose Open! Incredible! Problem solved. Thank you!

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

No branches or pull requests

2 participants