totem-like/firefox-like plugin installer for file-roller

Bug #148084 reported by Jonathan Ernst
186
This bug affects 19 people
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Wishlist
One Hundred Papercuts
Invalid
Undecided
Unassigned
file-roller (Ubuntu)
Fix Released
Wishlist
Ubuntu Desktop Bugs

Bug Description

When opening an unsupported archive type using file roller, it would be better to tell the user that the archive type is not supported by his system and to provide him a list of package to be downloaded and installed automatically if he chooses to.

This would help users who are trying to open rar, 7zip and so on archives.

This would work the same way as when totem doesn't find a particular codec or firefox needs a plugin.

This might require some work upstream too.

Related branches

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report.

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
Changed in fileroller:
status: Unknown → New
Changed in file-roller:
status: New → Triaged
Revision history for this message
Duncan Hawthorne (duncan.hawthorne) wrote :

+1 for this

it is as simple as "sudo apt-get install unrar" etc, but so confusing to any new user who will think file-roller is flawed

Revision history for this message
Sergey Nizovtsev (snizovtsev) wrote :

I have written a patch to file-roller to handle 7zip, rar and ace archives.
Perhaps it would be useful
P.S. This is my first patch

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks for your work, I've put a link to your patch on the upstream report to see what the developers think about it, thanks you.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

+5! I have said the same in comments several times.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

I have adapted the patch of Sergey to the latest intrepid version of file-roller (2.24.0-0ubuntu1) :).
This is my first patch (well and it's not mine...), so someone with experience should revise it.
The only thing that is missing in this patch2.0 is the part of the translation to russian. I have not added it because gedit doesn't display the characters :? By the moment, it works.

Nothing else, I'm sending it to upstream too.

Revision history for this message
Martin Olsson (mnemo) wrote :

This bug (or more like feature request) is a great idea. I really hope this can be implemented. I was very glad to find out that there is people working on patches for this already!!

Revision history for this message
antistress (antistress) wrote :

i was about to fill a similar bug report so +1

Revision history for this message
Loïc Minier (lool) wrote :

Sergey, Pablo, this is great! Thanks for your efforts.

Some comments about the changes:
i) the new gnome-archive-install script would preferably be declared as a _SCRIPT rather than _DATA, and needs not be invoked with python (as it has a shebang); see also http://bugzilla.gnome.org/show_bug.cgi?id=565879 which is about fixing the way isoinfo.sh is run and declared in Makefile.am

ii) the three new errors returning FR_PROC_ERROR_GENERIC, FR_PROC_ERROR_FORMAT_NOT_SUPPORTED, and FR_PROC_ERROR_GENERIC respectively all have the same description; would be best to use a different message for each error case so that we can easily identify the error when we receive bug reports with this message

iii) I'd like to find a way to upstream this; I expect GNOME upstream would rather have a PackageKit implementation (and for now I think Ubuntu would be best with this gnome-app-install based implementation), so perhaps it makes sense to have this plugin conditionally built, or use a wrapper which dispatches between a (to be written) PK implementation and our GAI one? Please share your thoughts!

iv) The patch requires some packaging changes (python policy compliance, new deps etc.), but I can take care of that

Revision history for this message
Loïc Minier (lool) wrote :

NB: This patch might allow us to save space on the CD by not installing all of file-roller's recommends and rely on the discovery mechanism for uncommon formats; so it's another plus for this patch.

Revision history for this message
Pablo Castellano (pablocastellano) wrote :

Hello Loïc!
Just to say that unfortunately at these days I don't have any free time and I won't be able to revise the patch again at least until March.
So if any of you have any free time and can do it, please do it!

Revision history for this message
Sebastien Bacher (seb128) wrote :

unsubscribing the sponsor team for now since there is some work required there

Patrick (veinor)
Changed in hundredpapercuts:
status: New → Invalid
Revision history for this message
Adam Niedling (krychek) wrote :

Karmic still doesn't offer to install unrar when trying to open a rar file.

Revision history for this message
mouse (mr.mouse) wrote :

I think this bug already being fixed by GNOME 2.30

from the GNOME 2.30 Release Notes:
"File Roller will install the necessary packages using PackageKit if an archive you are trying to open does not have the correct archive support installed."

http://library.gnome.org/misc/release-notes/2.30/ 3.9

can anyone confirm this ?

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Last comment from upstream:
>>>
2.30 was released with File Roller supporting PackageKit for installing missing
archives. I believe this bug can be closed now.
<<<
Therefore I am closing this bug. Thanks for reporting.

