wrjlewis / notion-search-alfred-workflow

An Alfred workflow to search Notion with instant results
GNU General Public License v3.0
825 stars 41 forks source link

Workflow error #30

Closed pattard closed 3 years ago

pattard commented 3 years ago

I've been using this workflow for over a year now and it's been great, thank you for sharing it. However, it is now no longer working for me.

Describe the bug Whenever I initiate the search I receive the following error.

Screenshot 2021-06-03 at 11 58 53

I've tried to logout and back in to Notion, restarted my computer, updated the variables.

The Error log shows the following:

panic: unable to open database file: operation not permitted

goroutine 1 [running]:
main.PanicOnErr(...)
    /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search/main.go:406
main.main()
    /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search/main.go:420 +0x636
panic: unable to open database file: operation not permitted

To Reproduce Steps to reproduce the behaviour:

  1. Type 'ns`

Workflow (please complete the following information):

wrjlewis commented 3 years ago

Hey

Although I'm not certain, I suspect this error is caused by a permissions issue. Usually you see this error if the application (in this case Alfred) has not been granted full disk access in Security & Privacy > Privacy tab > 'Full Disk Access' secion.

Have you recently changed your installation of Alfred at all, or maybe upgraded your mac version before you started seeing these errors?

Thanks.

pattard commented 3 years ago

@wrjlewis thank you for that quick response. You were correct. The weird thing is that I hadn't updated anything on my system and no other application was re-requesting access.

Thanks for your help.