Giter VIP home page Giter VIP logo

Comments (32)

hbast avatar hbast commented on May 26, 2024 3

Thanks! That worked for me!
First I deleted ~/Library/Preferences/com.aone.keka.plist but this didn't solve the problem!

from keka.

aonez avatar aonez commented on May 26, 2024 2

@hbast just a hunch, close Keka, open the Terminal.app and delete it's preferences with this command:

rm -r ~/Library/Containers/com.aone.keka

Open Keka again and see if it works. If not, here you can see how to enable logging:

https://github.com/aonez/Keka/wiki/Console-verbose

from keka.

t3db0t avatar t3db0t commented on May 26, 2024 1

@aonez Done—thank you!

from keka.

csydas avatar csydas commented on May 26, 2024 1

If you're getting to a password prompt you are getting further than I am, as immediately opening the file resulted in the error for me.. I must be on an out of date version or something. Please disregard then and thank you for your time.

from keka.

joelbudgor avatar joelbudgor commented on May 26, 2024 1

from keka.

klou avatar klou commented on May 26, 2024

Also, the "original" *.7z archive is destroyed by this error.

from keka.

aonez avatar aonez commented on May 26, 2024

Can't reproduce it. Which Mac OS are you using? Can you enable the console output of Keka and share what you get with the extraction? Here how to enable it: http://trac.kekaosx.com/wiki/EnableDevLog

It just happens with this file or repeating the same procedure with another file causes the same issue?

from keka.

klou avatar klou commented on May 26, 2024

Hm. I can extract successfully on my home machine. Both are 10.12.3. I'll get you the log on Monday.

from keka.

aonez avatar aonez commented on May 26, 2024

There's any big hardware difference between the two Macs?

Maybe the Keka preferences file got corrupted. You can try this steps on the Terminal (you can also use Finder to do those).

First make a backup of the file, since if it is the crash cause I'll like to take a look at it:

cp /Users/<USERFOLDER>/Library/Preferences/com.aone.keka.plist /Users/<USERFOLDER>/Desktop/com.aone.keka.plist.bk

And then delete the preferences file:

rm /Users/<USERFOLDER>/Library/Preferences/com.aone.keka.plist

Reopen Keka and see if it still crashes. If not, just zip the backup file and upload it here :)

from keka.

klou avatar klou commented on May 26, 2024

This error is on a C2D 2.4 White Unibody Macbook (my working machine at home is a 2011 MBA).

default	09:13:22.085185 -0800	Keka	Arguments: (
    x,
    "/Users/klou/Downloads/psi-plus.7z",
    "-o/Users/klou/Downloads/psi-plus.7z",
    "-aou",
    "-xr!__MACOSX"
)
default	09:13:22.085329 -0800	Keka	Binary used: keka7z
default	09:13:22.193506 -0800	Keka	Extraction output: 

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,2 CPUs x64)
Modified by aONe for Keka

Scanning the drive for archives:
  0M Scan /Users/klou/Downloads/
default	09:13:22.214978 -0800	Keka	Extraction output: 
��������������������������������                                ��������������������������������1 file, 17766623 bytes (17 MiB)

Extracting archive: /Users/klou/Downloads/psi-plus.7z
--
Path = /Users/klou/Downloads/psi-plus.7z
Type = 7z
Physical Size = 17766623
Headers Size = 16444
Method = Delta LZMA2:26 LZMA:20 BCJ2
Solid = +
Blocks = 5

  0%
default	09:13:22.248143 -0800	Keka	Extraction output: 
����    ����  0% 100 . psi-plus.app/Contents/Resources/empty.lproj
default	09:13:22.248443 -0800	Keka	Extraction output: 
ERROR: Can not open output file : Not a directory : /Users/klou/Downloads/psi-plus.7z/psi-plus.app/Contents/Resources/empty.lproj
default	09:13:22.588404 -0800	Keka	Extraction output: 
������������������������������������������������������                                                      ������������������������������������������������������  5% 101
default	09:13:22.691613 -0800	Keka	Extraction output: 
��������        ��������

etc.

Running the keka7z binary + arguments directly, I noticed the following:

  1. The arguments are reading the source archive and the destination path as the same -- and that's the source of the errors. If I change the destination (in this case, to psi-plus instead of psi-plus.7z), it'll extract
  2. Perhaps unrelated, but the final argument -xr!__MACOSX causes it to fail.

I also happen to have the Keka Preferences open right now, and I notice that the Extraction->Extract to Location field is blank. I wonder if this is messing up the output path?

I AM managing via a configuration profile, but only these fields:

