Hi all,
I am using centos 5.2 x86_64 on a box. and getting this error: wish -f pcalert.tcl Error in startup script: unknown color name "black" (processing "-background" option) invoked from within "canvas .c -height $canvas_height -width $screen_width -background black -highlightthickness 0 " invoked from within "set c [canvas .c -height $canvas_height -width $screen_width -background black -highlightthickness 0 ]" (file "pcalert.tcl" line 138)
I take the same script on 3 other machines with centos 5.2 x86_64 and it runs just fine. What is the machine that gives the errors missing that is doesnt know what black is???
Thanks,
Jerry
On Wed, Nov 5, 2008 at 10:02 AM, Jerry Geis geisj@pagestation.com wrote:
Hi all,
I am using centos 5.2 x86_64 on a box. and getting this error: wish -f pcalert.tcl Error in startup script: unknown color name "black"
(snip)
I take the same script on 3 other machines with centos 5.2 x86_64 and it runs just fine. What is the machine that gives the errors missing that is doesnt know what black is???
Is the troubled box running the same version (8.4.13) of tk/tcl as the other three? How about xorg-x11-server-utils ?
Akemi
Is the troubled box running the same version (8.4.13) of tk/tcl as the other three? How about xorg-x11-server-utils ?
Also showrgb prints all the colors.
here is the information: more /etc/redhat-release CentOS release 5.2 (Final)
[root@am2mm ~]# rpm -qa | grep tk- atk-1.12.2-1.fc6 usermode-gtk-1.88-3.el5.1 tk-8.4.13-5.el5_1.1 atk-1.12.2-1.fc6 authconfig-gtk-5.3.21-3.el5 tk-8.4.13-5.el5_1.1
[root@am2mm ~]# rpm -qa | grep server-utils xorg-x11-server-utils-7.1-4.fc6
Jerry
check your /etc/X11/xorg.conf on the differents machines. -> RgbPath "/usr/share/X11/rgb"
It was different between the two machines...
On the machine that worked the RgbPath was not specified. It was specified on the machine that did not work... I commented it out and rebooted and it started working.
Thanks,
Jerry
On Wed, Nov 05, 2008 at 01:02:53PM -0500, Jerry Geis wrote:
Hi all,
I am using centos 5.2 x86_64 on a box. and getting this error: wish -f pcalert.tcl Error in startup script: unknown color name "black"
...
I take the same script on 3 other machines with centos 5.2 x86_64 and it runs just fine. What is the machine that gives the errors missing that is doesnt know what black is???
check your /etc/X11/xorg.conf on the differents machines. -> RgbPath "/usr/share/X11/rgb"
Tru