Hmm, I don't know. I don't see "Jmol error evaluating script" anywhere in my
code. Is that your code saying that? "pending" is the correct standard
return from JmolViewer.script() or JmolViewer.evalString(), so I think you
are OK. Maybe you were thinking that should come back null? loadInLine()
returns an error or null, but those two just say "pending" because the
scripts are just queued at that point.

Bob

On Mon, Mar 22, 2010 at 5:23 PM, R. Kent Wenger <wen...@cs.wisc.edu> wrote:

> A couple more (hopefully final) questions about this.  I'm doing a command
> like this:
>
>   draw diameter 0.2 {atomno=586} {atomno=266} color cyan;
>
> as was suggested before.
>
> A couple of issues:
>
> I seem to always get an error message like this:
>
>   ERROR: Jmol error evaluating script <draw diameter 0.2 {atomno=586}
>   {atomno=266} color cyan;>: pending
>
> Also, if I give two consecutive "draw" commands, only the second one seems
> to take effect.  (I'm guessing that these two errors are related.)
>
> I'm passing in the commands via the JmolViewer.script() or
> JmolViewer.evalString() methods -- they both seem to produce the same
> errors.  *All* of the commands seem to produce the error messages, whether
> they work or not.  I'm obviously doing something wrong here, but I'm not
> sure what...
>
> Kent
> --
> R. Kent Wenger (wen...@cs.wisc.edu, 608-262-6627,
> http://www.cs.wisc.edu/~wenger/ <http://www.cs.wisc.edu/%7Ewenger/>)
> Computer Sciences Department
> University of Wisconsin-Madison
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to