1 message in org.python.python-bugs-list[ python-Bugs-897872 ] Unknown color ...
FromSent OnAttachments
SourceForge.netMar 8, 2004 3:52 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-897872 ] Unknown color name on HP-UXActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 8, 2004 3:52:01 pm
List:org.python.python-bugs-list

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

Category: IDLE Group: None

Status: Closed Resolution: Fixed

Priority: 5 Submitted By: Richard Townsend (rptownsend)

Assigned to: Kurt B. Kaiser (kbk)

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: Kurt B. Kaiser (kbk)

Date: 2004-03-08 15:52

Message: Logged In: YES user_id=149084

Fixed by Nigel Rowe's Patch [ 805830 ] Highlight builtins

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

Comment By: Richard Townsend (rptownsend) Date: 2004-02-21 11: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-18 19: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?

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