Bug 447935 - try to make a 7-zip file. display success on notifications. but no 7z file create.
Summary: try to make a 7-zip file. display success on notifications. but no 7z file cr...
Status: RESOLVED DUPLICATE of bug 436919
Alias: None
Product: ark
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.12.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-04 13:49 UTC by 1312264863
Modified: 2022-02-21 12:48 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
no file display on Ark. (222.96 KB, image/png)
2022-01-04 13:49 UTC, 1312264863
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 1312264863 2022-01-04 13:49:35 UTC
Created attachment 145108 [details]
no file display on Ark.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. open Ark app.
2. click `Create New Archive...` .
3. fill input box with
/home/mycelium
edk2
7-zip archive
4. click `OK` button.
5. click `Add Files` button
6. select my folder and add.


OBSERVED RESULT

no file create.
no file display on Ark.
and a strange process bar act.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Max 2022-02-20 13:02:41 UTC
Do you have p7zip or 7zip package? I suspect you have 7z from original 7-Zip and ark doesn't support it yet. Could you show the output of `7z i|grep 7-Zip'
Comment 2 1312264863 2022-02-20 15:14:16 UTC
(In reply to Max from comment #1)
> Do you have p7zip or 7zip package? I suspect you have 7z from original 7-Zip
> and ark doesn't support it yet. Could you show the output of `7z i|grep
> 7-Zip'

command `7z i | grep 7-Zip` output
`7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21`

Did Ark has it's own 7z file create? Or what should I do to solve this problem. Thanks
Comment 3 Max 2022-02-20 15:33:20 UTC
(In reply to 1312264863 from comment #2)
> command `7z i | grep 7-Zip` output
> `7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21`
Good.

> Did Ark has it's own 7z file create? Or what should I do to solve this
> problem. Thanks
Ark uses 7z binary from p7zip package to create 7z archives. Could you try from the terminal
`7z a archive.7z path/to/you/folder'
Does it work?
Comment 4 1312264863 2022-02-20 15:49:09 UTC
(In reply to Max from comment #3)
> (In reply to 1312264863 from comment #2)
> > command `7z i | grep 7-Zip` output
> > `7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21`
> Good.
> 
> > Did Ark has it's own 7z file create? Or what should I do to solve this
> > problem. Thanks
> Ark uses 7z binary from p7zip package to create 7z archives. Could you try
> from the terminal
> `7z a archive.7z path/to/you/folder'
> Does it work?

Yes it works. **But can I use tools with graphics(Ark) to make a 7z file?**. Not a command.
I love KDE because of it's graphics tools.
You said Ark uses 7z bin from p7zip package. So Can I convert to this package?
Comment 5 Max 2022-02-20 18:15:48 UTC
> Yes it works. **But can I use tools with graphics(Ark) to make a 7z file?**.

Well, Ark should just work, the question what's wrong with your setup.

> I love KDE because of it's graphics tools.
> You said Ark uses 7z bin from p7zip package. So Can I convert to this
> package?

You already have p7zip package, but it provides console utilities only. You may try other GUI, e.g. file-roller or xarchiver.
Comment 6 1312264863 2022-02-21 10:29:41 UTC
(In reply to Max from comment #5)
> Well, Ark should just work, the question what's wrong with your setup.
I tested some other files/folders and Ark does 7z compression fine. 
But this folder.
I guess if there are too many small files in this folder.
This folder is not very big, just 684MiB.

Another problem I found on copy or delete this folder,
command `cp -r` and `rm -rf` looks much faster than the KDE desktop's mouse context menu.
Copy this folder in cp command use 9 seconds.
Delete this folder in rm command use 3 seconds.
Use KDE mouse context menu to delete this folder use 125 seconds.
and copy this folder use 92 seconds.
Is there something wrong with the kDE copy code, or is there some other tasks done by KDE?
Comment 7 Max 2022-02-21 12:48:07 UTC
(In reply to 1312264863 from comment #6)
> (In reply to Max from comment #5)
> > Well, Ark should just work, the question what's wrong with your setup.
> I tested some other files/folders and Ark does 7z compression fine. 
> But this folder.
> I guess if there are too many small files in this folder.
> This folder is not very big, just 684MiB.

Not that many files like in bug 436919 (looks like the same problem, so I'm closing this report).
You probably need to tune your system (sorry, can't help with Linux at all).

> Another problem I found on copy or delete this folder,
> command `cp -r` and `rm -rf` looks much faster than the KDE desktop's mouse
> context menu.
> Copy this folder in cp command use 9 seconds.
> Delete this folder in rm command use 3 seconds.
> Use KDE mouse context menu to delete this folder use 125 seconds.
> and copy this folder use 92 seconds.

oh, it does not look right. Sorry, no idea who to debug this.

*** This bug has been marked as a duplicate of bug 436919 ***