Once I modified that remaining path to a windows-like path, jmol did in fact render the image that I wanted. Once I modified that to have a windows-like path, I then opened that file and found that the file itself contained more unix-like paths. dot_sage/temp/DESKTOP-HUU9IR5/21144/dir_JxIjMK/scene.spt This is because the arguments that are passed contain another unix-like path, ie: In any case, launching jmol doesn't actually make the image display correctly. So it seems like sage is expecting to run a java that works with these unix-like paths, but the java that is installed only accepts windows-like paths. Show(G,figsize=(5,5),title="Sample Figure",aspect_ratio=1) This will launch jmol from within sage, when you run things like G=sphere((0,0,0),1) I can make it work by editing the jmol shell script to run this: java -Xmx512M -jar "c:\\program files\\sagemath 8.1\\runtime\\opt\\sagemath-8.1\\local\\share\\jmol\\Jmol.jar" The java I have is a windows java that expects windows pathnames. I believe I understand part of what the underlying issue is. User macros dir: C:\Users\XXX\.jmol\macros User properties file is C:\Users\XXX\.jmol\properties History file is C:\Users\XXX\.jmol\history Splash_image=jar:file:/C:/Program%20Files/SageMath%208.1/runtime/opt/sagemath-8.1/local/share/jmol/Jmol.jar!/org/openscience/jmol/app/images/Jmol_splash.jpg However, if I go in to /opt/sagemath-8.1/local/share/jmol/ and run jmol it works: (sage-sh) cd /opt/sagemath-8.1/local/share/jmol/Īppletweb COPYRIGHT.txt Jmol.jar JmolData.jar LEAME.txtī jmol jmol.mac JmolLib.jar LICENSE.txtĬHANGES.txt jmol.bat jmol.sh JSpecView.jar README.txt What I've noticed is that if I open the sage shell and run jmol I get: (sage-sh) jmolĮrror: Unable to access jarfile /opt/sagemath-8.1/local/share/jmol/Jmol.jar I've got the identical situation occurring.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |