sballin / alfred-search-notes-app

Use Alfred to quickly open notes in iCloud/Apple Notes.
https://www.alfredforum.com/topic/11716-search-appleicloud-notes/
MIT License
502 stars 23 forks source link

Error: Couldn't posix_spawn: error 2 #59

Closed xit7 closed 2 years ago

xit7 commented 2 years ago

To Reproduce

Steps/context to reproduce the behavior:

  1. Openning Alfred with keyboard shortcut immediately shows error. Worked like a charm since yesterday. Did not change anything to Alfred or setup since then.2.

Hope you can help? Can't live without it :)

Error text

search_notes error lease copy this entire text if submitting an error report. You may need to scroll.

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 +0x654

macOS: 12.3.1 Alfred: 4.6.4 Workflow: 3.5.2 CPU: arm64e Binary xattrs: com.dropbox.attrs Notes DB xattrs: Binary info: 0755 501/3y 20/staff Notes DB info: 0644 501/3y 20/staff Query: title '' Accounts: iCloud

Info

Fill out this information if it's not already included in the error text.

xit7 commented 2 years ago

All right, got it. Although in Preferences there was no hint regarding Full Disk Access I figured this was missing. Enabled it (again), now all good.

Thanks!