Lisp HUG Maillist Archive

Error when searching in the LW editor

About 3 years ago I developed a piece of code using LW Professional V6.0. Since that time, I upgraded MacOS to High Sierra and when I tried to re-run the old code yesterday, I am getting the error message shown in the attachment. This message occurs when I search for any text string in the Editor window, get to the end of the file and select either YES or NO in the “No more matches. Start again from the top?” window. Then LW freezes, and the only way out of this state is using Force quit. However, this is when searching in the Editor window, when I run the code,  the LW seems to work fine. Yesterday, I downloaded LW Personal edition, v.6.1.1 and the problem with search in the Editor window does not exist (but there are obvious and expected limitations with the size of my code).

The same problem with search in the Editor window exists on my second Mac running Mojave.

Any (preferably constructive) advice?

Many thanks

Zdenek Zdrahal

Re: Error when searching in the LW editor

My guess is you are running GUI code outside of the main thread. All CAPI code (e.g. your yes/no alert) must be run in the main GUI process. The "Get Backtrace" option may help you see if that is the case.

John DeSoi, Ph.D.


> On Nov 6, 2019, at 11:17 PM, Zdenek.Zdrahal <zdenek.zdrahal@open.ac.uk> wrote:
> 
> About 3 years ago I developed a piece of code using LW Professional V6.0. Since that time, I upgraded MacOS to High Sierra and when I tried to re-run the old code yesterday, I am getting the error message shown in the attachment. This message occurs when I search for any text string in the Editor window, get to the end of the file and select either YES or NO in the “No more matches. Start again from the top?” window. Then LW freezes, and the only way out of this state is using Force quit. However, this is when searching in the Editor window, when I run the code,  the LW seems to work fine. Yesterday, I downloaded LW Personal edition, v.6.1.1 and the problem with search in the Editor window does not exist (but there are obvious and expected limitations with the size of my code). 
> The same problem with search in the Editor window exists on my second Mac running Mojave.
> Any (preferably constructive) advice?


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html

Updated at: 2020-12-10 08:29 UTC