ConwayLife.com - A community for Conway's Game of Life and related cellular automata
Home  •  LifeWiki  •  Forums  •  Download Golly

(almost) Golly softlock

Has something gone haywire? Let us know about it!

(almost) Golly softlock

Postby fluffykitty » December 29th, 2016, 12:44 pm

If you run this script:
import golly as g
while 1:
   g.note("This was a bad idea.")

the only way to stop it is to close the textbox and stop the script at the same time. You should probably be able to stop scripts while a textbox is open.
I like making rules
fluffykitty
 
Posts: 334
Joined: June 14th, 2014, 5:03 pm

Re: (almost) Golly softlock

Postby dvgrn » December 29th, 2016, 3:32 pm

fluffykitty wrote:...the only way to stop it is to close the textbox and stop the script at the same time. You should probably be able to stop scripts while a textbox is open.

As long as there's a textbox you're usually okay -- at least, I can escape from this kind of loop by just holding down the Escape key for a little while.

Maybe on faster computers the next dialog always pops up before the next key repeat? I've never had a computer where the Escape key didn't break out of a textbox loop eventually.
User avatar
dvgrn
Moderator
 
Posts: 5219
Joined: May 17th, 2009, 11:00 pm
Location: Madison, WI


Return to Bugs & Errors

Who is online

Users browsing this forum: No registered users and 1 guest