SUMMARY Ever since I use Krusader I can browse into rpm archives by just clicking on them, just like any other archive. Now I get a 'the folder xxx.rpm doesn't exist' STEPS TO REPRODUCE 1. Double click on rpm package 2. 3. OBSERVED RESULT Error that folder doesn't exist EXPECTED RESULT Should open as a folder, a browsable archive SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION Opensuse tumbleweed x86_64
I tried this in opensuse Leap 15.1 on the same pc, with the same krusader version there is no problem entering rpm packages, so it must be something else that broke krarc
What is the version of RPM package on both system?
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!
Sorry, have been away for two weeks. This are the rpm's installed: tumbleweed: krusader-2.7.1-2.2.x86_64 15.1: krusader-2.7.1-lp151.2.2.x86_64 Both have the same version number
Created attachment 121422 [details] Krusader history Krusader history shows conflict between file: and krarc:
(In reply to Davide Gianforte from comment #5) > Created attachment 121422 [details] > Krusader history > > Krusader history shows conflict between file: and krarc: I tried what you showed and get the same. I can browse inside by selecting krarc, but when entering the folder structure, have to repeat for each folder I enter. Is there a fix for this? And what caused it?
I can replicate it on archlinux with both the krusader 2.7.1 from the repos and the krusader-git 2.8.0.dev.r6038.ga4ad17ba-1 from aur for me it effects both rpm and rar like what was reported it shows both a krarc and file uri with the file uri complaining folder does not exist, switching back to the krarc uri in history the proper contents listing is shown
Rar should be fixed in KIO-5.62.0, can you check?
Updated to KIO-5.62.0 and rar is working. thank you! rpm still isnt, the error message is about the rpm command missing, AFIAK libarchive is supposed to be used and not rpm itself. at least with ark.
*** Bug 414489 has been marked as a duplicate of this bug. ***
Git commit a6d068dee88af873b4aef4ff8cd369ed709ba537 by Davide Gianforte. Committed on 01/01/2020 at 11:38. Pushed by gengisdave into branch 'master'. [KUrlNavigator] Add RPM support to krarc: This patch let users who have Krusader installed to browse RPM as archives using the `krarc` protocol without conflicts with the `file` protocol. FIXED: [ 408082 ] krarc stopped working with rpm Differential Revision: https://phabricator.kde.org/D26155 M +2 -0 src/filewidgets/kurlnavigator.cpp https://commits.kde.org/kio/a6d068dee88af873b4aef4ff8cd369ed709ba537
Unfortunately, the hardcoded list still misses a bunch of MIME types supported by krarc: application/gzip application/x-bzip application/x-lzma application/x-xz application/x-java-archive So, compressed files that are not tarballs, and Java JAR archives (which are just ZIP archives with a .jar extension). Shall I open a new bug report for those?
The nasty part about that is that in Krusader, the list of MIME types to open with krarc is configurable (and it actually works on more MIME types than are configured by default), but having the list hardcoded in KF5-KIO defeats that entirely and breaks all the formats not included in the hardcoded list.