Re: [Jmol-users] Super Simple JSMol

2013-11-09 Thread Robert Hanson
I don't think it has anything to do with that, but I won't have time to check on that until late next week, unfortunately. On Sat, Nov 9, 2013 at 6:01 AM, Otis Rothenberger wrote: > Bob, > > I assume this is the same problem I'm seeing in a number of situations, > primarily with callbacks, bind

Re: [Jmol-users] Super Simple JSMol

2013-11-09 Thread Otis Rothenberger
Bob, I assume this is the same problem I'm seeing in a number of situations, primarily with callbacks, bindings, and partial charge calculation. I may also see it with minimization. I'm not sure. The problems are all random. I don't see the problems when I use modelkitmode from the Jmol modelki

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Robert Hanson
Understand that that is just a "slow-mode" test that will revert to not working before the weekend is over when I take out those comments. We do not have a solution to this. I might be able to report it, but I think we just have to hope that this gets fixed in the next Safari release. I cannot imag

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Philip Bays
Right. It now works:-) On Nov 8, 2013, at 7:56 PM, Robert Hanson wrote: > Well, good news and bad news. The good news is that I can identify the > situation that causes this bug. The bad news is that it is (specifically, I > think) a Safari 7.0 bug totally out of our control. Something VERY

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Robert Hanson
Well, good news and bad news. The good news is that I can identify the situation that causes this bug. The bad news is that it is (specifically, I think) a Safari 7.0 bug totally out of our control. Something VERY odd is happening in this system that does depend upon timing. So, for example, just a

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Philip Bays
Sorry that just got to you today. I sent it several days ago and it was held up by the administrator, probably because of the included error messages. Phil On Nov 8, 2013, at 10:40 AM, Robert Hanson wrote: > planning on getting to this today >

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Robert Hanson
planning on getting to this today -- November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tunin

Re: [Jmol-users] Super Simple JSMol

