Bug 181800

Summary: system-config-mouse needs to require rhpxl
Product: [Fedora] Fedora Reporter: Quentin Spencer <qspencer>
Component: system-config-mouseAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-16 18:17:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Quentin Spencer 2006-02-16 18:09:56 UTC
Description of problem:

system-config-mouse does not work without rhpxl, but the spec doesn't require
it, so it is possible to install it without rhpxl.

Version-Release number of selected component (if applicable):
1.2.11-1

How reproducible:

Always.

Steps to Reproduce:
1. Install system-config-mouse
2. Make sure rhpxl is not installed
3. run system-config-mouse
  
Actual results:
/usr/share/system-config-mouse/mouse_gui.py:25: DeprecationWarning: rhpl.mouse
is deprecated; import rhpxl.mouse instead.
  import rhpl.mouse as mouse
Starting graphical mode failed.  Starting text mode instead.
/usr/share/system-config-mouse/mouse_tui.py:23: DeprecationWarning: rhpl.mouse
is deprecated; import rhpxl.mouse instead.
  from rhpl.mouse import Mouse
Traceback (most recent call last):
  File "/usr/share/system-config-mouse/system-config-mouse.py", line 69, in ?
    useTextMode()
  File "/usr/share/system-config-mouse/system-config-mouse.py", line 22, in
useTextMode
    import mouse_tui
  File "/usr/share/system-config-mouse/mouse_tui.py", line 23, in ?
    from rhpl.mouse import Mouse
  File "/usr/lib/python2.4/site-packages/rhpl/mouse.py", line 6, in ?
    from rhpxl.mouse import *
ImportError: No module named rhpxl.mouse


Expected results:
system-config-mouse either opens a window (in graphical mode) or starts a
text-mode configuration.

Additional info:
I don't know much about this package, so I don't know if the correct solution is
to put a direct rhpxl dependency in the spec file for this, or if it should be
indirect in one of its other dependencies. Also, it is quite possible that some
of the other system-config-* packages are affected by this--this is just the one
I happened to try.

Comment 1 Paul Nasrat 2006-02-16 18:17:39 UTC
system-config-mouse is no longer in rawhide.  Upgrades from FC4 to FC5 will
remove it.

Comment 2 Quentin Spencer 2006-02-16 18:25:58 UTC
I was able to install it on a rawhide system, but I guess that just means it's
still in the repositories. Maybe rhpxl should obsolete system-config-mouse.