Version: 2.14 (using KDE 4.4.4) OS: Linux Ark cannot handle 7z and *.rpm archives whereas file-roller has no problem with them. When I tried to open a 7z archive, Ark did not open it and did not even produce any error message about unsupported type etc., Reproducible: Always Steps to Reproduce: Just open a file with .7z and .rpm extension OS: Linux (i686) release 2.6.34.7-0.7-default Compiler: gcc
Ark has supported 7z files for quite some time, and rpm support has been implemented in the upcoming 4.7.0 release. What error message do you get when you try to open a 7z archive? You only need to have p7zip installed.
Look at the output below. pbhat@linux-9x1k:~> rpm -qa|grep p7zip p7zip-9.13-1.pm.7.1.i586 pbhat@linux-9x1k:~> cd Temp pbhat@linux-9x1k:~/Temp> ark ToDoList.7z I see no error message in the GUI or when called from the console as above. File-roller which may also depend upon p7zip works fine. Thanks.
Does '7z l -slt ToDoList.7z' work as expected?
Yes. Please look at the output below. pbhat@linux-9x1k:~> cd Temp/ pbhat@linux-9x1k:~/Temp> ls -l ToDoList.7z -rw-r--r-- 1 pbhat users 290055 2011-02-10 19:45 ToDoList.7z pbhat@linux-9x1k:~/Temp> 7z l -slt ToDoList.7z 7-Zip 9.13 beta Copyright (c) 1999-2010 Igor Pavlov 2010-04-15 p7zip Version 9.13 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU) Listing archive: ToDoList.7z -- Path = ToDoList.7z Type = zip Physical Size = 290055 ---------- Path = ToDoList Folder = + Size = 0 Packed Size = 0 Modified = 2011-02-09 22:27:54 Created = Accessed = Attributes = D.... Encrypted = - Comment = CRC = Method = Store Host OS = FAT Version = 10 Path = ToDoList/debug Folder = + Size = 0 Packed Size = 0 Modified = 2011-02-09 22:28:06 Created = Accessed = Attributes = D.... Encrypted = - Comment = CRC = Method = Store Host OS = FAT Version = 10 Path = ToDoList/debug/main.o Folder = - Size = 114009 Packed Size = 27876 Modified = 2011-02-09 06:09:22 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = BA7F2F35 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/debug/moc_todowidget.cpp Folder = - Size = 2659 Packed Size = 1021 Modified = 2011-02-09 06:10:16 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 79D2C793 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/debug/moc_todowidget.o Folder = - Size = 125155 Packed Size = 30326 Modified = 2011-02-09 06:10:18 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 525145E4 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/debug/qrc_icons.cpp Folder = - Size = 166592 Packed Size = 43202 Modified = 2011-02-09 22:23:56 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 7A349175 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/debug/qrc_icons.o Folder = - Size = 39287 Packed Size = 34448 Modified = 2011-02-09 22:23:56 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 1C3EA964 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/debug/todowidget.o Folder = - Size = 442681 Packed Size = 102793 Modified = 2011-02-09 22:25:32 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 0F7FE552 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/icons.qrc Folder = - Size = 102 Packed Size = 89 Modified = 2011-02-09 22:23:42 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 0CDD0174 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/main.cpp Folder = - Size = 183 Packed Size = 144 Modified = 2011-02-08 23:07:12 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 1A37C84A Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/Makefile Folder = - Size = 5839 Packed Size = 1061 Modified = 2011-02-09 22:23:52 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 48FC475E Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/Makefile.Debug Folder = - Size = 6114 Packed Size = 1675 Modified = 2011-02-09 22:23:52 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 821BC721 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/Makefile.Release Folder = - Size = 6208 Packed Size = 1685 Modified = 2011-02-09 22:23:52 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = F8909043 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/release Folder = + Size = 0 Packed Size = 0 Modified = 2011-02-09 22:27:54 Created = Accessed = Attributes = D.... Encrypted = - Comment = CRC = Method = Store Host OS = FAT Version = 10 Path = ToDoList/Thumbs.db Folder = - Size = 8704 Packed Size = 5890 Modified = 2011-02-09 22:23:38 Created = Accessed = Attributes = ..HSA Encrypted = - Comment = CRC = AF5B77DD Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/todolist.png Folder = - Size = 31714 Packed Size = 31714 Modified = 2008-10-20 02:33:00 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 412C9458 Method = Store Host OS = FAT Version = 10 Path = ToDoList/ToDoList.pro Folder = - Size = 347 Packed Size = 198 Modified = 2011-02-09 22:05:50 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 8E9D029A Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/ToDoList.pro.user Folder = - Size = 11086 Packed Size = 1551 Modified = 2011-02-09 22:27:22 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 68D1007D Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/todolistdbconnect.h Folder = - Size = 1835 Packed Size = 766 Modified = 2011-02-09 05:58:38 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 407646B5 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/todowidget.cpp Folder = - Size = 2537 Packed Size = 811 Modified = 2011-02-09 22:01:56 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 5AFE1782 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/todowidget.h Folder = - Size = 459 Packed Size = 260 Modified = 2011-02-09 06:05:36 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 59DC891D Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/todowidget.ui Folder = - Size = 2630 Packed Size = 661 Modified = 2011-02-09 22:25:30 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 98A7E189 Method = LZMA Host OS = FAT Version = 20 Path = ToDoList/ui_todowidget.h Folder = - Size = 3500 Packed Size = 1092 Modified = 2011-02-09 22:25:30 Created = Accessed = Attributes = ....A Encrypted = - Comment = CRC = 5A1AFC29 Method = LZMA Host OS = FAT Version = 20
Does it happen to any 7z file? Can you attach one sample file that causes the problem? Furthermore, can you try using a newer KDE SC version? 4.4.4 is a bit old, and the problem can have already been solved in a newer release.
Created attachment 57391 [details] Ark window is empty opening this 7Z file. Please see the attachment which is not opened by Ark. Sorry I cannot upgrade till Opensuse 11.4 is released.That is to ensure my daily work is not affected by the possible bugs.
Hmm, this is actually a zip file with a 7z extension. I've uncovered some bugs here in Ark, a fix should be out soon. Thanks for the report.
That should mean file-roller is able to recognise this disguised zip file, but not Ark. Hope Ark will soon have the same dependability as file-roller. cheers.
*** Bug 310131 has been marked as a duplicate of this bug. ***
Git commit d3d3e5928b56db8446bac42ea334d940a3b7b37b by Ragnar Thomsen. Committed on 10/09/2015 at 06:39. Pushed by rthomsen into branch 'Applications/15.08'. Improve detection of mimetype when opening archive Previously, the filename extension had higher priority than file content when determining mimetype. When opening an archive that had a wrong extension (as in bug 265971), this resulted in Ark failing to open it. With this commit the mimetype is determined from file content. Additionally, a warning is shown in console output when mimetype from extension and content do not match. For tar.gz, tar.bz2 and tar.xz archives, the mimetype from filename extension is still used. This is due to these archives being detected as singlefile gz, bz2 and xz archives when using content, and Ark would then use the singlefileplugin instead of the libarchive plugin. Related: bug 101170 FIXED-IN: 15.08.1 REVIEW: 124442 M +24 -6 kerfuffle/archive_kerfuffle.cpp http://commits.kde.org/ark/d3d3e5928b56db8446bac42ea334d940a3b7b37b