doesn't handle error cleanly

Bug #34895 reported by Amnon Aaronsohn
8
Affects Status Importance Assigned to Milestone
update-notifier (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

When I click the update notifier icon, a window pops up briefly and then disappears. Runnig update-notifier from the command line shows the reason -- it doesn't handle a certain exception (see below). Note that the error itself isn't the applet's fault, only the fact that it doesn't report it to the user.

% update-notifier
** (update-notifier:4747): DEBUG: tray_icons_init
  warnings.warn("apt API not stable yet", FutureWarning)
current dist not found in meta-release file
Traceback (most recent call last):
  File "/usr/bin/update-manager", line 55, in ?
    app.main()
  File "/usr/lib/python2.4/site-packages/UpdateManager/UpdateManager.py", line 7 30, in main
    self.fillstore()
  File "/usr/lib/python2.4/site-packages/UpdateManager/UpdateManager.py", line 5 78, in fillstore
    self.list.update(self.cache)
  File "/usr/lib/python2.4/site-packages/UpdateManager/UpdateManager.py", line 1 67, in update
    cache.saveDistUpgrade()
  File "/usr/lib/python2.4/site-packages/UpdateManager/UpdateManager.py", line 8 6, in saveDistUpgrade
    self._depcache.Upgrade(True)
SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
dist upgrade Failed

Matt Zimmerman (mdz)
Changed in update-notifier:
assignee: nobody → mvo
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

The current version in dapper has improved error reporting and this error will be displayed in the frontend.

Thanks,
 Michael

Changed in update-notifier:
status: Unconfirmed → Fix Committed
Michael Vogt (mvo)
Changed in update-notifier:
status: Fix Committed → Fix Released
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.