Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
There's a "kekatar" error when uncompressing files compressed with Keka, if "Exclude Mac resource forks" was unchecked #474
To replicate the bug (it seems to happen every time), do this:
Make sure that "Exclude Mac resource forks" isn't checked, then try to compress the Keka.app (not just any random file... put the Keka.app from the DMG somewhere... in the Downloads folder or wherever you want... and try compressing it) with Keka, using BZIP2, XZ or GZIP... then try to uncompress it with Keka... it uncompresses, but it shows an error:
This happened with v1.1.20 and it still happens with v1.1.21
I tried to just compress some random PDF using "ditto --hfsCompression" and then to compress it and uncompress it with Keka, to see is using HFS+ compression maybe causing an issue for Keka, but it didn't show an error
Without looking deeply at the issue, I remember the extraction error was about not being able to apply the resource forks, that's why this flag is important to reproduce the issue. Although the difference is obviously in the compression process. The extracted package runs properly, though.
About reproducing it... it seems like it happens every single time if you first try to apply HFS+ compression to a folder with ditto and if there aren't just "incompressible" file types in it (videos and pictures in some format that already has it's own compression)... for example, it seems that ditto wouldn't try to apply HFS+ compression to JPEG files and it looks like it just leaves them as they are, even if you wanted to apply the HFS+ compression on a whole folder containing JPEGs... it just seems like it would apply HFS+ compression on other files in that folder, that it can compress well.
So I guess that's probably why it wouldn't happen if you maybe tried it with some folder containing just pictures or some video clips... but if there are text files in a folder or apps or something in some file format that isn't already using its own compression, then it happens.