Dear All, I installed the horae66 package on SUSE Linux 10.2. Everything went well, Artemis and Hephaestus works, but when I try to use Athena, I get the following message: unknown color name "Helvetica -12 bold" at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Tk/Submethods.pm line 37. which looks like true, since 'Helvetica -12 bold' is certainly not a color name. On the other hand I do not have any idea where to go from here. Could you help me out of this please. Regards! -- Cserháti Csaba
On Tuesday 29 January 2008 06:42:55 cserhati csaba wrote:
Dear All, I installed the horae66 package on SUSE Linux 10.2. Everything went well, Artemis and Hephaestus works, but when I try to use Athena, I get the following message:
unknown color name "Helvetica -12 bold" at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Tk/Submethods.pm line 37.
which looks like true, since 'Helvetica -12 bold' is certainly not a color name. On the other hand I do not have any idea where to go from here. Could you help me out of this please. Regards!
Hmmm... What perl/Tk version are you using? Do this at the command line: perl -e 'use Tk; print $Tk::VERSION, $/' If it is not 804.027 or 804.028, you should grab the latest from http://search.cpan.org/~ni-s/Tk-804.027/ and install it. My other worry is that your error message says "-12" -- font sizes cannot be negative. I don't see any place in the tarball where I specified a negative font size, so I am suspicious of your ~/.horae/athenarc file. The fonts section should be at the very end. Are any ofthe fonts defined with size -12? Or are any colors improperly defined? If so, simply delete (or rename or edit) the athenarc file and try firing Athena up again. B -- Bruce Ravel ------------------------------------ bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 My homepage: http://xafs.org/BruceRavel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
Dear All, I installed the horae66 package on SUSE Linux 10.2. Everything went well, Artemis and Hephaestus works, but when I try to use Athena, I get the following message:
unknown color name "Helvetica -12 bold" at /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Tk/Submethods.pm line 37.
OK, I found the problem. What I suggest below is probably an easier chore than my previous suggestion of downgrading perl/Tk. Open the athena program in a text editor and search forward for the line that starts $top -> setPalette(font => $config{fonts}{small}, and change it to $top -> setPalette(-font => $config{fonts}{small}, Alternately, edit the file "athena_parts/head.pl" in the horae tarball, rebuild, and reinstall. I don't quite understand why that method requires dashes for some attributes and not others, and I do not understand what changed between the two versions of perl/Tk, but it would seem that the dash is more correct. This will be fixed in the next release. In the short term, it is an easy enough fix for those of you on linux machines and using Tk 804.028. This issue should not affect Windows users in any way and will not affect Mac users using the iXAFS package that Jeff Terry and Ken McIvor put together. B -- Bruce Ravel ----------------------------------- bravel@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at Brookhaven National Laboratory Building 535A Upton NY, 11973 My homepage: http://cars9.uchicago.edu/~ravel EXAFS software: http://cars9.uchicago.edu/~ravel/software/exafs/
participants (3)
-
Bruce Ravel
-
cserhati csaba
-
Ravel, Bruce