for me jmol works if I use sage console interface in notebook interface jmol starts but the result is a black background
Sage 4.1.1 jmol-11.6.16.p0 firefox 3.5 firefox 3.0 I run firefox in linux console to see if I get anything (runing sage - notebook provides no information on jmol, but firefox tells something is wrong) bo...@ev:~$ firefox Jmol applet jmolApplet0__4865717749280172__ initializing AppletRegistry.checkIn(jmolApplet0__4865717749280172__) applet context: -applet appletDocumentBase=http://localhost:8000/home/admin/18/ appletCodeBase=http://localhost:8000/java/jmol/ (C) 2008 Jmol Development Jmol Version 11.6.16 2008-11-24 13:39 java.vendor:Sun Microsystems Inc. java.version:1.6.0_0 os.name:Linux memory:10.6/31.3 useCommandThread: false appletId:jmolApplet0__4865717749280172__ urlImage=jar:file:/home/boris/.icedteaplugin/cache/http/localhost/java/ jmol/JmolApplet0.jar!/jmol75x29x8.gif FileManager opening http://localhost:8000/java/jmol/appletweb/SageMenu.mnu defaults = "Jmol" backgroundColor = "black" language=en_US FileManager opening http://localhost:8000/home/admin/18/cells/19/sage0-size500.jmol?1251287536 script compiler ERROR: command expected ----line 1 command 1 of /home/admin/18/cells/19/sage0-size500.jmol? 1251287536: >>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <<<< script ERROR: script compiler ERROR: command expected ----line 1 command 1 of /home/admin/18/cells/19/sage0-size500.jmol? 1251287536: >>>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <<<< eval ERROR: ----line 1 command 1: script >> "/home/admin/18/cells/19/sage0-size500.jmol? 1251287536" << I guess (I m not a programmer) JmolApplet is the problem. Anyone ? "line 1 command 1 of ......." does this have to do anything with my input in sage notebook cell ? Is it possible that I get this because my input syntax is wrong ? This code shows a nice 2d Gauss if typed in sage command console. The same code typed in notebook cell produces just a black blackground insted of a nice 2D surface. var('x_0 y_0 sigma_x sigma_y x y A') x_0=0 y_0=0 sigma_x=2 sigma_y=2 A=10 X=((x-x_0)^2)/(2*(sigma_x)^2) Y=((y-y_0)^2)/(2*(sigma_y)^2) G(x,y)=A*exp(-(X+Y)) plot3d(G(x,y),(x,-10,10),(y,-10,10)) --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---