Tim:

I am a novice but the .mol (.xyz) file MUST be in the jmol-10.00 folder along with the other jmol files. It can be within a folder within jmol-10.00. The example should read "load ../../caffeine.xyz" with the .html file 3 shells below jmol-10.00. The html file can be anywhere as long as the path is correct. Fred

On Dec 1, 2005, at 10:45 a, Dr. Eric Walters wrote:

Here's the link to the page I'm working with:
http://www.rosalindfranklin.edu/cms/biochem/Walters/coag/coag-j2.html

Here's the html code in that file:

<html>
  <head>
    <title>Eric's difficult example...</title>
    <script src="../../jmol-10.00/Jmol.js"></script>
  </head>
  <body>
  <p>why won't this work???</p>
    <script>
       jmolInitialize("../../jmol"); // REQUIRED
       jmolApplet(200, "load caffeine.xyz");
    </script>
  </body>
</html>

The little black box appears on the web page, but no molecule. The java console window says:

InterruptedException!
AppletRegistry.checkIn(jmolApplet0)
(C) 2004 The Jmol Development Team
Jmol Version 10.00 2004/12/17 18:55
java.vendor:Apple Computer, Inc.
java.version:1.4.2_09
os.name:Mac OS X
appletDocumentBase=http://www.rosalindfranklin.edu/cms/biochem/Walters/coag/coag-j2.html
setting color scheme to:jmol
animationReplayMode=0
FileManager.openFile(caffeine.xyz)
error opening http://www.rosalindfranklin.edu/cms/biochem/Walters/coag/caffeine.xyz
java.io.IOException
openFile(caffeine.xyz) 76 ms

What is it trying to tell me?  What have I done wrong?  Thanks for your help!


hi Eric,

it looks like the applet loads ok but can not find the xyz file.  
this could mean either the xyz file isn't in the right place (http://www.rosalindfranklin.edu/cms/biochem/Walters/coag/caffeine.xyz) or it is not named correctly (check for file extension and case issues).

if I click the link to the xyz file that is given in the error report, I get a file not found.

hth,

tim
--
Timothy Driscoll                                    em: [EMAIL PROTECTED]
molvisions - see. grasp. learn.                     ph: 919-368-2667
<http://www.molvisions.com/>                        im: molvisions
usa:virginia:blacksburg                             tx: [EMAIL PROTECTED]







-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


--
****************************************
        Professor Frederick E. Ziegler                        
        Sterling Chemistry Laboratory 
        225 Prospect Street
        Yale University         
        P.O. Box 208107           
        New Haven, Connecticut 06520-8107          
        E-mail: [EMAIL PROTECTED]
        Telephone: (203) 432-3959             
        Fax: (203) 432-6144                   
****************************************


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to