Knowledge Base

Article ID: 1110 - Last Modified:

When I try to run Python scripts or open some panels in Maestro I get a traceback that ends with

_tkinter.TclError: unknown color name "gray90"

What is the problem?

The error message

_tkinter.TclError: unknown color name "gray90"

indicates a misconfiguration of the /etc/X11/xorg.conf file. Specifically, the RgbPath setting is pointing to the wrong file name or location, resulting in expected color names not being available. If used, this setting is supposed to point to a file named rgb.txt that defines the 'gray90' color name (among others). In the xorg.conf file, the file should be specified without the .txt extension. Please check your xorg.conf file and make sure it is pointing to the right location (e.g., /usr/share/X11/rgb or whatever is appropriate for your system). This will require administrative privileges, and you'll need to restart the X-server after modifying xorg.conf (logging out and logging back in, rebooting, or using Ctrl+Alt+Backspace).

If setting RgbPath correctly doesn't solve the problem, you could try commenting out that line entirely.

Keywords: Tk errors

Back to Search Results

Was this information helpful?

What can we do to improve this information?

To ask a question or get help, please submit a support ticket or email us at
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles