update-manager crashes with UnboundLocalError: local variable 'installed_file' referenced before assignment

Bug #1144058 reported by Zygmunt Krynicki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Running update-manager results in the following crash:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 234, in _get_application_for_package
    desktop_file)
  File "/usr/lib/python3/dist-packages/gi/types.py", line 137, in constructor
    return info.invoke(cls, *args, **kwargs)
TypeError: constructor returned NULL

During handling of the above exception, another exception occurred:

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

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: update-manager 1:0.183
ProcVersionSignature: Ubuntu 3.8.0-8.17-generic 3.8.0
Uname: Linux 3.8.0-8-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
Date: Mon Mar 4 11:12:24 2013
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-time' b'1362391615'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-height' b'1031'
 b'com.ubuntu.update-manager' b'window-width' b'1920'
InstallationDate: Installed on 2013-02-10 (21 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130210)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Zygmunt Krynicki (zyga) wrote :
summary: - update-manager crashes with nboundLocalError: local variable
+ update-manager crashes with UnboundLocalError: local variable
'installed_file' referenced before assignment
Revision history for this message
Sami Jaktholm (sjakthol) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 1142400, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.