What causes a window like this to appear? Why does it lock up the image? The problem occurred in an image that was running unattended using #Delay to run a method every hour. The application is in development but it has been running on schedule for a month or so without any problems. I do save and restart the image occasionally. jrm SqueakSyntaxError.png (139K) Download Attachment |
Hi John-Reed, can you tell us more about that method your are running every hour? Syntax errors are as tricky as debuggers. They actually use a debugger internally to interrupt the current (i.e. the compiler's/parser's) control flow and offer interactive means to fix syntax to then continue compilation. Considering interactive syntax correction, I am not sure whether compilation is safe in processes other than the UI process. Did you try hitting [CMD]+[Dot] in that case? Best, Marcel
|
> On 2021-02-12, at 12:33 AM, Marcel Taeumel <[hidden email]> wrote: > > Hi John-Reed, > > can you tell us more about that method your are running every hour? My first thought on seeing the screenshot was that the source file is mucked up somehow; looks like it was trying to compile some part of the method header that ought to be ignored. I remember in the far distant past having problems of that sort when Windows got its nsty little fingers in the pie and converted Rc to CRLF and thus broke all the source pointers. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Useful random insult:- A room temperature IQ. |
In reply to this post by marcel.taeumel
CMD]+[Dot] interrupt was the first thing I tried. At this point it is not repeatable so I don't think there is anything I can do other that keep an eye out for it. the method that is run every hour is setup to run a method to do some work and then spawn a block with an hour delay which runs the method again when the delay elapses. -jrm On Fri, Feb 12, 2021 at 1:33 AM Marcel Taeumel <[hidden email]> wrote:
-- John-Reed Maffeo |
> the method that is run every hour is setup to run a method to > do some work and then spawn a block with an hour delay > which runs the method again when the delay elapses. Ah, so you do not compile code in that method. Hmm...
|
I just noticed "Squeak 5.2" in that screenshot. Yes, we fixed that issue in 5.3 and restart all those processes through the release builder. That particular compiled method in the screenshot was apparently very old and out-of-sync with the .sources file. http://forum.world.st/The-Trunk-Kernel-mt-1211-mcz-td5093956.html http://forum.world.st/The-Trunk-Kernel-eem-1273-mcz-td5105160.html Best, Marcel
|
Marcel, Thanks! -jrm On Tue, Feb 16, 2021 at 8:08 AM Marcel Taeumel <[hidden email]> wrote:
-- John-Reed Maffeo |
Free forum by Nabble | Edit this page |