Bug 170505 - Typo in rhpxl/monitor.py
Summary: Typo in rhpxl/monitor.py
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rhpxl
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-12 14:16 UTC by Deji Akingunola
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-12 14:22:04 UTC
Type: ---
Embargoed:


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

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.


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