[Bug 1850208] [NEW] [PATCH, regression] changelog not displayed (1:16.04.16)

Tormod Volden 1850208 at bugs.launchpad.net
Mon Oct 28 20:38:29 UTC 2019


Public bug reported:

Because urlsplit() is returning None instead of "" in the username
member the logic in MyCache.py falsely thinks the URI contains a
username.


Exception in thread Thread-4:
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

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: regression

** Patch added: "Simple patch against version 1:16.04.16 in xenial"
   https://bugs.launchpad.net/bugs/1850208/+attachment/5300970/+files/update-manager-patch

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

Title:
  [PATCH, regression] changelog not displayed (1:16.04.16)

Status in update-manager package in Ubuntu:
  New

Bug description:
  Because urlsplit() is returning None instead of "" in the username
  member the logic in MyCache.py falsely thinks the URI contains a
  username.

  
  Exception in thread Thread-4:
  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

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



More information about the foundations-bugs mailing list