[ python-Bugs-897872 ] Unknown color name on HP-UX

SourceForge.net noreply at sourceforge.net
Sat Feb 21 11:30:47 EST 2004


Bugs item #897872, was opened at 2004-02-16 08:37
Message generated for change (Comment added) made by rptownsend
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=897872&group_id=5470

Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Richard Townsend (rptownsend)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unknown color name on HP-UX

Initial Comment:
When I click on a node in the class browser tree widget, 
I get: 

TclError: unknown color name "darkblue".

This is coming from line 253 in TreeWidget.py where the 
background color is hard-coded as "darkblue".

On HP-UX 11.11 there is no entry for "darkblue" in 
rgb.txt.



----------------------------------------------------------------------

>Comment By: Richard Townsend (rptownsend)
Date: 2004-02-21 16:30

Message:
Logged In: YES 
user_id=200117

One of my collegues tried adding an entry to rgb.txt on
HP-UX and running the rgb util, but he couldn't get X to
recognise the new color.

Looking at the rgb.txt files on HP-UX and Linux (SuSE 8.2)
there  are many differences, not just color names that are
missing, but definitions which are different. 

I wrote a little script to compare the files. I have
attached its output.

However, the definition for 'darkblue' on Linux is identical
to 'blue4' on both Linux and HP-UX (0, 0, 139). 

Perhaps the simplest thing would be for IDLE to use 'blue4' ?



----------------------------------------------------------------------

Comment By: Terry J. Reedy (tjreedy)
Date: 2004-02-19 00:48

Message:
Logged In: YES 
user_id=593130

Given the apparent absence of problems on others systems, 
perhaps the absence of a 'darkblue' entry is a bug that should 
be reported to HP.  Do you know anything of the specs for 
rgb.txt?  And can you add such an entry to fix the problem?

If you are sure the absence if legit, what color can be 
depended on if 'darkblue' does not work?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=897872&group_id=5470



More information about the Python-bugs-list mailing list