TracePrint[GUIKitHello]| wc -l; 1205456
- To: mathgroup at smc.vnet.net
- Subject: [mg52888] TracePrint[GUIKitHello]| wc -l; 1205456
- From: "Steven T. Hatton" <hattons at globalsymmetry.com>
- Date: Thu, 16 Dec 2004 03:40:21 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Can this be explained? Something seems very wrong with what this program is dong. The log produced by tracing a hello world program is 1,205,390. That's a US million! Wed Dec 15 05:25:52:> cat hello.m << GUIKit` TracePrint[GUIRunModal[Widget["Label", {"text" -> "Hello World!"}]]] Exit[] Wed Dec 15 05:25:53:> math < hello.m > hello.log Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct Wed Dec 15 05:27:03:> wc -l hello.log 1205390 hello.log Mathematica 5.1 for Linux Copyright 1988-2004 Wolfram Research, Inc. -- Motif graphics initialized -- In[1]:= In[2]:= In[2]:= Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct The code without the trace produces this: Java::excptn: A Java exception occurred: java.lang.NoSuchMethodError: com.wolfram.jlink.JLinkClassLoader.getInstance()Ljava/lang/ClassLoader; at com.wolfram.bsf.engines.MathematicaBSFEngine.getClassLoader(Unknown Source) at com.wolfram.guikit.GUIKitDriver.parse(Unknown Source) at com.wolfram.guikit.GUIKitDriver.load(Unknown Source) at com.wolfram.guikit.GUIKitDriver.runModalContent(Unknown Source) at com.wolfram.guikit.GUIKitDriver.runModalContent(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:25) . GUIRunModal::nvalid: The GUI definition contains invalid content. LinkObject::linkd: LinkObject[/usr/local/Wolfram/Mat<<210>>jlink.Install, <<2>>] is closed; the connection is dead. Out[2]= $Failed In[3]:= -- "Philosophy is written in this grand book, The Universe. ... But the book cannot be understood unless one first learns to comprehend the language... in which it is written. It is written in the language of mathematics, ...; without which wanders about in a dark labyrinth." The Lion of Gaul