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

With Mojave update 10.4, Keka fails with this dialog "Error code 2 using "p7zip"; Fatal Error" #313

Closed
gkillmaster opened this issue Oct 24, 2018 · 32 comments
Assignees
Milestone

Comments

@gkillmaster
Copy link

Has been working for years and all of a sudden its not working. Would love some hints on where to look for the problem?

Best,

Greg

@aonez
Copy link
Owner

aonez commented Oct 24, 2018

Try this one: #306 (comment)

Let me know if that doesn’t help.

@gkillmaster
Copy link
Author

gkillmaster commented Oct 24, 2018

Thank you! It didn't work at first but I was eventually able to finagle it into working so thanks alot for pointing me in the right direction. I'm not sure how I ended up getting it to work exactly, but I think the act of resetting access did help finally. Then I had to figure out how to get it to be my default decompressor. It kept being reset. The app didn't work for that, but setting it manually did. Appreciate the quick reply!

@aonez
Copy link
Owner

aonez commented Oct 24, 2018

Glad it works now! Sandbox is being a nightmare, 1.1.5 will come with lots of changes for that, hopefully no more problems then.

@gkillmaster
Copy link
Author

Thanks so much for all the work. I'd hate to be without it! :)

@aonez aonez added this to the 1.1.5 milestone Oct 24, 2018
@aonez aonez self-assigned this Oct 24, 2018
@aonez aonez closed this as completed Oct 24, 2018
@omata
Copy link

omata commented Dec 10, 2018

Hello,

I have the same issue and I tried the proposed fix, then I figured out that Keka was failing when I use ZIP format with a folder with over 43K file count, (around 1.1 GB). If I try to compress an smaller folder it works.

Keka version: 1.1.8
OSX version: 10.14.1

Regards,
Oscar.

@aonez
Copy link
Owner

aonez commented Dec 10, 2018

@omata same happens with 7Z? Or just with ZIP?

@omata
Copy link

omata commented Dec 10, 2018

@omata same happens with 7Z? Or just with ZIP?

Here my tests:

Algorithm Work Fail
7Z x
ZIP x
TAR x
GZIP x
BZIP x
XZ x
LZIP x
DMG Error 1 using hdutil
ISO Error 1 using hdutil

Regards,
Oscar.

@aonez
Copy link
Owner

aonez commented Dec 11, 2018 via email

@aonez
Copy link
Owner

aonez commented Dec 11, 2018

@omata just compressed 14GB of data containing 58K files in 7Z with no problem, both in store and fastest methods.

@omata
Copy link

omata commented Dec 11, 2018

Any special files there? Any example so I can replicate the issue as similar as possible?

It is an Apache httpdocs file structure with a lot of php files and hidden dot files.

The directory looks like:

total 150336
     0 drwxr-x---   42 user  staff   1.3K Dec  7 22:39 ./
     0 drwxr-xr-x   21 user  staff   672B Dec 10 22:37 ../
     8 -rw-r--r--    1 user  staff   348B Jul 24 15:27 .eslintrc.json
     8 -rw-rw-rw-    1 user  staff   3.1K Dec  6 13:29 .htaccess
     0 drwxr-xr-x    3 user  staff    96B Sep 10 19:45 .well-known/
  3608 -rw-rw-rw-    1 user  staff   1.8M Dec  4 19:41 1_en_0_sitemap.xml
     8 -rw-rw-rw-    1 user  staff   239B Dec  4 19:41 1_index_sitemap.xml
    16 -rw-r--r--    1 user  staff   4.8K Jul 24 15:27 INSTALL.txt
   360 -rw-r--r--    1 user  staff   179K Jul 24 15:50 LICENSES
     0 drwxr-xr-x   30 user  staff   960B Jul 24 15:50 admin770mwf03t/
     0 drwxr-xr-x    8 user  staff   256B Dec  7 22:39 app/
     8 -rw-r--r--    1 user  staff   1.2K Jul 24 15:27 autoload.php
     0 drwxr-xr-x    5 user  staff   160B Jul 24 15:50 bin/
     0 drwxr-xr-x   11 user  staff   352B Jul 24 15:27 cache/
     0 drwxr-xr-x  132 user  staff   4.1K Jul 24 15:27 classes/
   536 -rw-r--r--    1 user  staff   266K Jul 24 15:27 composer.lock
     0 drwxr-xr-x   18 user  staff   576B Dec  7 22:39 config/
     0 drwxr-xr-x    6 user  staff   192B Jul 24 15:27 controllers/
     8 -rw-r--r--    1 user  staff   878B Jul 24 15:27 docker-compose.yml
     0 drwxr-xr-x   13 user  staff   416B Jul 24 15:27 docs/
     0 drwxr-xr-x    4 user  staff   128B Nov 23 11:02 download/
     8 -rw-r--r--    1 user  staff   2.4K Jul 24 15:27 error500.html
    16 -rw-r--r--    1 user  staff   4.6K Jul 24 15:27 images.inc.php
     0 drwxr-xr-x   40 user  staff   1.3K Dec  7 22:39 img/
     8 -rw-r--r--    1 user  staff   1.1K Jul 24 15:27 index.php
     8 -rw-r--r--    1 user  staff   1.1K Jul 24 15:27 init.php
     0 drwxr-xr-x   22 user  staff   704B Jul 24 15:27 js/
     0 drwxr-xr-x   93 user  staff   2.9K Jul 24 15:27 localization/
     0 drwxr-xr-x    6 user  staff   192B Nov 23 11:02 mails/
     0 drwxr-xr-x   85 user  staff   2.7K Nov 26 15:26 modules/
     0 drwxr-xr-x    8 user  staff   256B Jul 24 15:27 override/
     0 drwxr-xr-x   41 user  staff   1.3K Jul 24 15:27 pdf/
