Bug 170505 - Typo in rhpxl/monitor.py
Typo in rhpxl/monitor.py
Product: Fedora
Classification: Fedora
Component: rhpxl (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
Depends On:
  Show dependency treegraph
Reported: 2005-10-12 10:16 EDT by Deji Akingunola
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-12 10:22:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A simple fix patch (352 bytes, patch)
2005-10-12 10:16 EDT, Deji Akingunola
no flags Details | Diff

  None (edit)
Description Deji Akingunola 2005-10-12 10:16:52 EDT
Description of problem: There is a typo (i believe) on line 404 in
rhpxl-0.3/rhpxl/monitor.py; it's looking for /usr/share/rhpl instead of

Version-Release number of selected component (if applicable):rhpxl-0.3

How reproducible:

Steps to Reproduce:
1. I noticed it while trying to install rawhide;
2. running system-config-display also shows the error
Actual results:
[deji@rhema2 ~]$ sudo system-config-display
/usr/share/system-config-display/xconf.py:32: DeprecationWarning: rhpl.monitor
is deprecated; import rhpxl.monitor instead.
  import rhpl.monitor
Traceback (most recent call last):
  File "/usr/share/system-config-display/xconf.py", line 32, in ?
    import rhpl.monitor
  File "/usr/lib/python2.4/site-packages/rhpl/monitor.py", line 6, in ?
    from rhpxl.monitor import *
  File "/usr/lib/python2.4/site-packages/rhpxl/monitor.py", line 427, in ?
  File "/usr/lib/python2.4/site-packages/rhpxl/monitor.py", line 404, in read_modes
    fd = open("/usr/share/rhpl/" + filename, 'r')
IOError: [Errno 2] No such file or directory: '/usr/share/rhpl/vesamodes'

Expected results:
should work.

Additional info:
Comment 1 Deji Akingunola 2005-10-12 10:16:52 EDT
Created attachment 119834 [details]
A simple fix patch
Comment 2 Chris Lumens 2005-10-12 10:22:04 EDT
Thanks for the patch.

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