Comment 8 for bug 1849004

Revision history for this message
Discaz (drsphoto) wrote : Re: update-manager stop to load update descriptions

Test:
Ubuntu 16.04 LTS.
Something to update in Software Updater from archive ubuntu (NOT from a PPA).
Open a terminal to launch update-manager
In the window "Software Updater", click "Technical description" to open the "Changes" panel.
Click a line in "Details of updates" panel.
In the "Changes" panel we see "Downloading list of changes..." for ever.
In the terminal we see a exception : UpdateManager.Core.MyCache.HttpsChangelogsUnsupportedError: https locations with username/password are notsupported to fetch changelogs.

This is because of this line in MyCache.py
    if res.scheme == "https" and res.username != "":
In this case, res.username is None, and None is not equal to "".
if we change the code like this:
    if res.scheme == "https" and res.username:

and re-test, then... tout rentre dans l'ordre.