On Mar 30, 2004, at 11:04 AM, Miguel wrote:


Judith wrote:

The double dash does not work either. When I use the double dash as
you suggest, I get the error message I was getting using the -script in
10pre7 instead of the unrecognized file format message:

This works on both Linux and on Win32 ... not that this helps you very much :-(

I don't have access to an OSX machine.

Egon, do you think we should consider using anotehr command-line option
parser?



Hi,


I just tried the -script and the --script on Linus and got the same errors:

[EMAIL PROTECTED] ~/pfig]$ java -jar Jmol.jar --script robetta.rasmol
using Smarter Model Adapter
(C) 2004 The Jmol Development Team
Jmol Version 10pre8  2004/03/28 20:31
java.vendor:Sun Microsystems Inc.
java.version:1.4.2
os.name:Linux
JmolViewer.setShapeProperty(Labels,color,null)
propertyName=color
value=null
JmolViewer.setShapeProperty(Sticks,color,null)
propertyName=color
value=null
Graphics3D.setSize(640,10)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
Graphics3D.setSize(486,433)
getting ready to allocateBuffers
returning from Graphics3D.setSize()
Executing script: robetta.rasmol
uncaught exception: java.lang.NullPointerException: string is null
java.lang.NullPointerException: string is null
        at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2530)
        at org.openscience.jmol.app.Splash.showStatus(Splash.java:98)
        at org.openscience.jmol.app.Jmol.main(Jmol.java:394)


[EMAIL PROTECTED] ~/pfig]$ java -jar Jmol.jar -script robetta.rasmol using Smarter Model Adapter (C) 2004 The Jmol Development Team Jmol Version 10pre8 2004/03/28 20:31 java.vendor:Sun Microsystems Inc. java.version:1.4.2 os.name:Linux JmolViewer.setShapeProperty(Labels,color,null) propertyName=color value=null JmolViewer.setShapeProperty(Sticks,color,null) propertyName=color value=null Graphics3D.setSize(640,10) getting ready to allocateBuffers returning from Graphics3D.setSize() Graphics3D.setSize(486,433) getting ready to allocateBuffers returning from Graphics3D.setSize() display modelID=0 JmolViewer.setShapeProperty(Measures,clear,null) propertyName=clear value=null FileManager.openFile(robetta.rasmol) SmarterModelAdapter:The model resolver thinks:null error opening /n/u2/jcohn/pfig/robetta.rasmol unrecognized file format openFile(robetta.rasmol) 12 ms Graphics3D.setSize(496,441) getting ready to allocateBuffers returning from Graphics3D.setSize() Executing script: cript

(note: error dialog appears as well stating that file is wrong format)


Judith Cohn




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to