145728 -rw-r--r--    1 user  staff    71M Sep 12 14:34 prestashop.zip
     8 -rw-r--r--    1 user  staff   2.7K Nov 15 18:28 robots.txt
     0 drwxr-xr-x    6 user  staff   192B Jul 24 15:27 src/
     0 drwxr-xr-x   12 user  staff   384B Dec  7 22:39 themes/
     0 drwxr-xr-x    7 user  staff   224B Jul 24 15:50 tools/
     0 drwxr-xr-x   16 user  staff   512B Nov 23 11:02 translations/
     0 drwxr-xr-x    3 user  staff    96B Nov 23 11:02 upload/
     0 drwxr-xr-x    8 user  staff   256B Jul 24 15:50 var/
     0 drwxr-xr-x   43 user  staff   1.3K Jul 24 15:50 vendor/
     0 drwxr-xr-x    4 user  staff   128B Jul 24 15:27 webservice/

@omata
Copy link

omata commented Dec 11, 2018

@omata just compressed 14GB of data containing 58K files in 7Z with no problem, both in store and fastest methods.

It fails for me in both methods.
captura de pantalla 2018-12-11 a la s 12 53 48 p m

@aonez
Copy link
Owner

aonez commented Dec 13, 2018

@omata can you enable the verbose mode and let me know what the Console.app output says?

defaults write com.aone.keka DevLog -bool TRUE
defaults write com.aone.keka DevLogReader -bool TRUE

@omata
Copy link

omata commented Dec 17, 2018

defaults write com.aone.keka DevLogReader -bool TRUE

@aonez As per your request I enabled Keka logging and I found that the issue was related with a permission settings for a single specific directory inside of httpdoc. So, I set it to 755 and I was able to compress the directory with zip and 7z formats.

Thank you for your help and best regards!

@macssi
Copy link

macssi commented Mar 17, 2019

Hi, I tried the following methods: delete and re-add the location and restart the mac; delete app and download keka from the website. Nothing worked here on my MacBook pro Mojave. Still showing error code 2 etc, Any advice would be appreciated, thanks

@macssi
Copy link

macssi commented Mar 17, 2019

Untitled

this is what happened on console.app

@macssi
Copy link

macssi commented Mar 17, 2019

image

This happened if this helps in your understanding...

@aonez
Copy link
Owner

aonez commented Mar 17, 2019

Hi @macssi, it fails on any operation? Compression and extraction?

@macssi
Copy link

macssi commented Mar 18, 2019

Hi, @aonez thansk for replying, compression is fine.. compressions seems no problem

@aonez
Copy link
Owner

aonez commented Mar 18, 2019

@macssi does this happen for every extraction? or it is just one file error? If it is only happening for one file, would be awesome if you can share it at info@keka.io.

If it happens with any file, try this:

  1. Close Keka
  2. Remove the Keka preferences executing the following command in the Terminal.app:
    k='com.aone.keka'; rm ~/Library/Preferences/$k; rm -r ~/Library/Containers/$k;
  3. Try again the operation

@macssi
Copy link

macssi commented Mar 18, 2019

@aonez thanks! the one that doesn't get extracted is pdf.exe. and unfortunately, it still doesn't work. I haven't tried with other pdf.exe, but I tried with a compressed folder, and it gets extracted well. Thank you for your help and I will find it out sooner or later and leave some messages to your email address. Thanks again!

@aonez
Copy link
Owner

aonez commented Mar 19, 2019

@macssi not all exe files can be extracted. If you find the moment to send it I'll confirm you if it has any compressed data. Thanks for the feedback!

@cyb3rsalih
Copy link

Native $ unzip the_file.zip command works proper.

@MrCee
Copy link

MrCee commented Jul 1, 2019

I'm having the same issue extracting one particular zip file, which isn't recognised as a zip file, although other unzip tools extract fine.

Extraction output: 
ERROR: /Users/name/Downloads/myfile.zip
/Users/name/Downloads/myfile.zip
Open ERROR: Can not open the file as [zip] archive

ERRORS:
Is not archive

@aonez
Copy link
Owner

aonez commented Jul 1, 2019

@MrCee can you share that file?

@MrCee
Copy link

MrCee commented Jul 1, 2019

Sure, hoping you received my email.

@aonez
Copy link
Owner

aonez commented Jul 1, 2019

@MrCee I've extracted the file successfully. Maybe you've tried to extract it before the download was complete? Can you try again?

@berniezz
Copy link

@aonez hi bro, im so sorry but I'm facing the same exact problem which never occurred to me. I did all the reinstalling and restarting following your post #306 but it's still the same. Keep facing this problem:

Error code 2 using "p7zip" Fatal error

Please help me~

@cuxs
Copy link

cuxs commented Apr 20, 2020

I'm facing this error right now. I've downloaded and updated keka from keka.io.
I'm trying to compress and split a file and when it's about to end, all files created disappear and that error pops up.

@aonez
Copy link
Owner

aonez commented Apr 23, 2020

@cuxs please follow these steps and share the log containing the error:

https://github.com/aonez/Keka/wiki/Report-an-issue

@OPStellar
Copy link

I've followed all these steps:
• Run like normal (version 1.1.5)
• Update Keka (to version 1.2.3) —{assuming this counts as uninstallation + reinstallation
• Remove file accesses directories
• Restore file access directories manually
• Run again

Keka_2020-11-25-123324370.log

@aonez
Copy link
Owner

aonez commented Nov 25, 2020

@OPStellar does it fails with other files or just that ISO image?

@OPStellar
Copy link

OPStellar commented Nov 28, 2020 via email

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

9 participants