Bug 85353 - Traceback if DISPLAY not set
Traceback if DISPLAY not set
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: redhat-config-packages (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-28 09:49 EST by Miloslav Trmac
Modified: 2007-04-18 12:51 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-28 19:31:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch fixing the traceback and copying the code to other two toplevel files (1.64 KB, patch)
2003-02-28 10:43 EST, Miloslav Trmac
no flags Details | Diff

  None (edit)
Description Miloslav Trmac 2003-02-28 09:49:17 EST
Description of problem:
/usr/share/redhat-config-packages/MainWindow.py contains code that's
supposed to exit nicely when gtk can't be imported. Unfortunately,
triggering this code results in traceback ;-)

Version-Release number of selected component (if applicable):
redhat-config-packages-1.1.6-1

Steps to Reproduce:
1. (unset DISPLAY; /usr/sbin/redhat-config-packages)

Additional info:
Maybe the other two exectuables (redhat-{cdinstall-helper,install-packages}
aka InstallDruid.py and SinglePackageWindow.py) should contains similar
checks.
Comment 1 Miloslav Trmac 2003-02-28 10:43:40 EST
Created attachment 90423 [details]
Patch fixing the traceback and copying the code to other two toplevel files

This seems to solve the traceback issue for all three toplevel files.
"seems to" because I can test it only on RHL 7.3 right now.
Comment 2 Jeremy Katz 2003-07-28 19:31:06 EDT
Caught in CVS

Note You need to log in before you can comment on or make changes to this bug.