gdebi-gtk crashes when run under non-X-environment

Bug #204543 reported by joel
90
Affects Status Importance Assigned to Milestone
gdebi
Fix Released
Undecided
Unassigned
gdebi (Ubuntu)
Fix Released
Low
Michael Vogt

Bug Description

Binary package hint: gdebi

j'ai resolu le prob install de nerolinux 3 sympa

ProblemType: Crash
Architecture: i386
Date: Fri Mar 21 09:37:21 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/gdebi-gtk
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: fglrx ath_hal
Package: gdebi 0.3.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gdebi-gtk --non-interactive /tmp/nerolinux-3.1.1.0-x86.deb
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gdebi-gtk', '--non-interactive', '/tmp/nerolinux-3.1.1.0-x86.deb']
SourcePackage: gdebi
Title: gdebi-gtk crashed with RuntimeError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/gdebi-gtk", line 56, in <module>
     gtk.init_check()
 RuntimeError: could not open display
Uname: Linux 2.6.24-12-generic i686
UserGroups:

Tags: apport-crash
Revision history for this message
joel (andbob) wrote :
Revision history for this message
Kjell Braden (afflux) wrote :

I've also forwarded this bug to the upstream developer.
I think gdebi should print an error instead of raising an exception when it's not run under an X11 environment.

Changed in gdebi:
importance: Undecided → Low
status: New → Triaged
Michael Vogt (mvo)
Changed in gdebi:
assignee: nobody → mvo
status: Triaged → Fix Committed
assignee: nobody → mvo
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.3.12

---------------
gdebi (0.3.12) intrepid; urgency=low

  * GDebi/GDebi.py:
    - fix utf-8 disply (LP: #109907)
    - do not crash if the file disappeared in --non-interactive
      mode (LP: #213725)
    - fix incorrect statusline when cache can not be locked
      (LP: #212105)
  * GDebi/DebPackage.py:
    - do not crash when the filelist can not be read because of
      gvfs strangeness (LP: #211822)
  * gdebi-gtk:
    - do not crash when DISPLAY is not accessable (LP: #204543)
  * data/gdebi.desktop.in:
    - add "Startup-Notify=true" (LP: #120920)
  * merge debian fixes (thanks to Amaya Rodrigo Sastre and
    Barry deFreese)

 -- Michael Vogt <email address hidden> Tue, 22 Jul 2008 17:39:47 +0200

Changed in gdebi:
status: Fix Committed → Fix Released
István Nyitrai (sianis)
Changed in gdebi:
assignee: mvo → nobody
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.