And a couple more experiments.
1. If I clear java cache, launch firefox and access the signed applet site
which works fine (and gives the three expected files in the java cache) and
then immediately, without closing Firefox, go to the unsigned applet page, all
works well and the unsigned applet appears in the cache. If I then close
firefox, reopen it and go to the unsigned applet page, I get the error, despite
the fact that the chlorophyll file is there.
2. Is it the chlorophyll file? Works with other browsers but.... So now I try
vitamin-b12. Firefox does not take vitamins I guess because this behaves the
same.
3. Now I get really inventive and ask it to reload the first file. Loads the
first time, get the java error the second.
Phil
On Jul 24, 2010, at 8:09 AM, Philip Bays wrote:
> I think I have just diagnosed the problem, but not the solution.
>
> I have opened the java preferences and completely cleared the cache. (I know
> Angel, you said that in the first place.) Indeed, firefox loads both
> structures as expected and three items now appear in the java cache -- the
> applet and each of the molecule files.
>
> If I now close firefox, reopen it, and access the page, the error occurs. If
> I remove the chlorophyll file from the java cache, then restart firefox, it
> works, again putting chlorophyl in the cache. Upon restarting firefox, the
> error again occurs.
>
> If I turn off java caching, there are no problems. For some reason, Firefox
> does not like chlorophyll in cache.
>
> Phil
>
>
> On Jul 24, 2010, at 7:29 AM, Otis Rothenberger wrote:
>
>> Phil,
>>
>> I'm just curious about something: On a browser that throws the error loading
>> chlorophyll, what happens if you execute the following JavaScript command
>> from the location window (address field) while the first stucture is
>> displayed in Jmol?
>>
>> javascript:jmolScript("load Structures/chlorophyll.pdb")
>>
>> I'm just bypassing the button above to see if the problem is via the button
>> route???
>>
>> Otis
>> Otis Rothenberger
>> chemagic.com
>>
>> On 7/24/2010 6:38 AM, Philip Bays wrote:
>>>
>>> Ok, I got the code right. But it does not work on all browsers. I see
>>> no difference with this code than what I was observing before. Namely, on
>>> the Mac, and the Mac only, and a freshly started mozilla browser (Firefox,
>>> Camino, SeaMonkey), the first structure loads fine, but the chlorophyll
>>> structure throws a java access error with the unsigned applet.
>>>
>>>
>>>
>>> On Jul 23, 2010, at 5:51 PM, Robert Hanson wrote:
>>>
>>>> http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT1.html
>>>> http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT2.html
>>>>
>>>> Ah, yes, these pages look much better. So what are the results?
>>>>
>>>> The page NT1 should load on all platforms with no issues at all. It is
>>>> precisely the stated way of doing things.
>>>>
>>>> Same for NT2. And from this one I can save the state - see attached. (Just
>>>> drag that PNG file into the app or applet.)
>>>>
>>>> Was that just the issue? That Phil was trying to load models before the
>>>> applet was ready?
>>>>
>>>> One of the nice things about the signed applet on the web is that all the
>>>> file references are http:// references and you have the menu option to
>>>> save the PNG image. This image actually contains the full Jmol state (as a
>>>> trailing comment), so when you save the IMAGE to your hard drive, you can
>>>> still load that image into Jmol and it will work. Really quite magical. I
>>>> just did this with the chlorophyll example, and it still amazes me that it
>>>> is possible.
>>>>
>>>> Bob
>>>>
>>>>
>>>> On Fri, Jul 23, 2010 at 3:38 PM, Otis Rothenberger <[email protected]>
>>>> wrote:
>>>> Phil and Bob,
>>>>
>>>> I'm confused about Bob's last note, but the following point may be
>>>> relevant:
>>>>
>>>> I get the same message as below, but it looks like Phil is on a Unix
>>>> system - case sensitive.
>>>>
>>>> http://www.saintmarys.edu/~pbays/JSTest/HTMLFiles/NT1.html does not exist,
>>>> buts http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT1.html does exist.
>>>>
>>>> Otis
>>>> Otis Rothenberger
>>>> chemagic.com
>>>>
>>>> On 7/23/2010 4:03 PM, Robert Hanson wrote:
>>>>>
>>>>>
>>>>>
>>>>> We're sorry...
>>>>>
>>>>> The page you are looking for:
>>>>>
>>>>> /~pbays/JSTest/HTMLFiles/NT1.html
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 23, 2010 at 2:44 PM, Philip Bays <[email protected]> wrote:
>>>>> OK Bob, et. al.:
>>>>>
>>>>> I have tried to mimic a piece of one of your pages, namely:
>>>>>
>>>>> http://chemapps.stolaf.edu/jmol/docs/examples-11/simple.htm
>>>>>
>>>>> I also tried to view this page in Firefox, but you are using the signed
>>>>> applet. Everything I have tried, even the stuff I should never, ever,
>>>>> ever do:-) works with the signed applet for me, and I may ultimately go
>>>>> that route.
>>>>>
>>>>> However, I have the same issues with Firefox on the Mac with the new
>>>>> script. I have loaded it at:
>>>>>
>>>>> www.saintmarys.edu/~pbays/JSTest/HTMLFiles/NT1.html
>>>>>
>>>>> The equivalent path to NT2.html is the signed applet.
>>>>>
>>>>>
>>>>>
>>>>> J. Philip Bays
>>>>> Professor of Chemistry
>>>>> Science Hall 172
>>>>> Saint Mary's College
>>>>> Notre Dame IN 46556
>>>>> (574) 284-4663
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by Sprint
>>>>> What will you do first with EVO, the first 4G phone?
>>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by Sprint
>>>>> What will you do first with EVO, the first 4G phone?
>>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>>>
>>>>> _______________________________________________
>>>>> Jmol-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>> _______________________________________________
>>>> 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
>>>> <chlorophyll.png>------------------------------------------------------------------------------
>>>> This SF.net email is sponsored by Sprint
>>>> What will you do first with EVO, the first 4G phone?
>>>> Visit sprint.com/first --
>>>> http://p.sf.net/sfu/sprint-com-first_______________________________________________
>>>> Jmol-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>> J. Philip Bays
>>> Professor of Chemistry
>>> Department of Chemistry and Physics
>>> Saint Mary's College
>>> Notre Dame, IN 46556
>>> (574) 284-4663
>>> [email protected]
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>>
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first --
>> http://p.sf.net/sfu/sprint-com-first_______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
> J. Philip Bays
> Professor of Chemistry
> Department of Chemistry and Physics
> Saint Mary's College
> Notre Dame, IN 46556
> (574) 284-4663
> [email protected]
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first --
> http://p.sf.net/sfu/sprint-com-first_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
J. Philip Bays
Professor of Chemistry
Department of Chemistry and Physics
Saint Mary's College
Notre Dame, IN 46556
(574) 284-4663
[email protected]
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users