2013-11-08 Thread Philip Bays
When you try to open the link without the console on, nothing happens. if you then open the error console, you see the following: [Error] Failed to load resource: the server responded with a status of 503 (Service Unavailable) (get-js, line 0) [Error] java.lang.NullPointerException (ano

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
just hang on on this one; you won't figure it out On Wed, Nov 6, 2013 at 8:48 AM, Philip Bays wrote: > On looking at the console more closely, the item that is colored red in > the console seems to be “get-js” which shows a status of 503. Not sure > what that means. However, repeated l

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Bob, I put 13.3.9_2013.11.06 on: http://chemistry.illinoisstate.edu/osrothen/JSmolVMK.htm To reiterate, if you get it loaded by using the Safari Error Console trick, then the following problem can be observed: You can see one of the problems, again on Mavericks Safari. Click the Edit button a

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
First check -- this has nothing to do with the console. It's a null pointer exception within Jmol. On Wed, Nov 6, 2013 at 8:48 AM, Philip Bays wrote: > On looking at the console more closely, the item that is colored red in > the console seems to be “get-js” which shows a status of 503. Not s

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Bob, I'm running 2013.11.05. I'll change it after I send this. Currently, you can see one of the problems, again on Mavericks Safari. Click the Edit button and do an H click replacement with C. It replaces the H with C, then freezes. It's choking on a message call back that does some housekeepi

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Philip Bays
On looking at the console more closely, the item that is colored red in the console seems to be “get-js” which shows a status of 503. Not sure what that means. However, repeated loading of the page shows the timing on that item varying from 55 ms to over 2 sec. On Nov 6, 2013, at 11:20 AM,

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
Other links work just fine, though, right? Just the center ones I listed are problematic? Or the applet does not work at all? On Wed, Nov 6, 2013 at 8:18 AM, Philip Bays wrote: > I observe the same by turning on the “Show Error Console” . The page then > loads. > > > On Nov 6, 2013, at 11:08 A

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
But straight-up fresh-start Maverick Safari just never shows the JSapp at all? And, when the console is opened, there are no reports there? On Wed, Nov 6, 2013 at 8:21 AM, Philip Bays wrote: > Once the applet is loaded (with the error console on) things seem to work, > though rather clunky.

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Philip Bays
Once the applet is loaded (with the error console on) things seem to work, though rather clunky. On Nov 6, 2013, at 11:20 AM, Robert Hanson wrote: > Other links work just fine, though, right? Just the center ones I listed are > problematic? Or the applet does not work at all? > > > On Wed,

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
How inconvenient! A bug that requires that bug reporting is off! On Wed, Nov 6, 2013 at 8:17 AM, Philip Bays wrote: > In the Safari develop menu item (across the top) which you need to turn on > in preferences, there is an item called "Show Error Console”. > > > On Nov 6, 2013, at 11:14 AM, Rob

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Philip Bays
I observe the same by turning on the “Show Error Console” . The page then loads. On Nov 6, 2013, at 11:08 AM, Otis Rothenberger wrote: > Dang! > > When I put the JavaScript console up, it loads on Maverick Safari. > > Timing... > > Otis > -- > Otis Rothenberger > o...@chemagic.com > http:/

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Philip Bays
In the Safari develop menu item (across the top) which you need to turn on in preferences, there is an item called "Show Error Console”. On Nov 6, 2013, at 11:14 AM, Robert Hanson wrote: > When you say "error console", what are you talking about exactly? > > > On Wed, Nov 6, 2013 at 8:12 AM,

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
When you say "error console", what are you talking about exactly? On Wed, Nov 6, 2013 at 8:12 AM, Philip Bays wrote: > Bob: > On both of these links, the jmol window does not open unless I have the > error console turned on. When it is on, the center column links seem to > work. > > > On Nov

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
Just for reference, I would like comments specifically based on http://chemapps.stolaf.edu/jmol/zip/jmol-13.3.9_2013.11.06.zip Anything older than that will just confuse the issue. Obviously something broke Bob On Wed, Nov 6, 2013 at 8:08 AM, Otis Rothenberger wrote: > Dang! > > When I p

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Philip Bays
Bob: On both of these links, the jmol window does not open unless I have the error console turned on. When it is on, the center column links seem to work. On Nov 6, 2013, at 10:44 AM, Robert Hanson wrote: > There is one and only one thread. However, there are several tricks that I > use now

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Dang! When I put the JavaScript console up, it loads on Maverick Safari. Timing... Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Nov 6, 2013, at 11:00 AM, Otis Rothenberger wrote: > Bob, > > OK, you've been right on this point in the past (100% right!), but remember

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Bob, OK, you've been right on this point in the past (100% right!), but remember these are Mavericks Safari problems - not Chrome and FF. I'm not sure about MSIE. To work on this, I've been bouncing around versions of JSmol. Right now the version that you put up yesterday does not load on Mave

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
There is one and only one thread. However, there are several tricks that I use now to "fake" threads -- script interruptions that save their exact state and restart when a thread is complete. There are several tests at my site that use "threads". I would like you to try and report back on them. Th

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
Otis, don't try to solve this problem yourself. I have access to plenty of Macs. Point me to the simplest pages you can conjure up that cause the problem and let me fix it. No rogue hacks, please! This one sounds like a bug in the asynchronous scripting components of Jmol within the Java-derived c

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread J. Bays
It works on iOS devices, but not OS. J. Philip Bays Emeritus Professor of Chemistry Saint Mary's College Notre Dame, IN 46556 Sent from my iPhone On Nov 6, 2013, at 9:07 AM, Robert Hanson wrote: still a problem? I just tested it with my 1st-gen iPad with Safari and it was fine. On Mon, Nov

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Phil, I noticed this console behavior with several of my scripting problems. With the console open, the problems got better. This sounds like timing issues - i.e. the console feed is letting things catch up. Bob, does calculate partialCharge run in a separate thread? Otis -- Otis Rothenberge

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Otis Rothenberger
Bob and Phil, It does not work for me either in Safari for Mavericks, but know this: Safari for Mavericks (iPad aside) is a JSmol disaster. I'm literally rewriting our whole virtual model kit to deal with the quirks. I don't think these are JSmol problems or bugs. This version of Safari is just

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Bays Philip
Bob: Sorry that my first message is not clear. Safari on iOS devices works fine. it is Safari on my laptop and desktop that has the problem. But it is consistently solved by opening, and keeping open, the error console?? On Nov 6, 2013, at 9:07 AM, Robert Hanson wrote: > still a problem?

Re: [Jmol-users] Super Simple JSMol

2013-11-06 Thread Robert Hanson
still a problem? I just tested it with my 1st-gen iPad with Safari and it was fine. On Mon, Nov 4, 2013 at 11:32 AM, Philip Bays wrote: > I have been out of the loop for a while taking care of my wife who has a > broken and repaired knee cap. I knew we ought to pay off those gambling > debts:

[Jmol-users] Super Simple JSMol

2013-11-04 Thread Philip Bays
I have been out of the loop for a while taking care of my wife who has a broken and repaired knee cap. I knew we ought to pay off those gambling debts:-) I have been looking today at the Super Simple JSmol page (http://chemapps.stolaf.edu/jmol/jsmol/simpleOpt.htm). It works fine in Mavericks