[Bug 1142400] Re: update-manager crashed with UnboundLocalError in _get_application_for_package(): local variable 'installed_file' referenced before assignment

Brian Murray brian at ubuntu.com
Wed Apr 5 21:18:39 UTC 2017


*** This bug is a duplicate of bug 1428297 ***
    https://bugs.launchpad.net/bugs/1428297

This particular part of the code no longer exists.

** Changed in: update-manager (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
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/1142400

Title:
  update-manager crashed with UnboundLocalError in
  _get_application_for_package(): local variable 'installed_file'
  referenced before assignment

Status in update-manager package in Ubuntu:
  Won't Fix

Bug description:
  1. start VirtualBox 4.2.8
  2. start 'Xubuntu Quantal amd64-Klon'
  3. login
  4a. Settings - Screen - change resolution
  4b. click on 'Software Updates'
  4c. Packages where downloaded
  4d. update-manager crashed AND updates where shown in the icon on the panel

  Xubuntu 13.04 beta
  update-manager 1:0.183
  Linux 3.8.0-9.18-generic 3.8.1

  ----
   Traceback (most recent call last):
     File "/usr/lib/python3/dist-packages/UpdateManager/UpdateProgress.py", line 78, in _on_backend_done
       self.window_main.start_available(not success)
     File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 186, in start_available
       self.refresh_cache()
     File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 313, in refresh_cache
       self.update_list.update(self.cache)
     File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 416, in update
       self.update_groups = self._make_groups(cache, upgrade_pkgs)
     File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 337, in _make_groups
       app = self._get_application_for_package(pkg)
     File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 238, in _get_application_for_package
       (installed_file, e))
   UnboundLocalError: local variable 'installed_file' referenced before assignment

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



More information about the foundations-bugs mailing list