Jump to content

buraktuyan

Member
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

buraktuyan last won the day on March 19

buraktuyan had the most liked content!

buraktuyan's Achievements

Helping Hand

Helping Hand (3/5)

2

Reputation

  1. It works great for me without any issues and without any manual changes to the code. Thanks a LOT! 🙂👍 And I liked the new fallbackCreateNew and fallbackSearchBodies functions -- the second one already made my life easier. 👌
  2. I just ran a test with a note containing "İ" in it, and the nb search couldn't list it in the results. However it didn't throw an error message either. As a note, some of my notes had characters like İ or Ş in them, that was probably the core reason why I was getting this error in the first place.
  3. Actually, I resolved the issue on my end by removing the error handling code for the "Search note bodies" function: When I start searching for note bodies, Alfred shows the default fallback options for a second or two (and no icons/options for this workflow) but then your workflow starts showing the results for the note body search. When there's error handling, this transition triggers the error message above.
  4. Hi @sballin, thanks for this brilliant workflow. It's indeed godsend. However, I can't use the body search (nb) because I'm getting this security issue (and "Security & Preferences" pane doesn't show the "Allow" option (because I've already allowed it and can use title search and folder search). The error_log shows this: panic: runtime error: slice bounds out of range [104:100] goroutine 1 [running]: main.BuildSubtitleAddition(0xc00002240a, 0x68, 0xc000026070, 0x64, 0x208af58ea, 0x1, 0x64, 0xc000022500) /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:216 +0x2d4 main.LiteDB.GetResults(0xc000242000, 0x208af58ea, 0x1, 0x208af58e5, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0) /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:317 +0xd51 main.main() /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:403 +0x138 touch: Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.ED7FF581-A6D4-467A-9095-7248E1201713/update.py: No such file or directory touch: Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.ED7FF581-A6D4-467A-9095-7248E1201713/update.py: No such file or directory panic: runtime error: slice bounds out of range [104:100] goroutine 1 [running]: main.BuildSubtitleAddition(0xc00002248a, 0x68, 0xc000026070, 0x64, 0x208b558ea, 0x1, 0x64, 0xc000022580) /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:216 +0x2d4 main.LiteDB.GetResults(0xc000242000, 0x208b558ea, 0x1, 0x208b558e5, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0) /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:317 +0xd51 main.main() /Users/sean/Dropbox (MIT)/Dotfiles/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C13422B2-62E5-4A91-A8D9-65E18FA46712/search_notes/main.go:403 +0x138 Despite trying the spctl --master-disable method and giving Alfred 4.app and search_notes binary almost all privacy privileges, I can't seem to get the search body function work. Any solutions would be much appreciated. Thanks! 🙂
×
×
  • Create New...