[Bug 848915] Re: update-manager crashed with RuntimeError in /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py: Gtk couldn't be initialized

Barry Warsaw 848915 at bugs.launchpad.net
Mon Feb 27 22:33:04 UTC 2012


It's not clear to me what we can or should do here.  This is easily
reproducible by starting update-manager in an environment without a
$DISPLAY, e.g. from an ssh session where the display is not forwarded.

The error message is perhaps too cryptic to be useful, so one fix might
be to catch the exception and print a more helpful error message.  If
that fairly easy fix is enough, let me know and I'll work on that.

** Summary changed:

- update-manager crashed with RuntimeError in /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py: Gtk couldn't be initialized
+ cryptic traceback when running update-manager w/no X $DISPLAY

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

Title:
  cryptic traceback when running update-manager w/no X $DISPLAY

Status in Release Notes for Ubuntu:
  Fix Released
Status in “update-manager” package in Ubuntu:
  Triaged
Status in “update-manager” source package in Oneiric:
  Triaged
Status in “update-manager” source package in Precise:
  Triaged

Bug description:
  win7 wubi 11.04 w/update to o.o. 11.10 Beta 1 crash at start-up

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: update-manager 1:0.152.17
  ProcVersionSignature: Ubuntu 2.6.38-11.49-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  ApportVersion: 1.22.1-0ubuntu2
  Architecture: amd64
  Date: Mon Sep 12 23:26:51 2011
  ExecutablePath: /usr/bin/update-manager
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/update-manager -d
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/update-manager', '-d']
  SourcePackage: update-manager
  Title: update-manager crashed with RuntimeError in /usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py: Gtk couldn't be initialized
  UpgradeStatus: Upgraded to oneiric on 2011-09-12 (1 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/848915/+subscriptions




More information about the foundations-bugs mailing list