Bug 170505

Summary: Typo in rhpxl/monitor.py
Product: [Fedora] Fedora Reporter: Deji Akingunola <dakingun>
Component: rhpxlAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-12 14:22:04 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:
Attachments:
Description Flags
A simple fix patch none

Description Deji Akingunola 2005-10-12 14:16:52 UTC
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 14:16:52 UTC
Created attachment 119834 [details]
A simple fix patch

Comment 2 Chris Lumens 2005-10-12 14:22:04 UTC
Thanks for the patch.