Summary: | Krusader is unable to "browse" a zip file (or a 7z one) in Kubuntu 15.04 | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | Toni Asensi Esteve <toni.asensi> |
Component: | krarc | Assignee: | Davide Gianforte <davide> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | davide |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
The "archive" configuration in Krusader
After the «Auto Configure» button is pressed |
Description
Toni Asensi Esteve
2015-06-27 09:32:56 UTC
It seems Krusader is unable to load libkio_krarc.so. You can override the install directory (actually /usr/lib/x86_64-linux-gnu/plugins/) by using -DQT_PLUGIN_INSTALL_DIR= in cmake command. I don't have the Kubuntu VM that I use for testing and I don't remember if I forced the parameter. Atm, I'm testing Debian Jessie, as soon as possible I'll install a new Kubuntu to check. The installation path for the plugins is wrong; try to configure adding -DQT_PLUGIN_INSTALL_DIR=lib/x86_64-linux/gnu/qt5/plugins; this should install likbio_iso and likbio_krarc in the correct folder. Thanks, I supposed it was meant /usr/lib/x86_64-linux-gnu/qt5/plugins and so the final commands that were used in this new test were: cmake ../krusader -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_C_FLAGS:STRING="-O2 -fPIC" -DCMAKE_CXX_FLAGS:STRING="-O2 -fPIC" -DQT_PLUGIN_INSTALL_DIR=/usr/lib/x86_64-linux-gnu/qt5/plugins make sudo make install and it answered: [...] -- Installing: /usr/lib/x86_64-linux-gnu/qt5/plugins/libkio_krarc.so -- Installing: /usr/share/kservices5/krarc.protocol -- Installing: /usr/lib/x86_64-linux-gnu/qt5/plugins/libkio_iso.so -- Installing: /usr/share/kservices5/iso.protocol -- Installing: /etc/xdg/kio_isorc [...] Now Krusader can "browse" the file /home/user/Desktop/user.zip and it can go to krarc:/home/user/Desktop/user.zip Although when Krusader tries to "browse" the file /home/user/Desktop/user.7z then Ark is executed. In Konsole is seen "/usr/bin/ark -caption Ark /home/user/Desktop/user.7z" Trying to go with Krusader to the "address" krarc:/home/user/Desktop/user.7z the error that is seen is the old one: Error: The directory /home/user/Desktop/user.7z does not exist. Note: The "p7zip-full" package is installed. Executing dpkg -l | grep 7z writes ii p7zip-full 9.20.1~dfsg.1-4.1 amd64 7z and 7za file archivers with high compression ratio I'll attach some screenshots of the archive configuration in Krusader. Created attachment 93367 [details]
The "archive" configuration in Krusader
Created attachment 93368 [details]
After the «Auto Configure» button is pressed
fixed in commit 4885f99568d44360b94d3e27dc203cda78551431 Thanks to Toni for the patch :) |