On 12/17/2015 07:28 PM, Robert Hanson wrote: > On Thu, Dec 17, 2015 at 11:51 AM, Rolf Huehne <rhue...@leibniz-fli.de> > wrote: > >> >> ----- Error Message -------------------------------------- >> TypeError: b.lineNumbers is null try/catch path: >> 0 function (b,d) >> args[0]=TypeError: b.lineNumbers is null >> args[1]=function (){a.instantialize(this,arguments)} >> 1 JS.ScriptEval.evaluate(a,b,c) >> args[0]=<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><he... >> args[1]=true >> args[2]=false >> > > > That looks a lot like a "file not found" message to me. > You are right, Bob. I took the wrong Jmol-Viewer-Tab. The viewer is there on a web server and not loaded locally as I expected. after changing the URL JSmol/HTML could load the small JSON file correctly (about 10 times slower than Java). Since the Java version has still not finished loading the full dataset after about 90 minutes I don't think it makes sense to try it in the HTML5 version.
I also tried the local HTML5 version with the small JSON file but it loading the file was refused: ------- Error message ----------------- TypeError: b.lineNumbers is null try/catch path: 0 function (b,d) args[0]=TypeError: b.lineNumbers is null args[1]=function (){a.instantialize(this,arguments)} 1 JS.ScriptEval.evaluate(a,b,c) args[0]=NS_ERROR_DOM_BAD_URI: Access to restricted URI denied args[1]=true args[2]=false 2 JS.ScriptEval.evaluateExpression(a,b,c) args[0]=NS_ERROR_DOM_BAD_URI: Access to restricted URI denied args[1]=true args[2]=false 3 JV.Viewer.evaluateExpressionAsVariable(a) args[0]=NS_ERROR_DOM_BAD_URI: Access to restricted URI denied 4 JS.MathExt.evaluateScript(d,a,b) args[0]=[JS.ScriptMathProcessor object] args[1]=Token[string(4/0x4) value="NS_ERROR_DOM_BAD_URI: Access to r... args[2]=134218253 5 JS.MathExt.evaluate(d,a,b,c) args[0]=[JS.ScriptMathProcessor object] args[1]=Token[keyword(13/0x800020d) value="eval"] args[2]=Token[string(4/0x4) value="NS_ERROR_DOM_BAD_URI: Access to r... args[3]=134218253 6 JS.ScriptMathProcessor.evaluateFunction(a) args[0]=134218253 7 JS.ScriptMathProcessor.addOpAllowMath(a,b,c) args[0]=Token[keyword(17/0x10000011) value=")"] args[1]=true args[2]=0 8 JS.ScriptMathProcessor.addOp(a) args[0]=Token[keyword(17/0x10000011) value=")"] 9 JS.ScriptExpr.parameterExpression(a,b,c,e,f,d,h,g,s,n) args[0]=2 args[1]=9 args[2]=[JS.ScriptMathProcessor object] args[3]=true args[4]=0 args[5]=-1 args[6]=1 args[7]=null args[8]=null args[9]=false --------------------------------------- Are there additional restrictions of HTML5 versus Java file loading that I forgot about? Regards, Rolf -- Rolf Huehne Postdoc Leibniz Institute on Aging - Fritz Lipmann Institute (FLI) Beutenbergstrasse 11 07745 Jena, Germany Phone: +49 3641 65 6205 Fax: +49 3641 65 6210 E-Mail: rhue...@leibniz-fli.de Website: http://www.leibniz-fli.de Scientific Director: Prof. Dr. K. Lenhard Rudolph Head of Administration: Dr. Daniele Barthel Chairman of Board of Trustees: Burkhard Zinner VAT No: DE 153 925 464 Register of Associations: No. 230296, Amtsgericht Jena Tax Number: 162/141/08228 ------------------------------------------------------------------------------ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users