OK, maybe we are in luck. Try:

jmolSetParameter("useCommandThread", "TRUE")

just before your jmolApplet() call.

This forces the unsigned applet to use the same general mechanism as the
signed applet for setting up threads. It's a bit more complicated, but it is
now well tested in the signed applet and just might be necessary now in the
unsigned one as well.

Bob


On Thu, Sep 15, 2011 at 4:34 PM, Robert Hanson <[email protected]> wrote:

>
>
> On Thu, Sep 15, 2011 at 2:29 PM, Paul Pillot <
> [email protected]> wrote:
>
>> That's the case !
>> Here is what I tried :
>> - load the file from the Jmol console : load ../../mol/gz/alanine.pdb.gz
>> --> it works !
>> - load the file from the browser javascript console : jmolScript("load
>> ../../mol/gz/valine.pdb.gz") --> it doesn't work (same error message as
>> previously)
>> - reload a file previously loaded via the console, from the browser's
>> javascript console : jmolScript("load ../../mol/gz/alanine.pdb.gz") --> it
>> works !
>>
>> So when a file has previously been successfully loaded, then there is no
>> java error message upon loading.
>>
>
> because it's coming from the cache.
>
> OK. I'm rather surprised it's doing this, but let's see what we can do....
>
> We're talking about the unsigned applet.....
>
> Is this a bug? I wonder....
>
>
>>
>> -Paul
>>
>> Le 15 sept. 2011 à 20:50, Robert Hanson a écrit :
>>
>> > It would be valuable to try loading the file two ways:
>> >
>> > 1) via a web-page button.
>> > 2) via command input from the Jmol console.
>> >
>> > If one works and the other does not, we can fix this.
>> >
>> > Bob
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Doing More with Less: The Next Generation Virtual Desktop
>> What are the key obstacles that have prevented many mid-market businesses
>> from deploying virtual desktops?   How do next-generation virtual desktops
>> provide companies an easier-to-deploy, easier-to-manage and more
>> affordable
>> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> --
> 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
>



-- 
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
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to