GerbilSoft / rom-properties

ROM Properties Page shell extension
GNU General Public License v2.0
471 stars 36 forks source link

External Drive #223

Open Amnesia1000 opened 4 years ago

Amnesia1000 commented 4 years ago

Rom-properties does not work correctly on Linux on external disks. Thumbnails are not shown, but the rom-properties tab. Error in Linux Manjaro with KDE (updated).

GerbilSoft commented 4 years ago

Can you post a screenshot? There might be some setting preventing use on external disks.

It might also be an error in detecting "slow" file systems, in which case there's a configuration option in rp-config to ignore that.

Amnesia1000 commented 4 years ago

Screenshot_20200622_222516 In this image the same file is seen first on an external disk where the thumbnail is not seen, and next to it on an internal disk where it is shown

Screenshot_20200622_224714 This image shows how the other types of thumbnails are displayed on the external disk.

GerbilSoft commented 4 years ago

What file system is the external disk? If you run rp-config, select the Options tab, and check the "Enable thumbnailing and metadata extraction on network file systems" option, and apply changes, do the thumbnails work properly?

Amnesia1000 commented 4 years ago

when I put rp-config I get this "ERROR: Could not find rp_show_config_dialog () in any installed rom-properties plugin."

Amnesia1000 commented 4 years ago

I updated the git and recompiled and now it shows me the thumbnails of the 3DS files on the external disk. I did not make any type of modification in the system or in Dolphin, something in the last git must have solved it, or when putting make install something should not have been copied previously (which would be rare).

But when I put rp-config it keeps saying "*** ERROR: Could not find rp_show_config_dialog () in any installed rom-properties plugin.". How can I sort that out?

GerbilSoft commented 4 years ago

Currently there's no GTK-based version of rp-config, so it only works if the KDE version is installed.

I'll have to look into writing a GTK-based version at some point.

The latest git version now treats FUSE file systems as if they're local. I assume your external drive is formatted as NTFS, which uses a FUSE-based file system driver (ntfs-3g), which explains why it's working now.

EDIT: Got this confused with a different post. When you custom-compiled rom-properties, did you specify -DCMAKE_INSTALL_PREFIX=/usr? If not, then the plugin directories might not be set up correctly, so you'll need to uninstall the custom-compiled version (make uninstall), rerun cmake with -DCMAKE_INSTALL_PREFIX=/usr, then reinstall.

What is the full path of rom-properties-kf5.so on your file system when installed with .deb packages compared to when installed with the custom-compiled version?

Amnesia1000 commented 4 years ago

I'm in KDE Manjaro (Arch base), no .deb files, rom-properties-kf5.so is in /usr/lib/qt/plugins/rom-properties-kf5.so

Yes, I compile with DCMAKE_INSTALL_PREFIX=/usr

GerbilSoft commented 4 years ago

Right, .deb packages was for a different issue.

On Gentoo, the library is installed in /usr/lib64/qt5/plugins/rom-properties-kf5.so. Not sure if Arch is supposed to use qt5 as well or if there's a bug.

Can you try running rp-config --debug? That will show where it tries loading the libraries from.

Amnesia1000 commented 4 years ago

rp-config --debug: [amnesia@manjaro build]$ rp-config --debug Active desktop environment: KF5 *** ERROR: Could not find rp_show_config_dialog() in any installed rom-properties plugin.

In Arch it is in the same folder, since lib64 is a symbolic link to lib

Amnesia1000 commented 4 years ago

Here we are talking about the tab error, right?

GerbilSoft commented 4 years ago

This is for the tab error and rp-config in general.

It seems that the rp-stub binary didn't find the KDE development packages, but that doesn't make sense, since the KDE UI frontend (the .so file) was built. I'll take a look at setting up a Manjaro VM later today to see if there's something off with the CMake scripts.

Amnesia1000 commented 4 years ago

Ok.