[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
This bug was fixed in the package update-manager - 1:20.04.10.1 --- update-manager (1:20.04.10.1) focal; urgency=medium * UpdateManager/UpdateManager.py: when refreshing the cache and encountering an error return rather than trying to use the undefined cache which causes crashes. Additionally, don't present the dialog with a "Try Again" button which won't do anything. (LP: #1826213) * Fix hang in apturl-gtk. (LP: #1874591) * Fix crash in snap updates when refreshing the cache fails. (LP: #1880987) -- Brian Murray Wed, 03 Jun 2020 10:18:00 -0700 ** Changed in: update-manager (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
Looking at the bucket for this crash at errors.ubuntu.com I only see a couple of instances of this crash with the version of the package from -proposed and those are likely noise. So I'm setting this to verification-done. ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
Hello errors.ubuntu.com, or anyone else affected, Accepted update-manager into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update- manager/1:20.04.10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-focal. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: update-manager (Ubuntu Focal) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
** No longer affects: update-manager (Ubuntu Eoan) ** No longer affects: update-manager (Ubuntu Bionic) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
** Changed in: update-manager (Ubuntu Eoan) Status: Confirmed => Invalid ** Changed in: update-manager (Ubuntu Bionic) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
** Branch linked: lp:~ubuntu-core-dev/ubuntu/focal/update-manager/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1880987] Re: [SRU] /usr/bin/update-manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups
** Description changed: [Impact] The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:20.04.10, the problem page at https://errors.ubuntu.com/problem/b2c8bc0cb8285d022b6b6aa8a75000e6d82dab19 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Test Case] This is reproducable by raising an AssertionError in the initialization of MyCache and looks like a problem with "UpdateManager/backend/__init__.py" carrying on when cache is set to None. Here are the lines of code I'm looking at: - except Exception as e: - logging.debug("error reading cache (%s)" % e) - cache = None + except Exception as e: + logging.debug("error reading cache (%s)" % e) + cache = None [Regression Potential] Instead of assigning the cache to None and attempting to continue the duplicates check, we now just return an empty array. It's perfectly safe to postpone this duplicates check to a later update, so there's little - regression potential in my opinion. + regression potential as far as I can see. ** Description changed: [Impact] The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:20.04.10, the problem page at https://errors.ubuntu.com/problem/b2c8bc0cb8285d022b6b6aa8a75000e6d82dab19 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports. If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/. [Test Case] - This is reproducable by raising an AssertionError in the initialization - of MyCache and looks like a problem with - "UpdateManager/backend/__init__.py" carrying on when cache is set to - None. Here are the lines of code I'm looking at: + This is reproducable by raising an AssertionError during the + initialization of MyCache in "UpdateManager/backend/__init__.py" whereby + the cache is then assigned to None: except Exception as e: logging.debug("error reading cache (%s)" % e) cache = None [Regression Potential] Instead of assigning the cache to None and attempting to continue the duplicates check, we now just return an empty array. It's perfectly safe to postpone this duplicates check to a later update, so there's little regression potential as far as I can see. ** Also affects: update-manager (Ubuntu Eoan) Importance: Undecided Status: New ** Also affects: update-manager (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: update-manager (Ubuntu Bionic) Status: New => Confirmed ** Changed in: update-manager (Ubuntu Eoan) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1880987 Title: [SRU] /usr/bin/update- manager:TypeError:_on_finished:_action_done:get_deb2snap_dups:_on_finished:_action_done:get_deb2snap_dups To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1880987/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs