Comment 5 for bug 747172

Revision history for this message
Gary Lasker (gary-lasker) wrote :

I have linked an alternate branch that addresses the empty dialog issue directly. As it turns out, the empty dialog occurs because of a bug in aptdaemon where it sometimes returns an empty value for error_code when a network connection is not available. This does not always happen, but when it does, it appears to only occur when a package install is attempted while the network connection is not available (this bug).

The fix in my branch checks for this empty return code and displays the correct error message for the case, prompting the user to "Check your internet connection". This will let the user know what they need to do to get things working. And since we display the same dialog text as when aptdaemon returns the error code, this fix avoids the need for a UI or string freeze exception (and accompanying impact on the docs and translations teams).