! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"Create Archive..." fails with file-roller v3.12.1
Status:
RESOLVED: FIXED
Product:
Thunar-archive-plugin
Component:
General

Comments

Description fractophil+bugzilla 2014-04-17 04:44:28 CEST
When I try to use the "Create Archive..." option from the context menu, the plugin complains that I don't have an archive manager, even though file-roller v3.12.1 is installed on my computer.

Steps to reproduce:
1) Start Thunar and right click on any file.
2) Select "Create Archive..."

Actual results:
I see a dialog box with the message, "Failed to create archive. No suitable archive manager found."

Expected results:
file-roller should create an archive from the selected file.

Build information:
thunar-archive-plugin v0.3.1-3 (Arch Linux package)
file-roller v3.12.1-1 (Arch Linux package)

Additional information:
The problem appears to be caused by a rename of the .desktop file for file-roller, starting with v3.12.1.

According to <http://ftp.gnome.org/pub/gnome/sources/file-roller/3.12/file-roller-3.12.1.changes>, in v3.12.1 of file-roller, the .desktop file was renamed to add D-Bus activation capability. The relevant page in the file-roller bug tracker is here: <https://bugzilla.gnome.org/show_bug.cgi?id=728009>. On my computer, the new name is 'org.gnome.FileRoller.desktop'.

A quick fix would be to add support for the new .desktop file name. In the future, it may be worth investigating the new D-Bus activation interface.
Comment 1 4javiereg4 2014-04-17 14:42:12 CEST
I can confirm that renaming /usr/lib/xfce4/thunar-archive-plugin/file-roller.tap to org.gnome.FileRoller.tap solve the issue.
Arch Linux packages here, too.
Comment 2 Evangelos Foutras 2014-04-23 19:39:39 CEST
Created attachment 5449 
Simple patch that adds a symlink with the new .desktop file name
Comment 3 fractophil+bugzilla 2014-04-24 06:49:24 CEST
I can confirm that the patch (attachment 5449 ) fixes the issue.

(I upgraded to the Arch Linux package thunar-archive-plugin 0.3.1-4, which is standard 0.3.1 plus the patch, and it worked fine. Thanks!)
Comment 4 Landry Breuil editbugs 2017-04-06 16:37:07 CEST
*** Bug 10948 has been marked as a duplicate of this bug. ***
Comment 5 Andre Miranda editbugs 2017-05-21 02:11:47 CEST
I found this problem while porting the plugin to GTK3:
https://github.com/andreldm/thunar-archive-plugin/commit/c13054240f1cd75e3a198e130ec7de877548e6f4

The patch solves the problem, if someone (I'm looking at you Landry) could push it to master people wouldn't have to wait until the port is released.
Comment 6 Andre Miranda editbugs 2017-12-06 04:30:32 CET
This fix is already in master, it'll be available in 0.4.0 which will only be compatible with Thunar 1.7.0+ (development release).

Bug #10826

Reported by:
fractophil+bugzilla
Reported on: 2014-04-17
Last modified on: 2017-12-06
Duplicates (1):
  • 10948 Install an additional tap symlink for file-roller

People

Assignee:
Jannis Pohlmann
CC List:
7 users

Version

Version:
unspecified

Attachments

Additional information