[Bug 1507886] Re: DistUpgradeFetcherKDE crashes on method _warning

Harald Sitter sitter.harald at gmail.com
Tue Oct 20 09:17:23 UTC 2015


** Description changed:

  # Impact
- DistUpgradeFetcherKDE.py calls self._warning() but in fact _warning is not an instance method of the fetcher but rather a global helper. This causes early unhandled exceptions entirely defuncing the fetcher rendering upgrades with the KDE UI impossible.
+ DistUpgradeFetcherKDE.py calls self._warning() but in fact _warning is not an instance method of the fetcher but rather a global helper. This causes early unhandled exceptions to entirely defunc the fetcher rendering upgrades with the KDE UI impossible. NB: this only happens iff there was a problem getting the release notes to begin with.
  
  This was fixed in https://launchpad.net/ubuntu/+source/ubuntu-release-
  upgrader/1:15.10.4 and needs to be SRU'd into vivid as it also suffers
  from the problem.
  
  # Test Case
  - run `kdesudo -- do-release-upgrade -m desktop -f DistUpgradeViewKDE`
  - should come up with installer
  
  # Regression Potential
- None. Fetcher currently crashes 10/10 times
+ Can't break anymore than getting another undefined method exception as we do now.
  
  # Other Info
  In testing I didn't actually get the fetcher UI itself to display, so I expect there is more wrong. It would however be a good start to not have it crash.

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

Title:
  DistUpgradeFetcherKDE crashes on method _warning

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Vivid:
  Triaged

Bug description:
  # Impact
  DistUpgradeFetcherKDE.py calls self._warning() but in fact _warning is not an instance method of the fetcher but rather a global helper. This causes early unhandled exceptions to entirely defunc the fetcher rendering upgrades with the KDE UI impossible. NB: this only happens iff there was a problem getting the release notes to begin with.

  This was fixed in https://launchpad.net/ubuntu/+source/ubuntu-release-
  upgrader/1:15.10.4 and needs to be SRU'd into vivid as it also suffers
  from the problem.

  # Test Case
  - run `kdesudo -- do-release-upgrade -m desktop -f DistUpgradeViewKDE`
  - should come up with installer

  # Regression Potential
  Can't break anymore than getting another undefined method exception as we do now.

  # Other Info
  In testing I didn't actually get the fetcher UI itself to display, so I expect there is more wrong. It would however be a good start to not have it crash.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1507886/+subscriptions



More information about the foundations-bugs mailing list