I just downloaded the latest version of JSmol (Jmol-14.2.4_2014.08.03-binary.tar.gz) and I dropped it into my setup to check it out. I can't get it to work however; here's the first error I'm getting:
Where I expanded the first error to show a stack trace. It's not just a problem of whether I copied the file to my server, the file "AccessController.js" is not in the jsmol.zip file included in Jmol. This worked with the previous version of Jsmol that I was using (Jmol-14.0.13-binary.tar.gz), although it doesn't look like it included those files either. The script I'm using to load my JSmol looks something like this:
varscript='load data "mypdb"\n'+atob(dsData[0].structure)+'end "mypdb";'script+='spacefill off;wireframe off;cartoons on;color structure;'varInfo={width:"100%",height:"100%",debug:false,color:"white",addSelectionOptions:false,use:"HTML5",j2sPath:"j2s",script:script,disableInitialConsole:true,disableJ2SLoadMonitor:true,z:1000000,zIndexBase:1000000,loadstructcallback:"jmolCallback"}this.jmolApp=Jmol.getApplet("jmol"+_displayID++,Info);
The reason I'm trying to update is because there's a bug I'm looking into, and I figured I'd start by updating my version.
Am I doing something wrong? Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just downloaded the latest version of JSmol (Jmol-14.2.4_2014.08.03-binary.tar.gz) and I dropped it into my setup to check it out. I can't get it to work however; here's the first error I'm getting:
Where I expanded the first error to show a stack trace. It's not just a problem of whether I copied the file to my server, the file "AccessController.js" is not in the jsmol.zip file included in Jmol. This worked with the previous version of Jsmol that I was using (Jmol-14.0.13-binary.tar.gz), although it doesn't look like it included those files either. The script I'm using to load my JSmol looks something like this:
The reason I'm trying to update is because there's a bug I'm looking into, and I figured I'd start by updating my version.
Am I doing something wrong? Thanks!
You really put those files on www.domain.com? That's your server?
I can confirm that this problem has gone away with JSmol 14.2.7.
No; I anonymized it a little bit.