search_notes error – panic: unable to open database file: operation not permitted
donovan-murphy opened this issue · 2 comments
To Reproduce
Steps/context to reproduce the behavior:
- In macOS Monterey, open Alfred
- Type the letter n (in this particular case, I was trying to open Notion)
For now, I have disabled the workflow until the issue is solved
Error text
panic: unable to open database file: operation not permitted
goroutine 1 [running]:
main.PanicOnErr(...)
github.com/sballin/alfred-search-notes-app/main.go:461
main.main()
github.com/sballin/alfred-search-notes-app/main.go:474 +0x7f3
macOS: 12.0.1
Alfred: 4.6
Workflow: 3.5.2
CPU: x86_64h
Binary xattrs: com.apple.lastuseddate#PS
Notes DB xattrs:
Binary info: 0755 501/donovan 20/staff
Notes DB info: 0644 501/donovan 20/staff
Query: title '�'
Accounts: iCloud
Here is a related issue: #39 (comment)
You might try going through the required permissions and re-enabling them
Here is a related issue: #39 (comment)
You might try going through the required permissions and re-enabling them
Thanks. It looks like Full Disk Access permission was lost during the update to Monterey. It's working fine now.