| Summary: | Subscription-manager-gui command displayed Traceback and RuntimeError for runlevel 3 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED NOTABUG | QA Contact: | spandey |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | cduryee, jmolet, jsefler, kbanerje, spandey |
| Target Milestone: | rc | ||
| Target Release: | 6.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-08-15 15:51:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 682238 | ||
This is working properly, since subscription-manager-gui cannot run without X. However, a better error message would be nice. Moving to 6.2. I tested this against a few other pygtk apps (caribou, system-config-date, meld) and they exhibit the same behavior. After seeing the other apps, I believe the error message should stay as-is, since it is more informative than a generic "cannot find xserver" message. marking as NOTABUG, feel free to alter if you disagree though. |
Description of problem: Version-Release number of selected component (if applicable): How reproducible: 3/3 Prerequisites : Client : Rhel5.7 with following subscription manager client subscription-manager-firstboot-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-gnome-0.95.5.18-1.git.4.364aa10.el5 Steps to Reproduce : Boot client in run level 3 Execute subscription-manager-gui command on root console. Expected Result : No Traceback should display . Proper message should display for “Xserver” requirement . Actual Result : Traceback (most recent call last): File "/usr/sbin/subscription-manager-gui", line 30, in ? import gtk File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ? _init() File "/usr/lib64/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init _gtk.init_check() RuntimeError: could not open display