[SOLVED] Automatically Approve Zoom Links Macro Causing KM Freezing Issues on a New MacBook

Dear all

I have been a Keyboard Maestro user for years now and its such an integral part of my life..its as important as any OS I have ever used (ie macOS without it feels broken..)

the problem is that over the past year I have had terrible terrible issues with Keyboard Maestro stopping to work and freeze for a good 5-10 minutes every few hours..this naturally is very disruptive to my entire workflow. the freeze goes away after a quick reboot.

I have had this issue and started to debug this once before see:

but never got to understand how to fix it. moving a few months ago to my new MBP 2021 (with m1) seemed at start to solve this but quickly the same issues started appearing again..

I will also state that I not super technical so need some help but very willing to put as much needed time to resolve this though as I said I really need help and guidance from you guys

as I said this has been really hard on me in the last year and im very eager with your help to get to the bottom of this

deeply appreciate in advance any help from the community and @peternlewis

looking forward to hear your thoughts

Z

Can you take a look at the Engine Log and see what it lists when the Engine hangs?

It should be located at ~/Library/Logs/Keyboard Maestro/Engine.log.

thx so much for the reply @cdthomer !

I rebooted last time today at 14:10 (to fix the Keyboard Maestro freeze) and here is the relevant section of the engine.log:

2022-08-30 13:56:57 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:01 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:02 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:35 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:37 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:57:46 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:29 Running application query took a while (4189 us)
2022-08-30 13:58:41 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:42 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:58:43 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:05 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:09 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:11 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:12 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:13 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:28 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:32 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:42 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:44 Execute macro “Automatically Approve Zoom Links” from trigger Application “Safari” activates
2022-08-30 13:59:44 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:46 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:53 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 13:59:57 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:10 Execute macro “Automatically Approve Zoom Links” from trigger Application “Safari” activates
2022-08-30 14:00:10 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:12 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:31 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:00:31 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:01:08 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:07:19 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:07:19 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:19 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:22 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:26 Execute macro “Automatically Approve Zoom Links” from trigger The Focused Window Title Changes
2022-08-30 14:07:48 Running application query took a while (3194 us)
2022-08-30 14:07:49 Stop Watching HID Devices
2022-08-30 14:07:49 Stopping web server
2022-08-30 14:07:49 Engine Quitting
2022-08-30 14:09:01 Engine Starting 10.1.1
2022-08-30 14:09:01 Old engine details remains a running process Running Engine Details/745
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:09:02 Start Watching HID Devices
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Move a Keyboard Maestro palette
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Set Perspective
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Omnifocus Get Task Name
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get Task Estimated Duration
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Set Task Parent Task
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name OmniFocus Get IDs of Selected Tasks
Last message repeated 4 times
2022-08-30 14:09:02 Invalid Plug In Action with Name Execute a Script in Terminal
Last message repeated 16 times
2022-08-30 14:09:02 Starting web server on ports 4490 and 4491
2022-08-30 14:09:02 Daemon launched by login window. Initiating login actions.

I will post again next freeze I have

let me know if any other information is needed, as I said willing to debug until white smoke comes out to solve this :smiley:

best

Z

Well without seeing the log entries from the time it was frozen it's hard to say but that's a LOT of executions of the "Automatically Approve Zoom Links" macro... i'd be curious if that macro might be overloading something when you experience the freeze.

Maybe try disabling it for a day and see if it still occurs.

1 Like

Try using the Interactive Help (under the "Help" menu of Keyboard Maestro).
It might point you to a problem. It did for me when I upgraded to an M1 Mac.

If Keyboard Maestro of Keyboard Maestro Engine is freezing, use the Activity Monitor to get a sample of the process while it is frozen.

That will tell us where it is stuck.

Cases I've seen in the past are things like corrupted system caches or lists, weird system clipboard behaviours, or attempts to access a unmounted remote network disk (frequently to access an application).

This in particular has been a real pain for me in the past.

@zeltak do you see this issue only at home, or only at work? etc.

Hi all, thank you so much for your answers. I will explore all these suggestions over the weekend (busy work week...) and report back

really appreciate everyone kind help

best regards

Z

Hi All,

I wanted to update (for future help to anyone).

It appears that after removing that Zoom macro things are working much better now. ( Don't know where I found that one. It wasn't one I created :slight_smile: )

I hope this solves the strange issues.

Thank you all for your kind help.

Z

2 Likes

Glad to hear that appears to have solved the issue. You probably downloaded it and installed it if it wasn’t one you created.

Ah, the “Automatically Approve Zoom Links” macro is mine, from this thread.

Sorry it gave you trouble! I’ve been using it for ages (with a few additional actions for other sites) and it runs fine.

No worries @gabrielroth ! its seems to be solved now :slight_smile:

I really enjoyed using in over the last year though :wink:

best

Z