canceling the language support download gives confusing error message

Bug #122518 reported by Martin Pitt
6
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: ubiquity

When I cancel the downloading of extra language support, I now get an error dialog saying:

  Failed to fetch <package URL>.

  Those pacakges are in a broken state:
  [empty list]

This is confusing and the dialog should not appear at all.

Revision history for this message
Michael Vogt (mvo) wrote :

Currently scripts/install.py:install_language_packs() does the same for "SystemError" and "IOException". The later are fetch problems if the expection would be changed and a new template would be added, that should be cleaner.

A better fix would be to add something like a FetchProgressUserCanceledException that python-at can throw so that you can just not display anything in this case. I will be happy to implement it if you like this suggestion.

Cheers,
 Michale

Revision history for this message
Michael Vogt (mvo) wrote :

I added the following exception for stuff that invovles fetching packages/indexfiles (in python-apt 0.7.2ubuntu2):

FetchCancelledException, FetchFailedException, LockFailedException

(subclasses of IOError)

Cheers,
 Michael

Michael Vogt (mvo)
Changed in ubiquity:
status: New → Confirmed
Revision history for this message
Robert Roth (evfool) wrote :

Is this bug still valid? No action was taken on this bug in the last three years, and I haven't even found the method mentioned... Ubiquity has received lots of love in the last three years. Can anyone reconfirm this?

Changed in ubiquity (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubiquity (Ubuntu) because there has been no activity for 60 days.]

Changed in ubiquity (Ubuntu):
status: Incomplete → Expired
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.