Re: [Jmol-users] Out of Memory Error Handling

2008-12-05 Thread Robert Hanson
OK, Rolf and Angel, and other who may use messageCallbacks to parse for errors: I've checked in code that should do the trick. This will be part of Jmol 11.7.17. errorCallback(app, message, objectID, untranslatedError) scriptCallback(app, message, statusID, untranslatedError) These two callbac

Re: [Jmol-users] Out of Memory Error Handling

2008-12-04 Thread Robert Hanson
If you set up a messageCallback, then translation is supposed to be turned off by default for all error messages. You see this message in the Java console upon applet startup: Note -- Presence of message callback will disable translation; to enable message translation use jmolSetTranslation(true)

Re: [Jmol-users] Out of Memory Error Handling

2008-12-04 Thread Angel Herraez
I understood that there was a mechanism (setting) to prevent error messages from being translated. From the recent discussion, I am not clear as whether that is not working as I thought it would. - This SF.Net email is spon

Re: [Jmol-users] Out of Memory Error Handling

2008-12-04 Thread Rolf Huehne
Robert Hanson wrote: > Rolf, what sort of error message parsing are you trying to do that the > translation is messing up? I've just checked in bug fixes that allow > the script error messages to be translated to the new language when > the language is changed. So now in principle we could also all

Re: [Jmol-users] Out of Memory Error Handling

2008-12-04 Thread Robert Hanson
Rolf, what sort of error message parsing are you trying to do that the translation is messing up? I've just checked in bug fixes that allow the script error messages to be translated to the new language when the language is changed. So now in principle we could also allow for an English-only versio

Re: [Jmol-users] Out of Memory Error Handling

2008-12-03 Thread Robert Hanson
errorCallback is implemented. See http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and checked in code. You are correct that in general the actual message is translated. I've implemented an initial module-locator, but it's still a problem. On Wed, Dec 3, 2008 at 11:06 AM, Rolf Huehne <[EM

Re: [Jmol-users] Out of Memory Error Handling

2008-12-03 Thread Rolf Huehne
Robert Hanson wrote: > I'm so glad to see that the resizing does that. Yes, that's right -- > for now at least an error in rendering is not sent out in any other > way -- there could be hundreds of these as the applet continues to try > to repaint during resizing. Question: Did it go back to normal

Re: [Jmol-users] Out of Memory Error Handling

2008-12-03 Thread Robert Hanson
I'm so glad to see that the resizing does that. Yes, that's right -- for now at least an error in rendering is not sent out in any other way -- there could be hundreds of these as the applet continues to try to repaint during resizing. Question: Did it go back to normal after you resized it back to

Re: [Jmol-users] Out of Memory Error Handling

2008-12-03 Thread Rolf Huehne
Robert Hanson wrote: > Jmol users: > > I think we have some reasonable out-of-memory error handling now. In > this business nothing is perfect, but please check out > > http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm > > and files in > > http://chemapps.stolaf.edu/jmol/docs/example

Re: [Jmol-users] Out of Memory Error Handling

2008-12-02 Thread Robert Hanson
Jmol users: I think we have some reasonable out-of-memory error handling now. In this business nothing is perfect, but please check out http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm and files in http://chemapps.stolaf.edu/jmol/docs/examples-11/jmol-11.jar Jmol 11.7.16 now tries