Bug 83536 - /usr/share/redhat-config-xfree86/xconf.py improper Syntax.
Summary: /usr/share/redhat-config-xfree86/xconf.py improper Syntax.
Keywords:
Status: CLOSED DUPLICATE of bug 82710
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: redhat-config-xfree86
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-02-05 13:47 UTC by Jason Montleon
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:51:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Jason Montleon 2003-02-05 13:47:15 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030120

Description of problem:
I tried to run the Display under system settings as a user.  I was prompted for
root password and supplied it.  After that nothing happened.  I tried again and
was not even prompted for the root password.  Rebooted and still was not even
prompted for the root password before the program exited out.  I tried running
it from the command line and received the message:

[root@2kcomm root]# redhat-config-xfree86
  File "/usr/share/redhat-config-xfree86/xconf.py", line 357
    current_card_driver = current_card.getCardData()["DRIVER"]
                      ^
SyntaxError: invalid syntax

(the carat was under the r in driver on the command line, other than that the
layout is fairly identical, as it is a cut and paste)

It appears that the line above that (line 356), 
print _("Trying with card:", current_card.getCardData()["NAME"])

was missing the end parenthisis, which I added, and was then able to run
redhat-config-xfree86 with expected results.

I never manually manipulated the file previous to this attempt to run the program.  

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

How reproducible:
Couldn't Reproduce

Additional info:

Comment 1 Mike A. Harris 2003-02-05 14:21:29 UTC

*** This bug has been marked as a duplicate of 82710 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:51:37 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


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