Run time error with athena
I have been using athena and just installed the latest version (5.16) on a colleagues G4 powerbook running Mac OSX (10.1.4). This machine is ostensibly running the same set of basic software, namely same version of perl, Tk, python, and pgplot, but he gets a runtime error when he attempts to read in some data while I don't. It would help if there were some suggestions as to how to narrow down the problem. Upon opening a prj file (the example file, ga.prj in the examples folder), the following gibberish appears: Tk::Error: Can't call method "configure" on an undefined value at /sw/bin/athena line 1775, <R> line 9. main::set_properties at /sw/bin/athena line 1775 main::fill_skinny at /sw/bin/athena line 923 main::read_record at /sw/bin/athena line 4306 main::read_file at /sw/bin/athena line 1973 [\&main::read_file,0] Tk callback for .frame.menubutton2.menu Tk::__ANON__ at /Library/Perl/darwin/Tk.pm line 228 Tk::Menu::Invoke at /Library/Perl/darwin/Tk/Menu.pm line 530 (command bound to event) It seems to be referring to a perl module called configure. Any ideas? Thanks. Dr. Paul Fons Senior Research Scientist National Institute for Advanced Industrial Science and Technology Optoelectronics Institute Energy Electronics Institute Umezono 1-1-1 Tsukuba, Ibaraki JAPAN 305-8568 paul-fons@aist.go.jp lines below are in Japanese: 〒305-8568茨城県つくば市梅園1-1-1 主任研究官ポール・フォンス
Hi Paul, I'll defer to Bruce on perl-related questions, but
Tk::Error: Can't call method "configure" on an undefined value at /sw/bin/athena line 1775, <R> line 9.
looks like a serious problem with the perl/Tk installation on this machine. That is, "configure" is a built-in perl/Tk method, and used heavily. I'd start by seeing if _any_ perl/Tk programs run. Like, if there are demos included in with Mac OS perl/Tk, do they run? Hope that helps, --Matt
On 水曜日, 5 22, 2002, at 01:57 AM, Matt Newville wrote:
Hi Paul,
I'll defer to Bruce on perl-related questions, but
Tk::Error: Can't call method "configure" on an undefined value at /sw/bin/athena line 1775, <R> line 9.
looks like a serious problem with the perl/Tk installation on this machine. That is, "configure" is a built-in perl/Tk method, and used heavily.
I'd start by seeing if _any_ perl/Tk programs run. Like, if there are demos included in with Mac OS perl/Tk, do they run?
Hope that helps,
--Matt
Actually the weird thing is that Tk seems to install fine and artemis seems to run (and plot) just fine. This would seem to imply to me that Tk is functional. pgplot and also plots its demo files well. The perl is apple's default installation. dylib is the patched version. From what I understand from Bruce, artemis recycles a lot of the code from athena (for file i/o and plotting at least) thus it is seems really strange that one works and the other doesn't. I will try some more of the demo programs associated with the Tk installation to make sure they work. With artemis seemingly working fine though... Very strange, yes? --confused Paul
participants (2)
-
Dr. Paul Fons
-
Matt Newville