[Bug 807518] Re: update-manager crashed with NameError in update_count(): global name 'glib' is not defined

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Mon Jul 11 12:18:23 UTC 2011


update-manager (1:0.152.1) oneiric; urgency=low

  * fix release upgrade view dialog in gtk3
  * UpdateManager/UpdateManager.py, check-new-release-gtk:
    - use GLib.timeout_add(priority, timeout, func, data) instead
      of the old glib.timeout_add()
      thanks to Michael Terry (lp:~mterry/update-manager/pygi-cleanups)
  * check-new-release-gtk, tests/test_end_of_life.py:
    - fix test failures

** Changed in: update-manager (Ubuntu Oneiric)
       Status: Triaged => Fix Released

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

Title:
  update-manager crashed with NameError in update_count(): global name
  'glib' is not defined

Status in “update-manager” package in Ubuntu:
  Fix Released
Status in “update-manager” source package in Oneiric:
  Fix Released

Bug description:
  Update-manager crashes on startup.

  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 109, in <module>
      app.main(options)
    File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 1223, in main
      self.fillstore()
    File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 1078, in fillstore
      self.update_count()
    File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 674, in update_count
      glib.timeout_add_seconds(10, self.update_last_updated_text)
  NameError: global name 'glib' is not defined

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: update-manager 1:0.152
  ProcVersionSignature: Ubuntu 3.0-3.4-generic 3.0.0-rc5
  Uname: Linux 3.0-3-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Fri Jul  8 14:53:09 2011
  ExecutablePath: /usr/bin/update-manager
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python2.7 /usr/bin/update-manager
  ProcEnviron:
   LANGUAGE=es:en_GB:en
   LANG=es_ES.UTF-8
   LC_MESSAGES=es_ES.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/update-manager']
  SourcePackage: update-manager
  Title: update-manager crashed with NameError in update_count(): global name 'glib' is not defined
  UpgradeStatus: Upgraded to oneiric on 2011-05-26 (42 days ago)
  UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video

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




More information about the foundations-bugs mailing list