Jump to content

Reported Process ID doesn't exist (Snippet Expansion)


Recommended Posts

When my snippet expansion stops working, I always check the Snippets section in Alfred Preferences. In my most recent experience it was reporting Safari as the app preventing the expansion and after quitting Safari, it showed "Process ID 4607 seems to be preventing text expansion by locking secure entry". But there is no process with that ID running... `kill -HUP 4607` returns "kill: kill 4607 failed: no such process".

 

BTW, I don't recall a time that quitting the application mentioned in the message resolved the snippet expansion block.

image.png.64e9e75d2613b02a7e8e2a7326053626.png

Link to comment

Alfred uses a method quite similar to this to find the process which is preventing secure entry:

 

https://alexwlchan.net/2021/04/secure-input/

 

using ioreg, then looking through for kCGSSessionSecureInputPID. When there is no process name associated with the ID, the id itself is displayed instead.

 

Next time you're having the issue, if you could reference this link and dig a little deeper, it may find what on your Mac is actually causing the issue.

 

Let me know how you get on.

 

Cheers,

Adnrew

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...