Bug#554782: [CRASH] Uncaught exception AttributeError in Backend/PythonApt.py:162
Mehul N. Sanghvi
mehul at sanghvi.org
Fri Nov 6 13:19:05 UTC 2009
Package: update-manager-core
Version: 0.200.0-1
Severity: normal
File: /usr/share/pyshared/UpdateManager/Backend/PythonApt.py
Tried running Update Manager and it crashed.
*** /tmp/update-manager-bugHxTF-t
The information below has been automatically generated.
Please do not remove this from your bug report.
- Exception Type: <type 'exceptions.AttributeError'>
- Exception Value: AttributeError("'NoneType' object has no attribute 'origins'",)
- Exception Origin: <_MainThread(MainThread, started)>
- Exception Traceback:
File "/usr/lib/pymodules/python2.5/UpdateManager/Frontend/Gtk/GtkProgress.py", line 77, in update_func
self._ui.update_package_list()
File "/usr/lib/pymodules/python2.5/UpdateManager/Frontend/Gtk/ui.py", line 804, in update_package_list
want_dist_upgrade)
File "/usr/lib/pymodules/python2.5/UpdateManager/Application.py", line 324, in get_available_updates
return self._backend.get_available_updates(dist_upgrade=dist_upgrade)
File "/usr/lib/pymodules/python2.5/UpdateManager/Backend/PythonApt.py", line 710, in get_available_updates
pkg_info = PackageInfo(pkg, self._app)
File "/usr/lib/pymodules/python2.5/UpdateManager/Backend/PythonApt.py", line 99, in __init__
self._update_category = app.get_update_category(self)
File "/usr/lib/pymodules/python2.5/UpdateManager/Application.py", line 344, in get_update_category
return self._dist_specific.get_update_category(pkg_info)
File "/usr/lib/pymodules/python2.5/UpdateManager/DistSpecific/Auto.py", line 51, in get_update_category
return self._dist.get_update_category(package_upd_info)
File "/usr/lib/pymodules/python2.5/UpdateManager/DistSpecific/Debian/__init__.py", line 46, in get_update_category
label = pkg_info.get_candidate_origin_label()
File "/usr/lib/pymodules/python2.5/UpdateManager/Backend/PythonApt.py", line 176, in get_candidate_origin_label
origin = self._get_nonlocal_origin()
File "/usr/lib/pymodules/python2.5/UpdateManager/Backend/PythonApt.py", line 162, in _get_nonlocal_origin
for origin in self._pyapt_package.candidate.origins:
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.30-2-powerpc-smp (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages update-manager-core depends on:
ii gksu 2.0.2-2+b1 graphical frontend to su
ii lsb-release 3.2-23 Linux Standard Base version report
ii python-apt 0.7.13.3 Python interface to libapt-pkg
ii python-support 1.0.4 automated rebuilding support for P
ii sudo 1.7.2p1-1 Provide limited super user privile
Versions of packages update-manager-core recommends:
ii update-manager-gnome 0.200.0-1 GNOME application that manages sof
update-manager-core suggests no packages.
More information about the pkg-gnome-maintainers
mailing list