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

RAR Extraction with Chinese/Japanese characters in password fails #335

Closed
jtiiii opened this issue Nov 28, 2018 · 10 comments
Closed

RAR Extraction with Chinese/Japanese characters in password fails #335

jtiiii opened this issue Nov 28, 2018 · 10 comments
Assignees
Milestone

Comments

@jtiiii
Copy link

jtiiii commented Nov 28, 2018

It's spent 1hours on extracting.
837fb5889b3fb9fd114cff69127f1f81
That rar file's size has over 10GB. But I think not spent so much time.

Finally , I extract it by WINRAR 5.0。
The file owner said it use RAR5 format to compression.
I think is problem.

@issuelabeler issuelabeler bot added the rar label Nov 28, 2018
@aonez aonez self-assigned this Nov 28, 2018
@aonez aonez added the bug label Nov 28, 2018
@aonez aonez added this to the 1.1.7 milestone Nov 28, 2018
@aonez
Copy link
Owner

aonez commented Nov 28, 2018

Keka supports RAR v5, so the problem must be other. Looking at the screenshot, I assume the progress bar maybe did not gave any actual progress? If it's so, there must be another problem.

Can you enable the console log, try again and let me know what it says in the Console.app?

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

@aonez
Copy link
Owner

aonez commented Nov 28, 2018

By the way no need to wait, just launch the process with the console log enabled and there must be some output in the first seconds.

@aonez
Copy link
Owner

aonez commented Nov 28, 2018

@jtiiii just did a test with a 10+GB parted v5 RAR file with no problem. So I'm sure there was another problem, maybe a file access one, that Keka did not handled properly and the process hang there. So will be interesting to see the console output if you can replicate this one.

@aonez aonez added the core label Nov 28, 2018
@aonez
Copy link
Owner

aonez commented Nov 28, 2018

@jtiiii just found that this version has two bugs, one that prevents RAR progress to be shown in the progress bar, and another that makes a bad password RAR extraction not being detected. So ignore all the previous messages. I suppose you mistyped the password and the task never needed. Sorry about that one.

@aonez
Copy link
Owner

aonez commented Nov 28, 2018

@jtiiii can you check this version works with that file: https://t.keka.io/Keka.r3153-rar.7z

@jtiiii
Copy link
Author

jtiiii commented Nov 29, 2018

@aonez
I used this version you gave. Can output errors.
But it seem cannot support Chinese passwords.
25feee60-4929-48d6-a34e-7b5265b42f1f
(On the top used RAR4 format, and the other one used RAR5. They all use Chinese passwords.)

I made a RAR4 file for test:测试文件.zip(There are two rar-part files inside)
This password:测试文件
The WinRAR can extract it normally.

@aonez
Copy link
Owner

aonez commented Nov 29, 2018

Thanks @jtiiii. It seems that also compression (ZIP) with this characters fail.

@aonez aonez changed the title Extracting RAR5 files not working. Compression/Extraction with Chinese/Japanese characters in password fail for ZIP and RAR Nov 29, 2018
@aonez aonez changed the title Compression/Extraction with Chinese/Japanese characters in password fail for ZIP and RAR Compression/Extraction with Chinese/Japanese characters in password fails for ZIP and RAR Nov 29, 2018
@aonez aonez changed the title Compression/Extraction with Chinese/Japanese characters in password fails for ZIP and RAR ZIP and RAR Compression/Extraction with Chinese/Japanese characters in password fails Nov 29, 2018
@aonez aonez modified the milestones: 1.1.7, 1.1.8 Nov 30, 2018
@aonez
Copy link
Owner

aonez commented Nov 30, 2018

cannot support Chinese passwords

Will be fixed in 1.1.8.

@aonez aonez added unrar and removed rar labels Dec 3, 2018
@aonez
Copy link
Owner

aonez commented Dec 3, 2018

@jtiiii can you confirm this new build works: https://t.keka.io/Keka.r3157-rar.7z

Here an example file with your provided password (测试文件) that fails in 1.1.6-1.1.7, but works with this new build: 测试文件.txt.rar.zip

@aonez aonez changed the title ZIP and RAR Compression/Extraction with Chinese/Japanese characters in password fails RAR Extraction with Chinese/Japanese characters in password fails Dec 3, 2018
@aonez
Copy link
Owner

aonez commented Dec 4, 2018

Should be fixed in 1.1.8.

@aonez aonez closed this as completed Dec 4, 2018
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

2 participants