On Mon, Feb 25, 2013 at 1:26 PM, Angel Herráez <[email protected]> wrote:

> On 25 Feb 2013 at 13:27, Fred Ziegler wrote:
> > All:
> >
> > Uploaded to the serverFEZtest5.html (subdirectory), and  JSmol and
> cyclohex.mol to the directory, one level up).  Does not work. Used ../
> annotation in three locations.  What am I doing wrong.  Fred
>
> Fred, I tried your source code locally, and indeed JSmol does not show up.
> If I remove the script line, JSmol is displayed.
> So there is something in the script or its calling.
> You need to debug.
>
> First, enable things, in Info:
>   disableInitialConsole: false
> maybe also
>   debug: true
>
> And this is displayed when I run this simple script: "background black;"
> (I do not know what to make of it, but surely there are some clues in that
> report)
>   "call loadScript ..\core\corescript.z.js  "
> looks suspicious
>

[JSmol to Angel: "Oh, you are using scripts. In that case I need to load
corescript.z.js using synchronous AJAX.]


>
> 8<-------------------------
> Jmol._Canvas2D (JSmol) "jmolApplet0"[x]
> call loadScript ..\core\package.js
> call loadScript ..\core\core.z.js -- required by ClazzNode
> Jmol JavaScript applet jmolApplet0_object__253434304794228__ initializing
> getValue debug = null
> getValue logLevel = null
> AppletRegistry.checkIn(jmolApplet0_object__253434304794228__)
> viewerOptions:
>
...

> Jmol._readyCallback failed TypeError: this.scriptManager is null
>
>
[JSmol to Angel: "Sorry, my friend. I guess that did not work...."]



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to