drgrib / alfred-bear

Streamlined note searching and creation for Bear using Alfred
MIT License
422 stars 24 forks source link

Alfred Bear workflow may not work with Bear 2.x #58

Closed Royaljerry closed 1 year ago

Royaljerry commented 1 year ago

After updating Bear from 1.x to 2.x I experience the following behavior in the Alfred workflow.


1. I type bs in order to find something in Bear:

alfred-1

**2. As soon as I type a space and try to search for that phrase, Search Bear Notes disappears:***

alfred-2

Could you confirm if this applies to you as well, or is it just me?


drgrib commented 1 year ago

Please follow the steps here to post the debug information you get: https://github.com/drgrib/alfred-bear/issues/56#issuecomment-1546733678

Royaljerry commented 1 year ago

This is the error I get when running the workflow with debug:

[19:34:33.926] Logging Started...
[19:34:36.948] Bear[Script Filter] Queuing argument ''
[19:34:37.025] Bear[Script Filter] Script with argv '' finished
[19:34:37.028] ERROR: Bear[Script Filter] Code 2: panic: no such table: Z_7TAGS

goroutine 1 [running]:
main.main()
    /Users/credford/Dropbox/Alfred/Alfred.alfredpreferences/workflows/user.workflow.48B0F8E6-2BC8-4EB9-B35E-1DBB820AA8E7/cmd/search/main.go:29 +0x5e9
drgrib commented 1 year ago

Hmm. Are you sure you are running Bear 2.x? This sounds like an error you would get if you ran 1.x.

drgrib commented 1 year ago

Correction: are you sure you are using the latest release of alfred-bear? This sounds like an error you would get if you ran an old version.

Note that you are getting the exact same error as someone else who tried to run the old version on the new Bear: https://github.com/drgrib/alfred-bear/issues/56#issuecomment-1546781824

Royaljerry commented 1 year ago

Hmm. Are you sure you are running Bear 2.x? This sounds like an error you would get if you ran 1.x.

Absolutely.

image
drgrib commented 1 year ago

Please refer to my second comment.

Royaljerry commented 1 year ago

Correction: are you sure you are using the latest release of alfred-bear? This sounds like an error you would get if you ran an old version.

Note that you are getting the exact same error as someone else who tried to run the old version on the new Bear: #56 (comment)

Gonna try to reinstall the existing workflow, download the current one, and install it, then I will report.

Royaljerry commented 1 year ago

OK Chris, case closed, the latest one works. Sorry about bothering you. Peace, love.

Adam

drgrib commented 1 year ago

No worries. Happy to hear the issue is solved. Having this here as a placeholder may help other people with the same issue.

Royaljerry commented 1 year ago

No worries. Happy to hear the issue is solved. Having this here as a placeholder may help other people with the same issue.

Stil, I love this workflow. This is an awesome one.