On 2/6/12 10:06 PM, David wrote:
No line number. If I click on the url in the error I get the source,
but it just leaves me at the top.
Here's the error:
http://skink.whitman.edu/sage_error.png
Hmmm. Double Hmmm...
Here's a possible cause:
http://stackoverflow.com/questions/227552/common-sources-of-unterminated-string-literal
Here's an idea: jmol is launched via javascript that is sent to the
browser. That javascript is eval'd in the browser. Somewhere in that
javascript that is sent to the browser, there is some sort of problem.
Here's one way to diagnose if this is the problem. In
SAGE_ROOT/devel/sagenb/sagenb/data/sage/js/notebook_lib.js, modify the
eval_script_tags function to log the string it eval()'s. (In other
words, put console.log(code) just above eval(code) in that function).
Then we can see exactly what code is being evaluated. There are a few
other places that code is evaled, but my guess is that it is in the
eval_script_tags function.
Do other javascript things work? For example, does shift-enter evaluate
a cell?
Thanks,
Jason
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org