-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running on Monterey 12.3 #33
Comments
I have the same issue. No python2 and script doesn't work with python3. |
Indeed it would be great to have a port of this (awesome 👍) workflow to Python 3. In the meantime you can follow the instructions here to solve your issue. |
A Py3 port is possible. Most of the code that fails under Py3 is in the vendored copy of alfred-workflow in the IMO this is a great Alfred plugin. It's been mentioned on Bear's Blog! You can't get better SEO. I'd love to see it updated to support modern Python. |
I just created a bunch of pull requests that get Py3 working on my Sonoma machine. They are all merged togther in the next branch of my fork of this repository. I've tested them a bit in Py3 but they could use some more eyes. |
@MattHardcastle Would you like me to add you as a collaborator? I'm obviously not keeping up with this and am happy to hand over control if you'd like it. |
@chrisbro That'd be fine with me. I can pull together a release branch after I finish testing and figuring out how the update works. |
Progress report:
Next action:
|
Progress report:
Next action:
|
The workflow and its update process are working on my Big Sur and Sonoma Macs. I stashed a bundle of the commits that got it functional on my webserver. It's based off the I'm not going to continue with this codebase. I deleted my fork, which closed all my PRS, but please anyone feel free to grab the bundle and run with it. Fixing up alfred-bear was the first project I've done with an Alfred workflow. It taught me a lot about them. I'm stopping here because IMO the workflow module alfred-bear uses is bloated with age and feature I don't consider valuable, like an environment and cache abstration and automatic updates. Another reason is that the tag search feature appears to break with Bear migrations. I wouldn't want to remove the feature, but I also don't want to maintain it. Since I only use text search of the note and I can get away with a light Alfred workflow layer I decided to write yet another Bear workflow and workflow library. I started fresh with Python3 and the most recent Alfred APIs. If you're interested, I published the workflow, Bear Search, on my website. Thanks for following along! See you around. |
I just upgraded to the latest version of MacOS and unfortunately it broke these wonderful workflows. It appears that
/usr/bin/python
has been removed. Executing a command gives the following error:/usr/bin/python3
does exist, but pointing the Bear commands directly to that version still produces an error:Any one else run into this? Any ideas on how to resolve? Thanks in advance.
The text was updated successfully, but these errors were encountered: