[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: redhat-config-xfree86



On Sun, 2003-02-09 at 14:56, Kevin Bowen wrote:
> In phoebe2, redhat-config-xfree86 dies with the following: 
>   File "/usr/share/redhat-config-xfree86/xconf.py", line 357
>     current_card_driver = current_card.getCardData()["DRIVER"]
>                       ^
> SyntaxError: invalid syntax
> 
> I'm not sure whether this is a phoebe problem... I am running non-stock 
> drivers for my radeon (from the GATOS project, http://gatos.sf.net) although 
> I'm not sure how that could cause a python syntax error.
> 
> anyone else having this problem?

Just did an install last night and came across this very problem.
It is a missing closing parenthesis on the line above.

The original line is
	print _("Trying with card:", current_card.getCardData()["NAME"]

and should be
	print _("Trying with card:", current_card.getCardData()["NAME"])

It didn't recognize my monitor and I couldn't set a better resolution.
redhat-config-xfree86 fails on startup.  Fix the line and you will
be able to run redhat-config-xfree86.

Bob
-- 
      _ ____|____====___H___________________====_====_====_ 
       |_______| [[[[                       ####### ###### |
  ______| [][] |____  """ Missouri Pacific                 |
 |o ____|  MP  |__| \___________________________/\_________|
_| /    |_5001_|   \_|  |  |  |  |  |  |  |  |  |  |  |   |_|
_|=|====|======|===|===/\=================================|_|
_|  [(o)=(o)=(o)]   |____________________|  [(o)=(o)=(o)] |_|
============================================================
[]    []    []    []    []    []    []    []    []    []   []
////////////////////////////////////////////////////////////





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]