No error if you disconnect before authenticating for installation

Bug #842774 reported by Matthew Paul Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aptdaemon
New
Undecided
Unassigned
software-center (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

software-center trunk r2261, Ubuntu 11.10 beta 1

1. Close, if necessary, and reopen USC.
2. Navigate to the screen for Ardour, and click "Install".
3. While the authentication dialog is up, disconnect from the Internet.
4. Authenticate.

What happens:
* The progress bar appears briefly, and then disappears.
* No visible error message.
* Errors in the console:
------------
2011-09-06 15:37:17,464 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: None
None

'
2011-09-06 15:37:17,760 - softwarecenter.utils - WARNING - Could not determine the installed desktop file path for app-install desktop file: '/usr/share/app-install/desktop/ardour:ardour.desktop'
2011-09-06 15:37:17,773 - softwarecenter.backend - ERROR - error in _on_trans_finished 'Error: Failed to download package files
Check your Internet connection.

Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/a/aubio/libaubio2_0.3.2-4.2_amd64.deb Could not resolve 'gb.archive.ubuntu.com'
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/libg/libgnomecanvasmm2.6/libgnomecanvasmm-2.6-1c2a_2.26.0-1build1_amd64.deb Could not resolve 'gb.archive.ubuntu.com'
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/libl/liblo/liblo7_0.26~repack-7_amd64.deb Could not resolve 'gb.archive.ubuntu.com'
... [et cetera] ...
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/q/qjackctl/qjackctl_0.3.8-1_amd64.deb Could not resolve 'gb.archive.ubuntu.com'
'
2011-09-06 15:37:18,145 - softwarecenter.utils - WARNING - Could not determine the installed desktop file path for app-install desktop file: '/usr/share/app-install/desktop/ardour:ardour.desktop'
------------

What should happen: "If the computer is no longer connected to the Internet, an error alert should appear. It should have primary text '{title} can’t be downloaded because there is no Internet connection.', secondary text 'Connect to the Internet and try again.', and buttons 'Cancel' and 'Try Again'." <https://wiki.ubuntu.com/SoftwarePackageOperations#download-failed>

Changed in software-center (Ubuntu):
assignee: nobody → Matthew Paul Thomas (mpt)
importance: Undecided → Medium
Changed in software-center (Ubuntu):
status: New → Confirmed
description: updated
Changed in software-center (Ubuntu):
assignee: Matthew Paul Thomas (mpt) → nobody
status: Confirmed → Triaged
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.