#12299: Upgrade Jmol to 12.3.27, Advance Jmol Interactive Features in Flask
Notebook
--------------------------------------------------------------+-------------
Reporter: gutow | Owner:
jason, mpatel, was
Type: enhancement | Status:
needs_review
Priority: major | Milestone:
sage-pending
Component: notebook | Resolution:
Keywords: Jmol, 3D, notebook | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Karl-Dieter Crisman, Steven Trogdon, Punarbasu Purkayastha, John Palmieri
Authors: Jonathan Gutow | Merged in:
Dependencies: #11080,#11078,#11503,#13121 | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by strogdon):
On this old redhat machine with jmol-12.3.27.p1.spkg I get a failure as on
arando:
{{{
sage -t -long -force_lib "devel/sage-main/sage/interfaces/jmoldata.py"
**********************************************************************
File "/data/sage/sage-5.2.beta1/devel/sage-
main/sage/interfaces/jmoldata.py", line 164:
sage: JData.export_image(targetfile =testfile,datafile = script,
image_type="PNG")
Exception raised:
Traceback (most recent call last):
File "/data/sage/sage-5.2.beta1/local/bin/ncadoctest.py", line 1231,
in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/data/sage/sage-5.2.beta1/local/bin/sagedoctest.py", line 38,
in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File "/data/sage/sage-5.2.beta1/local/bin/ncadoctest.py", line 1172,
in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_6[14]>", line 1, in <module>
JData.export_image(targetfile =testfile,datafile = script,
image_type="PNG")###line 164:
sage: JData.export_image(targetfile =testfile,datafile = script,
image_type="PNG")
File "/data/sage/sage-5.2.beta1/local/lib/python/site-
packages/sage/interfaces/jmoldata.py", line 195, in export_image
raise JmolDataError(errStr)
JmolDataError: 'Java Virtual Machine not available.\nThis should be
checked before calling JmolData().export_image().\nUse
JmolData().is_jvm_available() to check.\nAdministrator should install
JVM.'
**********************************************************************
File "/data/sage/sage-5.2.beta1/devel/sage-
main/sage/interfaces/jmoldata.py", line 165:
sage: print os.path.exists(testfile)
Expected:
True
Got:
False
**********************************************************************
}}}
The JmolDataError output is not strictly correct (JVM is installed but is
deprecated), but this may be cosmetic.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12299#comment:158>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en.