PayloadContent =     {
        "com.aone.keka" =         {
            "Set-Once" =             (
                                {
                    "mcx_data_timestamp" = "2016-06-21 21:58:53 +0000";
                    "mcx_preference_settings" =                     {
                        GrowlBlocksExit = 0;
                        KekaFirstStart = 0;
                        SUEnableAutomaticChecks = 0;
                        SUHasLaunchedBefore = 1;
                        SUSendProfileInfo = 1;
                        SelectedTab = 7z;
                        SelectedTabDefaults = Compression;
                        SolidArchive = 1;
                        UseGrowl = 1;
                        Version = 740;
                    };
                }
            );

It's also a Set-Once (way back when, so I should remove that Version key and a few other items), but that should affect the strings.

from keka.

klou avatar klou commented on May 26, 2024

Manually toggling that preference (Next to original File) does nothing, and it still fails. Also, this preference does not show under Managed Client, so it isn't being actively managed.

from keka.

klou avatar klou commented on May 26, 2024

I trashed the profile as well as my ~/Library/Preferences/com.aone.keka.plist, restarted, and was able to extract the archive. It has to be something with the config profile, so feel free to close this (unless there's something else to chase down).

Thanks!

from keka.

aonez avatar aonez commented on May 26, 2024

@klou thanks for all that info and the time to check it all! So you've used the configuration profile only in the white unibody. This is now the same as #15 (where #18 also started hehe). I must rework the settings handling for those of you who like to preconfigure Keka 👍

Here you have a little explanation, but basically setting the version in that profile implies adding all the configuration or having a corrupt one. Not adding the version makes almost all of the pre-configuration ignored. So +1 for the rework.

from keka.

t3db0t avatar t3db0t commented on May 26, 2024

Hi all, I'm getting this error but it's unclear what the resolution of this thread is. The file in question is 20.6MB; there's a chance it could be corrupted but I doubt it, and I don't have any way of knowing one way or the other. Is there any hope? Removing the plist did not help.

from keka.

aonez avatar aonez commented on May 26, 2024

@t3db0t can you share the file?

from keka.

briatte avatar briatte commented on May 26, 2024

Keka recently started to fail systematically for me, at least with ZIP files.

I'm using Mac OS X 10.9.5, but will soon upgrade, since more and more software is getting erratic on 10.9.x.

DevLog

keka7z(26304) deny file-read-data /Users/fr/Downloads

Process:         keka7z [26304]
Path:            /Applications/Keka.app/Contents/Resources/keka7z
Load Address:    0x104d7a000
Identifier:      keka7z
Version:         ??? (???)
Code Type:       x86_64 (Native)
Parent Process:  Keka [26268]

Date/Time:       2018-08-09 01:27:21.358 +0200
OS Version:      Mac OS X 10.9.5 (13F1911)
Report Version:  8

Thread 0:
0   libsystem_kernel.dylib        	0x00007fff961a1622 __open_nocancel + 10
1   keka7z                        	0x0000000104dd3789 NWindows::NFile::NFind::CFindFile::FindFirst(wchar_t const*, NWindows::NFile::NFind::CFileInfo&, bool) + 393
2   keka7z                        	0x0000000104dd3d81 NWindows::NFile::NFind::CFileInfo::Find(wchar_t const*, bool) + 65
3   keka7z                        	0x0000000104d9aef9 EnumerateDirItems(NWildcard::CCensorNode const&, int, int, UString const&, CObjectVector<UString> const&, CDirItems&, bool) + 2169
4   keka7z                        	0x0000000104d9a582 EnumerateItems(NWildcard::CCensor const&, NWildcard::ECensorPathMode, UString const&, CDirItems&) + 178
5   keka7z                        	0x0000000104d86e5a EnumerateDirItemsAndSort(NWildcard::CCensor&, NWildcard::ECensorPathMode, UString const&, CObjectVector<UString>&, CObjectVector<UString>&, CDirItemsStat&, IDirItemsCallback*) + 90
6   keka7z                        	0x0000000104dc24a1 Main2(int, char**) + 5745
7   keka7z                        	0x0000000104dc5213 main + 67
8   libdyld.dylib                 	0x00007fff95e315fd start + 1

Binary Images:
       0x104d7a000 -        0x104debff3  keka7z (0) <6f79909e-4090-3f44-aed7-4d6a973f0031> /Applications/Keka.app/Contents/Resources/keka7z
    0x7fff95e2e000 -     0x7fff95e31ff7  libdyld.dylib (239.5) <cae7a50d-f156-3d47-81c0-dc41eb975d38> /usr/lib/system/libdyld.dylib
    0x7fff9618c000 -     0x7fff961a8ff7  libsystem_kernel.dylib (2422.115.15) <34abaf79-e147-3c34-b05d-46a566e689cc> /usr/lib/system/libsystem_kernel.dylib

Info on keka7z

~$ /Applications/Keka.app/Contents/Resources/keka7z

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)
Modified by aONe for Keka

Example ZIP file

https://cdn1.sph.harvard.edu/wp-content/uploads/sites/1268/2015/08/stata_part2.zip

from keka.

aonez avatar aonez commented on May 26, 2024

@briatte are you using the latest version of Keka? If you revert to an older version it still fails? I'm preparing a 10.9 environment to test.

from keka.

aonez avatar aonez commented on May 26, 2024

@briatte reproduced it with latest 1.1.2 version.

from keka.

aonez avatar aonez commented on May 26, 2024

@briatte will continue the issue you've reported on #257.

from keka.

briatte avatar briatte commented on May 26, 2024

Thanks for following up, and for the full report in #257.

If you revert to an older version it still fails?

I guess not -- everything was fine before.

I just need to update the OS. Keka is not the only piece of software that is not working properly anymore on 10.9 (starting with Chrome, which is a security liability).

from keka.

aonez avatar aonez commented on May 26, 2024

Thanks a lot @briatte. I'll try to fix it anyway, but for sure updating to the latest supported OS for your machine is always a good idea :)

from keka.

hbast avatar hbast commented on May 26, 2024

I got this bug now for month... can't remember the time, when keka was running without that error.
I'm on OS X 10.12.6 and keka v1.1.3

Is there a way to provide you some kind of log file?

from keka.

csydas avatar csydas commented on May 26, 2024

Would like to add that I was experiencing this, and non-latin characters in the filename were causing the issue for me.

I had a compressed file l11vilkenläkare2, and the umlaut was throwing the problem. By changing to a, it works for me on the file.

from keka.

aonez avatar aonez commented on May 26, 2024

@csydas can't reproduce it. Can you share that file? Was it a ZIP?

from keka.

csydas avatar csydas commented on May 26, 2024

Hi, sure. The file is here: https://mega.nz/#!bTgVmaiY!ZChfQHfjZ40Cc_HRSXqQKjhgo7XjQWVnY9sgB5nmxwI

it is .7z, ~ 330 MB.

from keka.

aonez avatar aonez commented on May 26, 2024

@csydas thanks! It is password protected though...

from keka.

aonez avatar aonez commented on May 26, 2024

@csydas if you replicate this again let me know! Maybe it was a problem with the file access rather than the filename.

from keka.

joelbudgor avatar joelbudgor commented on May 26, 2024

Encountered this problem for the first time today trying to compress a zip on a 2012 Macbook Pro Retina running Mojave 10.14.5. Tried it with a 42 character password it failed. Tried it with shorter passwords, (e.g. 32 characters) it succeeded.

from keka.

aonez avatar aonez commented on May 26, 2024

@joelbudgor can't reproduce this one. Can you try to replicate and open a new issue sharing the password that fails for you? It may be due to some characters in it rather than its size.

from keka.

andresmoraes avatar andresmoraes commented on May 26, 2024

Hi, i got this error:

OS: Versão 12.5 (Compilação 21G72) (x86_64)
Keka: v1.2.55-r5009 (WEB) (Sandboxed) (pt-BR)
Format detected: Unknown
Binary used: keka7zz
Arguments: (
x,
"/Users/xandre/Downloads/Mega Wordpress Elementor.Bundled Course 5 Courses Included.part1.rar",
"-o/Users/xandre/Downloads/Mega Wordpress Elementor.Bundled Course 5 Courses Included.part1.kextraction/Operation",
"-snld",
"-aou",
"-xr!__MACOSX",
"-bsp1"
)

7-Zip (z) 22.00 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-06-15 : Modified by aone for Keka
64-bit locale=en_US.UTF-8 Threads:8

Scanning the drive for archives:
0M Scan /Users/xandre/Downloads/

1 file, 5368709120 bytes (5120 MiB)

Extracting archive: /Users/xandre/Downloads/Mega Wordpress Elementor.Bundled Course 5 Courses Included.part1.rar
0% Open 0%����
ERROR: /Users/xandre/Downloads/Mega Wordpress Elementor.Bundled Course 5 Courses Included.part1.rar
Cannot open the file as archive

Can't open as archive: 1
Files: 0
Size: 0
Compressed: 0

Error code 2

How to solve?

from keka.

gingerbeardman avatar gingerbeardman commented on May 26, 2024

*.part1.rar is part one of an archive, perhaps you have not downloaded all parts or one of the parts is corrupt.

Contact Udemy for support on your course purchase.

from keka.

aonez avatar aonez commented on May 26, 2024

@andresmoraes the file is not detected as RAR.

Format detected: Unknown

So most probably it's an empty file or a damaged file. Download it again.

Create a new ticket if the issue persists and you're sure it is a valid file.

from keka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.