Bug 484404 - Fails to find plugin for 7z files
Summary: Fails to find plugin for 7z files
Status: RESOLVED WORKSFORME
Alias: None
Product: ark
Classification: Applications
Component: plugins (show other bugs)
Version: 24.02.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-24 18:42 UTC by Alastor Tenebris
Modified: 2024-05-21 02:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alastor Tenebris 2024-03-24 18:42:07 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Opening a 7zip file in flatpak'd Ark throws a "No suitable plugin found. Ark does not see to support this file type" error.

STEPS TO REPRODUCE
1. Use a file manager to open a 7z file with Ark.


OBSERVED RESULT
Ark displays a "No suitable plugin found. Ark does not see to support this file type" error and fails to open the archive.

EXPECTED RESULT
The archive opens.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 39 Kinoite
(available in About System)
KDE Plasma Version: ¯\_(ツ)_/¯ It's the Flatpak version
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
7zip files don't even show up in the open file dialog.
Comment 1 Alastor Tenebris 2024-03-24 18:57:11 UTC
So the 7z plugin in settings is grayed out, with the tooltip saying "The plugin cannot be used because one or more required executables are missing. Check your installation."

Looking in the bin directory of the installation, 7z isn't there. p7zip is in the flatpak manifest though.

The build log for p7zip has these lines:
mkdir: cannot create directory ‘/usr/local’: Read-only file system
mkdir: cannot create directory ‘/usr/local’: Read-only file system
- installing /usr/local/bin/7z
cp: cannot create regular file '/usr/local/lib/p7zip/7z': No such file or directory
chmod: cannot access '/usr/local/lib/p7zip/7z': No such file or directory
strip: '/usr/local/lib/p7zip/7z': No such file
./install.sh: line 12: /usr/local/bin/7z: No such file or directory
./install.sh: line 13: /usr/local/bin/7z: No such file or directory
chmod: cannot access '/usr/local/bin/7z': No such file or directory

So I think it's trying to install in /usr/local rather than /usr
Comment 2 Pedro V 2024-04-29 10:42:13 UTC
Can't reproduce, but it suspiciously seems like you attempted to use it during a period of temporary breakage: https://github.com/flathub/org.kde.ark/pull/82

Please retry, theoretically it should work already.
Comment 3 Bug Janitor Service 2024-05-14 03:45:24 UTC
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!
Comment 4 Alastor Tenebris 2024-05-21 02:52:57 UTC
Forgot I reported this. Yeah, it works fine now.