[Bug 1849004] Re: update-manager stopped loading update descriptions / changelog

2019-11-19 Thread Discaz
** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849004

Title:
  update-manager stopped loading update descriptions / changelog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849004] Re: update-manager stopped loading update descriptions / changelog

2019-11-19 Thread Discaz
The package update-manager/xenial-proposed 1:16.04.17 fixes the bug for
me.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849004

Title:
  update-manager stopped loading update descriptions / changelog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1851098] Re: no changelogs shown after version 1:16.04.16 update

2019-11-04 Thread Discaz
Duplicate #1849004 ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1851098

Title:
  no changelogs shown after version 1:16.04.16 update

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1851098/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849004] Re: update-manager stop to load update descriptions

2019-10-24 Thread Discaz
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849004

Title:
  update-manager stop to load update descriptions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849004] Re: update-manager stop to load update descriptions

2019-10-24 Thread Discaz
I thing there is a bug in MyCache.py :

`if res.scheme == "https" and res.username != "":`

The value of `res.username` is `None` when it is not set, not the empty
string.

Code from UpdateManager/Core/MyCache.py :

```
def _get_changelog_or_news(self, name, fname, strict_versioning=False,
   changelogs_uri=None):
" helper that fetches the file in question "
...
# https uris are not supported when they contain a username/password
# because the urllib2 https implementation will not check certificates
# and so its possible to do a man-in-the-middle attack to steal the
# credentials
res = urlsplit(uri)
if res.scheme == "https" and res.username != "":
raise HttpsChangelogsUnsupportedError(
"https locations with username/password are not"
"supported to fetch changelogs")
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849004

Title:
  update-manager stop to load update descriptions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1849004] Re: update-manager stop to load update descriptions

2019-10-24 Thread Discaz
Software Updater fail to load the list of changes. 
Version 1:16.04.16.
Ubuntu 16.04 LTS with all updates.

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 
320, in get_news_and_changelog
self.get_changelog(name)
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 
376, in get_changelog
changelog = self._get_changelog_or_news(name, "changelog")
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/MyCache.py", line 
245, in _get_changelog_or_news
"https locations with username/password are not"
UpdateManager.Core.MyCache.HttpsChangelogsUnsupportedError: https locations 
with username/password are notsupported to fetch changelogs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1849004

Title:
  update-manager stop to load update descriptions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1849004/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs