Skip to content

[BUG] Doesn't work compressing with xz #1205

Closed

Description

@Tamik

Configuration

  • Keka version: v1.2.59-r5097 (WEB) (Sandboxed)
  • macOS version: 11.6.3 (20G415) (arm64)

Describe the bug

When user tries to compress files with XZ, application returns error Library not loaded as script tries to load liblzma.5.dylib from static path /Users/aone/Desktop/XZ/bin/lib/.

Below you can see error log:

OS: Version 11.6.3 (Build 20G415) (arm64)
Keka: v1.2.59-r5097 (WEB) (Sandboxed) (en-GB)
Binary used: kekatar
Arguments: (
    "--use-compress-program",
    "\"/Applications/Keka.app/Contents/MacOS/kekaxz\" -9 -T8",
    "-Kcf",
    "/Users/tamik/Downloads/pascal/opt.tar.xz",
    "--no-mac-metadata",
    "--no-xattrs",
    "--exclude=.DS_Store",
    "--exclude=.localized",
    "--exclude=._*",
    "--exclude=.FBC*",
    "--exclude=.Spotlight-V100",
    "--exclude=.Trash",
    "--exclude=.Trashes",
    "--exclude=.background",
    "--exclude=.TemporaryItems",
    "--exclude=.fseventsd",
    "--exclude=.com.apple.timemachine.*",
    "--exclude=.VolumeIcon.icns",
    "-C",
    "/Users/tamik/Downloads/pascal/",
    opt
)
dyld: Library not loaded: /Users/aone/Desktop/XZ/bin/lib/liblzma.5.dylib
  Referenced from: /Applications/Keka.app/Contents/MacOS/kekaxz
  Reason: image not found

: Can't write to program: "/Applications/Keka.app/Contents/MacOS/kekaxz" -9 -T8
Error code 1

To Reproduce

Steps to reproduce the behavior:

  1. Open Keka.
  2. Try to compress some files with xz extension.
  3. See error.

Screenshots

Screenshot 1 Screenshot 2023-01-13 at 15 57 29
Screenshot 2 Screenshot 2023-01-13 at 15 57 33

Activity

  1. added this to the 1.2.60 milestone on Jan 13, 2023
  2. aonez commented on Jan 13, 2023

    @aonez
    Owner

    Thanks @Tamik I'm fixing that ASAP.

  3. aonez commented on Jan 13, 2023

    @aonez
    Owner

    As a temporary workaround you can run Keka using the Intel binary since only the ARM binary is affected.
    Just right click on the Keka.app, "Get Info" and activate "Open using Rosetta". Restart Keka if needed.

    Only as a workaround, running in Rosetta will affect the performance and speed of the operations.

  4. Tamik commented on Jan 13, 2023

    @Tamik
    Author

    As a temporary workaround you can run Keka using the Intel binary since only the ARM binary is affected. Just right click on the Keka.app, "Get Info" and activate "Open using Rosetta". Restart Keka if needed.

    Only as a workaround, running in Rosetta will affect the performance and speed of the operations.

    Confirmed. This method helped to solve the problem.

  5. aonez commented on Jan 17, 2023

    @aonez
    Owner

    Version 1.2.60 released! Thanks again @Tamik

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions