[Jmol-developers] Switching language
Hi, I just tried to test the Simplified Chinese translation that was just provided. I am getting 2 problems : - An error message about the translations not found. I will check what the problem is. - An interrupted exception. Bob, do you know what happens ? Nico [ERROR] GT could not find the class org.jmol.translation.Jmol.zh_CN.Messages_zh_CN [ERROR] GT could not find the class org.jmol.translation.Jmol.zh_TW.Messages_zh_TW [ERROR] GT could not find the class org.jmol.translation.JmolApplet.zh_CN.Messages_zh_CN [ERROR] GT could not find the class org.jmol.translation.JmolApplet.zh_TW.Messages_zh_TW [INFO] history file is C:\Documents and Settings\Nicolas\.jmol\history [INFO] Initializing 3D display... [INFO] (C) 2009 Jmol Development Jmol Version 11.9.14_dev 2009-12-21 13:51 java.vendor:Sun Microsystems Inc. java.version:1.6.0_01 os.name:Windows XP memory:8.5/12.4 useCommandThread: false [INFO] Initializing Preferences... [INFO] Initializing Recent Files... [INFO] Initializing Script Window... [INFO] Building Command Hooks... [INFO] Building Menubar... [INFO] User macros dir: C:\Documents and Settings\Nicolas\.jmol\macros [INFO]exists: false [INFO] isDirectory: false [INFO] Starting display... [INFO] Setting up Drag-and-Drop... [INFO] Launching main frame... Disposal was interrupted: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:485) at java.awt.EventQueue.invokeAndWait(EventQueue.java:992) at java.awt.Window.doDispose(Window.java:989) at java.awt.Dialog.doDispose(Dialog.java:1237) at java.awt.Window.dispose(Window.java:932) at org.jmol.viewer.Viewer.setModeMouse(Viewer.java:1616) at org.openscience.jmol.app.jmolpanel.JmolPanel.dispose(JmolPanel.java:470) at org.openscience.jmol.app.jmolpanel.JmolPanel.setupNewFrame(JmolPanel.java:487) at org.openscience.jmol.app.jmolpanel.StatusListener.setCallbackFunction(StatusListener.java:167) at org.jmol.viewer.StatusManager.setCallbackFunction(StatusManager.java:317) at org.jmol.viewer.Viewer.setLanguage(Viewer.java:4992) at org.jmol.viewer.Viewer.setStringProperty(Viewer.java:4839) at org.jmol.script.ScriptEvaluator.setStringProperty(ScriptEvaluator.java:2810) at org.jmol.script.ScriptEvaluator.set(ScriptEvaluator.java:9617) at org.jmol.script.ScriptEvaluator.instructionDispatchLoop(ScriptEvaluator.java:4668) at org.jmol.script.ScriptEvaluator.evaluateCompiledScript(ScriptEvaluator.java:235) at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:3848) at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(ScriptManager.java:223) at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(ScriptManager.java:211) at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:173) at java.lang.Thread.run(Thread.java:619) -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Switching language
My first test was when running Jmol directly inside Eclipse. When running it ouside using Jmol.jar, the translation is found but I still see the InterruptedException Nico On Mon, Jan 4, 2010 at 9:20 PM, Nicolas Vervelle wrote: > Hi, > > I just tried to test the Simplified Chinese translation that was just > provided. > I am getting 2 problems : > >- An error message about the translations not found. I will check what >the problem is. >- An interrupted exception. Bob, do you know what happens ? > > Nico > > [ERROR] GT could not find the class > org.jmol.translation.Jmol.zh_CN.Messages_zh_CN > [ERROR] GT could not find the class > org.jmol.translation.Jmol.zh_TW.Messages_zh_TW > [ERROR] GT could not find the class > org.jmol.translation.JmolApplet.zh_CN.Messages_zh_CN > [ERROR] GT could not find the class > org.jmol.translation.JmolApplet.zh_TW.Messages_zh_TW > [INFO] history file is C:\Documents and Settings\Nicolas\.jmol\history > [INFO] Initializing 3D display... > [INFO] (C) 2009 Jmol Development > Jmol Version 11.9.14_dev 2009-12-21 13:51 > java.vendor:Sun Microsystems Inc. > java.version:1.6.0_01 > os.name:Windows XP > memory:8.5/12.4 > useCommandThread: false > [INFO] Initializing Preferences... > [INFO] Initializing Recent Files... > [INFO] Initializing Script Window... > [INFO] Building Command Hooks... > [INFO] Building Menubar... > [INFO] User macros dir: C:\Documents and Settings\Nicolas\.jmol\macros > [INFO]exists: false > [INFO] isDirectory: false > [INFO] Starting display... > [INFO] Setting up Drag-and-Drop... > [INFO] Launching main frame... > Disposal was interrupted: > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:485) > at java.awt.EventQueue.invokeAndWait(EventQueue.java:992) > at java.awt.Window.doDispose(Window.java:989) > at java.awt.Dialog.doDispose(Dialog.java:1237) > at java.awt.Window.dispose(Window.java:932) > at org.jmol.viewer.Viewer.setModeMouse(Viewer.java:1616) > at > org.openscience.jmol.app.jmolpanel.JmolPanel.dispose(JmolPanel.java:470) > at > org.openscience.jmol.app.jmolpanel.JmolPanel.setupNewFrame(JmolPanel.java:487) > at > org.openscience.jmol.app.jmolpanel.StatusListener.setCallbackFunction(StatusListener.java:167) > at > org.jmol.viewer.StatusManager.setCallbackFunction(StatusManager.java:317) > at org.jmol.viewer.Viewer.setLanguage(Viewer.java:4992) > at org.jmol.viewer.Viewer.setStringProperty(Viewer.java:4839) > at > org.jmol.script.ScriptEvaluator.setStringProperty(ScriptEvaluator.java:2810) > at org.jmol.script.ScriptEvaluator.set(ScriptEvaluator.java:9617) > at > org.jmol.script.ScriptEvaluator.instructionDispatchLoop(ScriptEvaluator.java:4668) > at > org.jmol.script.ScriptEvaluator.evaluateCompiledScript(ScriptEvaluator.java:235) > at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:3848) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(ScriptManager.java:223) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(ScriptManager.java:211) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:173) > at java.lang.Thread.run(Thread.java:619) > > -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
[Jmol-developers] Exceptions when running tests
Hi, When running the unit tests, I see several problems : Jmol-datafiles\animations\SN1_reaction.cml failure. Jmol-datafiles\c3xml\*.c3xml failure. Jmol-datafiles\cml\*.cml failure. Jmol-datafiles\gaussian\tms.log failure. Jmol-datafiles\hin\*.hin failure. Jmol-datafiles\molpro\vib.xml failure. Jmol-datafiles\spartan\spartan01.txt failure. java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:394) at org.jmol.adapter.readers.more.MOReader.setMOData(MOReader.java:498) at org.jmol.adapter.readers.more.GaussianReader.readGaussianMolecularOrbitals(GaussianReader.java:443) at org.jmol.adapter.readers.more.GaussianReader.checkLine(GaussianReader.java:194) at org.jmol.adapter.readers.more.MOReader.readAtomSetCollection(MOReader.java:128) at org.jmol.adapter.readers.more.GaussianReader.readAtomSetCollection(GaussianReader.java:100) at org.jmol.adapter.smarter.AtomSetCollectionReader.readData(AtomSetCollectionReader.java:187) at org.jmol.adapter.smarter.Resolver.getAtomCollectionAndCloseReader(Resolver.java:240) at org.jmol.adapter.smarter.SmarterJmolAdapter.staticGetAtomSetCollectionFromReader(SmarterJmolAdapter.java:79) at org.jmol.adapter.smarter.SmarterJmolAdapter.getAtomSetCollectionFromReader(SmarterJmolAdapter.java:71) at org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.testFile(TestSmarterJmolAdapter.java:230) at org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.runTest(TestSmarterJmolAdapter.java:205) java.lang.ArrayIndexOutOfBoundsException: 3 at org.jmol.adapter.readers.more.SpartanReader.readFrequencies(SpartanReader.java:127) at org.jmol.adapter.readers.more.SpartanReader.readAtomSetCollection(SpartanReader.java:65) at org.jmol.adapter.smarter.AtomSetCollectionReader.readData(AtomSetCollectionReader.java:187) at org.jmol.adapter.smarter.Resolver.getAtomCollectionAndCloseReader(Resolver.java:240) at org.jmol.adapter.smarter.SmarterJmolAdapter.staticGetAtomSetCollectionFromReader(SmarterJmolAdapter.java:79) at org.jmol.adapter.smarter.SmarterJmolAdapter.getAtomSetCollectionFromReader(SmarterJmolAdapter.java:71) at org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.testFile(TestSmarterJmolAdapter.java:230) at org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.runTest(TestSmarterJmolAdapter.java:205) -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Exceptions when running tests
Should be all fixed. Thanks -- I've forgotten to check that recently. On Mon, Jan 4, 2010 at 3:18 PM, Nicolas Vervelle wrote: > Hi, > > When running the unit tests, I see several problems : > > Jmol-datafiles\animations\SN1_reaction.cml failure. > Jmol-datafiles\c3xml\*.c3xml failure. > Jmol-datafiles\cml\*.cml failure. > > Jmol-datafiles\gaussian\tms.log failure. > > Jmol-datafiles\hin\*.hin failure. > > Jmol-datafiles\molpro\vib.xml failure. > > Jmol-datafiles\spartan\spartan01.txt failure. > > java.lang.NullPointerException > at java.util.Hashtable.put(Hashtable.java:394) > at org.jmol.adapter.readers.more.MOReader.setMOData(MOReader.java:498) > at > org.jmol.adapter.readers.more.GaussianReader.readGaussianMolecularOrbitals(GaussianReader.java:443) > at > org.jmol.adapter.readers.more.GaussianReader.checkLine(GaussianReader.java:194) > at > org.jmol.adapter.readers.more.MOReader.readAtomSetCollection(MOReader.java:128) > at > org.jmol.adapter.readers.more.GaussianReader.readAtomSetCollection(GaussianReader.java:100) > at > org.jmol.adapter.smarter.AtomSetCollectionReader.readData(AtomSetCollectionReader.java:187) > at > org.jmol.adapter.smarter.Resolver.getAtomCollectionAndCloseReader(Resolver.java:240) > at > org.jmol.adapter.smarter.SmarterJmolAdapter.staticGetAtomSetCollectionFromReader(SmarterJmolAdapter.java:79) > at > org.jmol.adapter.smarter.SmarterJmolAdapter.getAtomSetCollectionFromReader(SmarterJmolAdapter.java:71) > at > org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.testFile(TestSmarterJmolAdapter.java:230) > at > org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.runTest(TestSmarterJmolAdapter.java:205) > > > java.lang.ArrayIndexOutOfBoundsException: 3 > at > org.jmol.adapter.readers.more.SpartanReader.readFrequencies(SpartanReader.java:127) > at > org.jmol.adapter.readers.more.SpartanReader.readAtomSetCollection(SpartanReader.java:65) > at > org.jmol.adapter.smarter.AtomSetCollectionReader.readData(AtomSetCollectionReader.java:187) > at > org.jmol.adapter.smarter.Resolver.getAtomCollectionAndCloseReader(Resolver.java:240) > at > org.jmol.adapter.smarter.SmarterJmolAdapter.staticGetAtomSetCollectionFromReader(SmarterJmolAdapter.java:79) > at > org.jmol.adapter.smarter.SmarterJmolAdapter.getAtomSetCollectionFromReader(SmarterJmolAdapter.java:71) > at > org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.testFile(TestSmarterJmolAdapter.java:230) > at > org.jmol.adapter.smarter.TestSmarterJmolAdapterImpl.runTest(TestSmarterJmolAdapter.java:205) > > > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Switching language
I think you can ignore the disposal interruption exception. I, too, had the error of translations not found, but only while running Jmol from Eclipse. Try running it from the JAR file. Bob On Mon, Jan 4, 2010 at 2:20 PM, Nicolas Vervelle wrote: > Hi, > > I just tried to test the Simplified Chinese translation that was just > provided. > I am getting 2 problems : > >- An error message about the translations not found. I will check what >the problem is. >- An interrupted exception. Bob, do you know what happens ? > > Nico > > [ERROR] GT could not find the class > org.jmol.translation.Jmol.zh_CN.Messages_zh_CN > [ERROR] GT could not find the class > org.jmol.translation.Jmol.zh_TW.Messages_zh_TW > [ERROR] GT could not find the class > org.jmol.translation.JmolApplet.zh_CN.Messages_zh_CN > [ERROR] GT could not find the class > org.jmol.translation.JmolApplet.zh_TW.Messages_zh_TW > [INFO] history file is C:\Documents and Settings\Nicolas\.jmol\history > [INFO] Initializing 3D display... > [INFO] (C) 2009 Jmol Development > Jmol Version 11.9.14_dev 2009-12-21 13:51 > java.vendor:Sun Microsystems Inc. > java.version:1.6.0_01 > os.name:Windows XP > memory:8.5/12.4 > useCommandThread: false > [INFO] Initializing Preferences... > [INFO] Initializing Recent Files... > [INFO] Initializing Script Window... > [INFO] Building Command Hooks... > [INFO] Building Menubar... > [INFO] User macros dir: C:\Documents and Settings\Nicolas\.jmol\macros > [INFO]exists: false > [INFO] isDirectory: false > [INFO] Starting display... > [INFO] Setting up Drag-and-Drop... > [INFO] Launching main frame... > Disposal was interrupted: > java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:485) > at java.awt.EventQueue.invokeAndWait(EventQueue.java:992) > at java.awt.Window.doDispose(Window.java:989) > at java.awt.Dialog.doDispose(Dialog.java:1237) > at java.awt.Window.dispose(Window.java:932) > at org.jmol.viewer.Viewer.setModeMouse(Viewer.java:1616) > at > org.openscience.jmol.app.jmolpanel.JmolPanel.dispose(JmolPanel.java:470) > at > org.openscience.jmol.app.jmolpanel.JmolPanel.setupNewFrame(JmolPanel.java:487) > at > org.openscience.jmol.app.jmolpanel.StatusListener.setCallbackFunction(StatusListener.java:167) > at > org.jmol.viewer.StatusManager.setCallbackFunction(StatusManager.java:317) > at org.jmol.viewer.Viewer.setLanguage(Viewer.java:4992) > at org.jmol.viewer.Viewer.setStringProperty(Viewer.java:4839) > at > org.jmol.script.ScriptEvaluator.setStringProperty(ScriptEvaluator.java:2810) > at org.jmol.script.ScriptEvaluator.set(ScriptEvaluator.java:9617) > at > org.jmol.script.ScriptEvaluator.instructionDispatchLoop(ScriptEvaluator.java:4668) > at > org.jmol.script.ScriptEvaluator.evaluateCompiledScript(ScriptEvaluator.java:235) > at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:3848) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(ScriptManager.java:223) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(ScriptManager.java:211) > at > org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:173) > at java.lang.Thread.run(Thread.java:619) > > > > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and > easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > ___ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
[Jmol-developers] Eclipse problem
Suddenly (I think) Eclipse has changed its behavior on searches. I don't recall searches (simple CTRL-F) being incremental - going with each keystroke. Am I just crazy? For others using Eclipse, does it wait until you press a button to jump to a new text and highlight it? Bob -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 If nature does not answer first what we want, it is better to take what answer we get. -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Eclipse problem
On Tue, Jan 5, 2010 at 2:43 AM, Robert Hanson wrote: > Suddenly (I think) Eclipse has changed its behavior on searches. I don't > recall searches (simple CTRL-F) being incremental - going with each > keystroke. Am I just crazy? For others using Eclipse, does it wait until you > press a button to jump to a new text and highlight it? With Ctrl^F I still get a dialog where I press Next for each next hit... but I am not sure what you mean with incremental here... I'm using Eclipse 3.5 from Ubuntu .deb packages... Egon -- Post-doc @ Uppsala University Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers