Em 19 de outubro de 2011 23:33, Dan Drake <dr...@kaist.edu> escreveu: > On Tue, 18 Oct 2011 at 03:17AM -0500, Jason Grout wrote: >> I think we've fixed the last remaining bugs in the flask notebook. >> Can people please test the new flask notebook, either at >> test.sagenb.org, or by following the instructions here: >> http://code.google.com/r/jasongrout-flask-sagenb/ >> >> We are looking for any regressions compared to the released version >> of the notebook in Sage 4.7.1 or any regression compared to >> sagenb.org. > > Is Jmol working? I can't get Jmol to work on test.sagenb, using either > Firefox 7 or Chromium 14; I get the applet window, it says "Loading Jmol > applet..." and a seconds counter that just keeps counting. No plot ever > appears. > > Locally, I can use Sage 4.7.1 from the command line and via the notebook > and Jmol works. > > I'm using OpenJDK on Ubuntu Oneiric, 64 bit. Has anyone else seen this?
I updated Mandriva (cooker) to use $ rpm -q java-1.7.0-openjdk icedtea-web java-1.7.0-openjdk-1.7.0.1-2.0.3-mdv2012.0.x86_64 icedtea-web-1.1.4.1-1-mdv2012.0.x86_64 and I also commented about flask.sagenb.org as a test case at http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=866 Now, in firefox it appears I have this symptom of counter never stopping in firefox (actually, did not way more than 600 seconds). What I see in the terminal for firefox: $ firefox java version "1.7.0_b147-icedtea" OpenJDK Runtime Environment (Mandriva-2.0.3-x86_64) OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) Jmol applet jmolApplet0__40509062449486__ initializing AppletRegistry.checkIn(jmolApplet0__40509062449486__) Jmol applet jmolApplet0__40509062449486__ initializing AppletRegistry.checkIn(jmolApplet0__40509062449486__) urlImage=jar:http://flask.sagenb.org/java/jmol/JmolApplet0.jar!/jmol75x29x8.gif Jmol applet jmolApplet1__40509062449486__ initializing 1722 script command tokens applet context: -applet appletDocumentBase=http://flask.sagenb.org/doc/live/tutorial/ appletCodeBase=http://flask.sagenb.org/java/jmol/ AppletRegistry.checkIn(jmolApplet1__40509062449486__) Jmol applet jmolApplet1__40509062449486__ initializing (C) 2009 Jmol Development Jmol Version: 12.0.45 2011-05-21 18:09 java.vendor: Oracle Corporation java.version: 1.7.0_b147-icedtea os.name: Linux memory: 165.3/245.4 processors available: 4 useCommandThread: false appletId:jmolApplet0__40509062449486__ urlImage=jar:http://flask.sagenb.org/java/jmol/JmolApplet0.jar!/jmol75x29x8.gif FileManager opening http://flask.sagenb.org/java/jmol/appletweb/SageMenu.mnu 1722 script command tokens applet context: -applet applet context: -applet appletDocumentBase=http://flask.sagenb.org/doc/live/tutorial/ appletCodeBase=http://flask.sagenb.org/java/jmol/ appletDocumentBase=http://flask.sagenb.org/doc/live/tutorial/ appletCodeBase=http://flask.sagenb.org/java/jmol/ (C) 2009 Jmol Development Jmol Version: 12.0.45 2011-05-21 18:09 java.vendor: Oracle Corporation java.version: 1.7.0_b147-icedtea os.name: Linux memory: 180.5/245.4 processors available: 4 useCommandThread: false appletId:jmolApplet0__40509062449486__ (C) 2009 Jmol Development Jmol Version: 12.0.45 2011-05-21 18:09 java.vendor: Oracle Corporation java.version: 1.7.0_b147-icedtea os.name: Linux memory: 180.5/245.4 processors available: 4 useCommandThread: false appletId:jmolApplet1__40509062449486__ FileManager opening http://flask.sagenb.org/java/jmol/appletweb/SageMenu.mnu FileManager opening http://flask.sagenb.org/java/jmol/appletweb/SageMenu.mnu defaults = "Jmol" backgroundColor = "black" language=pt_BR FileManager opening http://flask.sagenb.org/home/_sage_/127/cells/14/sage0-size500.jmol?1329234859 FileManager opening http://flask.sagenb.org/home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14/cells/14/sage0-size500-390427185.jmol.zip ERRO no "script": ERRO no "script": io error reading http://flask.sagenb.org/home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14/cells/14/sage0-size500-390427185.jmol.zip|SCRIPT: java.io.FileNotFoundException: http://flask.sagenb.org/home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14//home/_sage_/127/cells/14/cells/14/sage0-size500-390427185.jmol.zip And for chromium-browser it still gets somewhat confused with paths: $ chromium-browser $ java version "1.7.0_b147-icedtea" OpenJDK Runtime Environment (Mandriva-2.0.3-x86_64) OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode) Jmol applet jmolApplet0__44187487475574__ initializing AppletRegistry.checkIn(jmolApplet0__44187487475574__) Jmol applet jmolApplet1__44187487475574__ initializing AppletRegistry.checkIn(jmolApplet1__44187487475574__) urlImage=jar:http://flask.sagenb.org/java/jmol/JmolApplet0.jar!/jmol75x29x8.gif java.lang.ArrayIndexOutOfBoundsException: 2 at sun.applet.PluginAppletSecurityContext.handleMessage(PluginAppletSecurityContext.java:856) at sun.applet.AppletSecurityContextManager.handleMessage(AppletSecurityContextManager.java:68) at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:235) at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:78) Apparently, if I remove ~/.icedtea directory, it changes a bit behavior, but still does work anyway. Changes behavior in that it apparently, kind of finds the addess of the jmol files with firefox, and fails quickly without finding the file with chromium-browser. Chromium-browser kept asking me what to do due to page not responding, so, after some minutes I did agree, to see the "Ele está morto, Jim." (It's dead Jim), thus the few output above. Just in case, It works pretty fine with $ rpm -q sagemath sagemath-4.8-1-mdv2012.0.x86_64 and a local notebook, but, as pointed in the icedtea bugzilla, I did use the tip of the icedtea-web development, and also a patch, as well as a patch I have been keeping for quite some time, for extra information: http://svn.mandriva.com/viewvc/packages/cooker/icedtea-web/current/ http://svn.mandriva.com/viewvc/packages/cooker/java-1.7.0-openjdk/current/ > Dan > > -- > --- Dan Drake > ----- http://mathsci.kaist.ac.kr/~drake > ------- Paulo -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org