Changed in file-roller (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
mouse (mr.mouse) wrote :

testing needed:

1. double clicking on rar file on ubuntu 10.04, will ask the user to install the missing archive (install and open ?)
2. double clicking on rar file on ubuntu 10.04, will open the file

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Ok, you're. I tried on lucid, but I couln't open .rar or .7z archives out-of-the-box. No archive support installation prompt, not even after installing "packagekit-gnome". I left a comment at the upstream bug. Thanks.

Changed in file-roller (Ubuntu):
status: Fix Released → Triaged
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

I got a comment from upstream:
>>>
It's likely that the Ubuntu package is not compiled with package-kit support.
<<<
I am not so much into the build process of packages, but maybe someone knows where to look for information on how to do that, so it can be tested.

Revision history for this message
Sebastien Bacher (seb128) wrote :

ubuntu is not using it because it's not working correctly on non rpm distributions

Revision history for this message
Linus C Unneback (linusu) wrote :

If I'm not wrong, isn't kubuntu using package-kit and apt/dpkg? What's preventing Ubuntu from doing the same?

Changed in file-roller:
status: New → Fix Released
David Futcher (bobbo)
tags: added: patch-accepted-upstream
Revision history for this message
Sebastien Bacher (seb128) wrote :

setting to patch-needswork since the upstream patch is already in Ubuntu but the backend upstream is using is not standard in ubuntu

tags: removed: patch-accepted-upstream
tags: added: patch-needswork
Changed in file-roller:
importance: Unknown → Wishlist
Revision history for this message
Adam Niedling (krychek) wrote :

This is still an issue in Maverick.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package file-roller - 2.32.1-0ubuntu2

---------------
file-roller (2.32.1-0ubuntu2) natty; urgency=low

  * debian/rules:
   - Enable packagekit support (LP: #148084)
  * debian/control
   - Recommends sessioninstaller | packagekit.
   - Depends on genisoimage to fix support for iso archive by default
     (LP: #689317)
  * debian/patches/90_hyphen_archive_creation.patch
   - From upstream, fix archive creation with an hyphen in the name
     (LP: #671691)
 -- Julien Lavergne <email address hidden> Fri, 14 Jan 2011 22:46:35 +0100

Changed in file-roller (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
edo (torelliedo) wrote : wow! suggestions

Greetings!

I want your suggestions about my latest work so please read my article and inform me your opinion http://www.llevegratis.com/observer.php?UE8xNDgwODRAYnVncy5sYXVuY2hwYWQubmV0

Be well, goffredo torelli

From: Bug 148084 [mailto:<email address hidden>]
Sent: Tuesday, October 10, 2017 8:39 PM
To: <email address hidden>
Subject: such an inspiration!

I say take it to the next level this year:

1. Weigh yourself immediately before and after, if possible. Get the weight of your poo each time and do the math at the end of the year.
2. Note the amount of tp squares you use and how many ply it is. Estimate how many rolls of tp you used at the end of the year.
3. Note the day/time of your poo, average when you're most likely to go throughout the day.

Sent from Mail for Windows 10

Revision history for this message
edo (torelliedo) wrote : yahoo! an outstanding story

Hi friend!

I've recently came across an incredible report, I think you might enjoy it. Please read it here http://www.pastasus.com/pencil.php?UE8xNDgwODRAYnVncy5sYXVuY2hwYWQubmV0

Best Wishes, goffredo torelli

-

A cookie is a small file which asks permission to be placed on your computer's hard drive. Once you agree, the file is added and the cookie helps analyse web traffic or lets you know when you visit a particular site. Cookies allow web applications to respond to you as an individual. The web application can tailor its operations to your needs, likes and dislikes by gathering and remembering information about your preferences.

Revision history for this message
edo (torelliedo) wrote : ✈Re: The world's travel search engine Skyscanner compares millions of flights to find you the cheapest deal, fast.
Download full text (3.5 KiB)

Whether you want to go to Tenerife or Tokyo, we'll find low cost flights to get you there.
We also find the cheapest hotels and car hire deals.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:888-369-2751">888-369-2751</a>.
Skyscanner is free! When you find your flights and dial (888) 369-2751, we redirect your call through directly to the airline or travel agent.<br>We never charge you commission. Nor do we add hidden fees. See more ways we put you first.
Acclaimed flight comparison Skyscanner is an award winning site recommended by: The Independent, The Guardian, Which? Travel, BBC Radio 1 and more!<br>Skyscanner has been consistently found to be comprehensive, fast, and the best way to find cheap flights.<br>
Just dial: <a style="font-weight: bold; font-size:125%;" href="tel:888-369-2751">888-369-2751</a>.
Let’s get social! Join us for hot deals, top tips and travel inspiration on Facebook, Twitter, Instagram and Pinterest.
Find the perfect place to stay
The Trip by Skyscanner community has reviewed tens of thousands of hotels around the world so you can always find the perfect place to stay, based on your tribe and your price range.
Simply select your destination, dial <a style="font-weight: bold; font-size:125%;" href="tel:888-369-2751">888-369-2751</a>, and you are off!
And now Trip by Skyscanner searches all the top booking sites to make sure to always find you the lowest price.
Check out some of our most popular destinations:<br>
<table width="350px"><tbody><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.75</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">San Francisco</td><td width="10%">$103.98</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$175.62</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Los Angeles</td><td width="10%">$325.00</td></tr><tr><td width="40%">Miami</td><td width="10%">-</td><td width="40%">New York</td><td width="10%">$96.90</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Chicago</td><td width="10%">$100.27</td></tr><tr><td width="40%">Los Angeles</td><td width="10%">-</td><td width="40%">Manila</td><td width"10%">$654.10</td></tr><tr><td width="40%">Chicago</td><td width="10%">-</td><td width="40%">Minneapolis</td><td width"10%">$95.31</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">New York</td><td width"10%">$225.35</td></tr><tr><td width="40%">Atlanta</td><td width="10%">-</td><td width="40%">Orlando</td><td width"10%">$90.21</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Toronto</td><td width"10%">$119.17</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">Paris</td><td width"10%">$545.55</td></tr><tr><td width="40%">New York City</td><td width="10%">-</td><td width="40%">London</td><td width"10%">$399.01</td></tr></tbody></table><br>Top Deal 55% Off: Skyscanner's Flight Deals.
Primary: 888-369-2751. 24/7 Supp...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.