Bug 170505 - Typo in rhpxl/monitor.py
Typo in rhpxl/monitor.py
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: rhpxl (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Lumens
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2005-10-12 10:22:04 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


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
/usr/share/rhpxl


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


How reproducible:
always


Steps to Reproduce:
1. I noticed it while trying to install rawhide;
2. running system-config-display also shows the error
3.
  
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 ?
    read_modes("vesamodes")
  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.