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

sampo555 1142400 at bugs.launchpad.net
Sun Mar 3 20:26:53 UTC 2013


** Description changed:

  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

-- 
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:
  Confirmed

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