Keka icon indicating copy to clipboard operation
Keka copied to clipboard

Could not create DMG archive

Open mazura1972 opened this issue 2 years ago • 4 comments

Configuration

  • Keka version: 1.3.3
  • macOS version: 13.5.1

Describe the bug

No DMG archive is created when I drag a file into KEKA application or use Finder -> Compress using Keka local menu. If in the configuration I choose another default compression format, e.g. 7z, zip and others, an appropriate archive is created. I'm still using the old version 1.0.12 of Keka and it works fine there.

To Reproduce

Steps to reproduce the behavior:

  1. Drag and drop any file into Keka window
  2. You can see that nothing happens. The compression progress window does not appear.

Expected behavior

In the source location of the compressed file, a dmg file should appear.

mazura1972 avatar Aug 24 '23 20:08 mazura1972

Due to sandbox limitations Keka can only create DMG's from a folder since version 1.1.0. You can workaround this by just temporarily moving the files you want to a folder and then drop the folder to Keka.

Probably you have dismissed the warning stating this:

Screenshot 2023-08-24 at 22 12 47

You can enable that message again by executing this command in the Terminal.app and restarting Keka:

defaults remove com.aone.keka DMGWarning

aonez avatar Aug 24 '23 20:08 aonez

Thank you for the quick reply. Running the defaults remove command helped display this message. With the help of Keka, I make a compressed archive of my MacOS applications, i.e. I try to compress a folder called SampleProgram.app. Are you suggesting that I should additionally put this folder in another folder and then compress it like this, do I understand correctly?

mazura1972 avatar Aug 24 '23 20:08 mazura1972

That's right. The .app is considered a bundle, not a folder, even if it is indeed a folder. Just move them to a folder a drag that folder instead.

aonez avatar Aug 24 '23 21:08 aonez

It actually works this way. It just doesn't give me peace of mind why the compression of this type of directories (e.g. Siri.app) works for other formats like 7z and the rest of them. Thanks for your help, best regards.

mazura1972 avatar Aug 24 '23 21:08 mazura1972