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

MacOS Monterey #41

Closed Tigeredgar closed 3 years ago

Tigeredgar commented 3 years ago

Most likely a bug in Monterey but the "search_notes" permission is not appearing on the Security Preferences to allow. Again, most likely a bug in MacOS but did want to bring it up.

sballin commented 3 years ago

In the workflow directory in Terminal, can you try doing xattr -rd com.apple.quarantine search_notes and see if that makes it work?

Tigeredgar commented 3 years ago

How do I find the workflow directory? I tried it on the Alfred app itself but did not work.

Warm Regards, Edgar Salas On Jun 17, 2021, 9:58 AM -0500, Sean Ballinger @.***>, wrote:

In the workflow directory in Terminal, can you try doing xattr -rd com.apple.quarantine search_notes and see if that makes it work? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Tigeredgar commented 3 years ago

I was able to find it, ran it, succeeded but it’s still not working.

Will update you on beta 2

Warm Regards, Edgar Salas On Jun 17, 2021, 9:58 AM -0500, Sean Ballinger @.***>, wrote:

In the workflow directory in Terminal, can you try doing xattr -rd com.apple.quarantine search_notes and see if that makes it work? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sballin commented 3 years ago

Thanks for trying that. I was able to get it working on the Monterey beta without trouble, so I'd be interested if you could show your debug log (click the bug icon in the top right corner of the workflow page and try running the workflow).

Tigeredgar commented 3 years ago

Error log attached, this is what I see...

[11:10:08.868] Logging Started... [11:10:11.970] Search Notes[Script Filter] Queuing argument '' [11:10:16.538] Search Notes[Script Filter] Queuing argument '' [11:11:03.358] Search Notes[Script Filter] Queuing argument ''

Warm Regards, Edgar Salas On Jun 17, 2021, 10:14 AM -0500, Sean Ballinger @.***>, wrote:

Thanks for trying that. I was able to get it working on the Monterey beta without trouble, so I'd be interested if you could show your debug log (click the bug icon in the top right corner of the workflow page and try running the workflow). — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sballin commented 3 years ago

Can you show the contents of error_log.txt in the workflow directory? Also in System Preferences > Security and Privacy pane > Privacy tab, make sure that Alfred has full disk access.

Tigeredgar commented 3 years ago

Full Disk access fixed the issue! Thank you!

Warm Regards, Edgar Salas On Jun 22, 2021, 3:08 PM -0500, Sean Ballinger @.***>, wrote:

Can you show the contents of error_log.txt in the workflow directory? Also in System Preferences > Security and Privacy pane > Privacy tab, make sure that Alfred has full disk access. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sballin commented 3 years ago

You're welcome!