My guess is there is some other factor involved, perhaps related to the scene you are shooting.
I guess you are suggesting putting in the repeats above.
press("shoot_half") repeat sleep(10) until get_shooting()
But doesn't this ignore the question: why is it occurring.
BTW I forgot to ask, what focus logic are you using when you see the problem?
Also, does the script freeze in alt mode, or just terminate?
Could you try this version: https://gist.github.com/pigeonhill/7056282940415f7d99e0cc8688f48a0d
The script prints out the focus logic, ie 0, then prints out the x, start, stop. All looks ok.
Do you still get the hang up if you switch bookends off?
The only difference between us is the CHDK version
I don’t know where to go from here.
Started by SkyWalker9 Script Writing
Started by SkyWalker9 « 1 2 » Completed and Working Scripts
Started by kidtree Completed and Working Scripts
Started by genosmm General Help and Assistance on using CHDK stable releases
Started by pigeonhill « 1 2 3 » Creative Uses of CHDK