Version: (using KDE 3.5.10) OS: Linux Installed from: Debian testing/unstable Packages When I try to preview a file inside a 7z archive in ark, I get a blank preview. This is because ark doesn't extract well the file I want to preview, here is a test with strace, I open ark and click on "my.txt" to view it from inside ark : ''' % echo lorem > my.txt % 7z a my.7z my.txt 7-Zip 4.58 beta Copyright (c) 1999-2008 Igor Pavlov 2008-05-05 p7zip Version 4.58 (locale=C,Utf16=on,HugeFiles=on,2 CPUs) Scanning Creating archive my.7z Compressing my.txt Everything is Ok % strace -f -e execve ark my.7z execve("/usr/bin/ark", ["ark", "my.7z"], [/* 40 vars */]) = 0 Process 6028 attached Process 6029 attached [pid 6029] execve("/bin/7z", ["7z", "l", "/tmp/at/my.7z"], [/* 40 vars */]) = -1 ENOENT (No such file or directory) [pid 6029] execve("/usr/bin/7z", ["7z", "l", "/tmp/at/my.7z"], [/* 40 vars */]) = 0 [pid 6029] execve("/usr/lib/p7zip/7z", ["/usr/lib/p7zip/7z", "l", "/tmp/at/my.7z"], [/* 40 vars */]) = 0 Process 6029 detached --- SIGCHLD (Child exited) @ 0 (0) --- Process 6030 attached [pid 6030] execve("/bin/7z", ["7z", "x", "/tmp/at/my.7z", " my.txt", "-o/tmp/kde-x/ark4VWj3m/"], [/* 40 vars */]) = -1 ENOENT (No such file or directory) [pid 6030] execve("/usr/bin/7z", ["7z", "x", "/tmp/at/my.7z", " my.txt", "-o/tmp/kde-x/ark4VWj3m/"], [/* 40 vars */]) = 0 [pid 6030] execve("/usr/lib/p7zip/7z", ["/usr/lib/p7zip/7z", "x", "/tmp/at/my.7z", " my.txt", "-o/tmp/kde-x/ark4VWj3m/"], [/* 40 vars */]) = 0 Process 6030 detached --- SIGCHLD (Child exited) @ 0 (0) --- Process 6028 detached % ''' Notice that the file is named "my.txt", but ark extracts " my.txt", which fails. Looking in /tmp/kde-x/ark4VWj3m, I find no file. I see a problem here : http://websvn.kde.org/trunk/KDE/kdeutils/ark/plugins/7zipplugin/7zipplugin.cpp?revision=869788&view=markup in p7zipInterface::processLine but I think this link is about ark in KDE4, which then has the same problem as ark in KDE3 (the one I'm using and I'm reporting the bug on) thanks
Hi, and thank you for your bug report. I have tried your method on the Ark currently in trunk, and it works fine. As for kde3 ark, there are no active developers so I doubt it's going to be fixed any time soon. I do realize the current KDE release (4.1.2) does not have 7z support, but as soon as 4.2 is released I encourage you to try the new Ark with 7z support and more.
Here using: Qt: 4.4.3 KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)) kdelibs svn rev. 899135 / kdebase svn rev. 899135 kdeutils svn rev. 899332 on ArchLinux x86_64 - Kernel 2.6.27.8 I think this is fixed. I can open the 7z file, the my.txt file inside is listed and It can be previewed :)
Have you tried the KDE4.2.x Ark version ? Does it works for you? Thanks
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!