Chris Messina Posted March 30, 2022 Share Posted March 30, 2022 Could I get some help with the alfred-crypto-tracker? Should be a basic fix — thanks! Link to comment
donald_d Posted March 30, 2022 Share Posted March 30, 2022 Hello Vitor, To my understanding there're two steps for us to complete in order to install python 2 back to my OS Monterey system to make the workflow works as it was (current the only issue i got was the dynamic placeholder of current time&date unable to use when i upgrade to the Monterey) But i got a stuck while install Homebrew on Terminal as step 1, so i can't go ahead for the step 2. Details refer my screenshots, may i know if any way out for this? Appreciate your kind reply : ) Link to comment
giovanni Posted March 30, 2022 Share Posted March 30, 2022 6 hours ago, Chris Messina said: Could I get some help with the alfred-crypto-tracker? Should be a basic fix — thanks! I converted this to Python 3 and sent a PR request to the author. cc@vitor Let me know if you see anything off! https://github.com/giovannicoppola/alfred-crypto-tracker Chris Messina 1 Link to comment
vitor Posted March 30, 2022 Author Share Posted March 30, 2022 Welcome @donald_d. That’s simply a connection error, so try again. GitHub has been suffering some outages recently, and it seems you caught it at one of those times. @giovanni From a first look, everything looks OK. Link to comment
LKolbasz Posted March 30, 2022 Share Posted March 30, 2022 I'd love this one updated Thanks in advance! https://github.com/bradmontgomery/alfred-percent-change Link to comment
vitor Posted March 30, 2022 Author Share Posted March 30, 2022 3 minutes ago, LKolbasz said: I'd love this one updated Already on the list. Link to comment
Chris Messina Posted March 30, 2022 Share Posted March 30, 2022 9 hours ago, giovanni said: I converted this to Python 3 and sent a PR request to the author. cc@vitor Let me know if you see anything off! https://github.com/giovannicoppola/alfred-crypto-tracker Looks good! Thank you! Link to comment
giovanni Posted March 30, 2022 Share Posted March 30, 2022 2 hours ago, LKolbasz said: I'd love this one updated Thanks in advance! https://github.com/bradmontgomery/alfred-percent-change @LKolbasz I converted this to Python 3 and submitted a PR request, cc @vitor https://github.com/giovannicoppola/alfred-percent-change vitor 1 Link to comment
Bernardo_V Posted April 1, 2022 Share Posted April 1, 2022 (edited) I am getting a weird error trying to install Python 2. Due to Homebrew's readline and openssl, perhaps? Just wondering if someone could lend me a hand on figuring this out. Quote bin git:(master) pyenv install 2.7.18 zsh: correct 'install' to 'ginstall' [nyae]? n python-build: use openssl from homebrew python-build: use readline from homebrew Installing Python-2.7.18... python-build: use readline from homebrew python-build: use zlib from xcode sdk BUILD FAILED (OS X 12.3 using python-build 2.0.4-8-gd209e061) Inspect or clean up the working tree at /var/folders/6t/1n80sgz14bjfz32z52hxrq6m0000gn/T/python-build.20220330115345.23858 Results logged to /var/folders/6t/1n80sgz14bjfz32z52hxrq6m0000gn/T/python-build.20220330115345.23858.log Last 10 log lines: checking for uintptr_t... yes checking size of uintptr_t... 8 checking size of off_t... 8 checking whether to enable large file support... no checking size of time_t... 8 checking for pthread_t... yes checking size of pthread_t... 8 checking for --enable-toolbox-glue... yes configure: error: Unexpected output of 'arch' on OSX make: *** No targets specified and no makefile found. Stop. Edited April 1, 2022 by Bernardo_V Link to comment
xilopaint Posted April 1, 2022 Share Posted April 1, 2022 (edited) On 3/30/2022 at 5:58 PM, giovanni said: @LKolbasz I converted this to Python 3 and submitted a PR request, cc @vitor https://github.com/giovannicoppola/alfred-percent-change Why did you change the bundle id using your name in a workflow whose maintainer is not you? Btw I didn’t know the change was related to this topic when I created this issue on the GitHub repo. Edited April 1, 2022 by xilopaint Link to comment
giovanni Posted April 1, 2022 Share Posted April 1, 2022 Hi @xilopaint I usually do that so that I have both versions installed and I can compare them while migrating. I left a different bundle ID as I wasn't sure about best practices, since there are others who are still using the previous version with Python 2, also whether the original author agreed with the changes etc. happy to change if that is confusing. Link to comment
xilopaint Posted April 1, 2022 Share Posted April 1, 2022 (edited) 5 hours ago, giovanni said: Hi @xilopaint I usually do that so that I have both versions installed and I can compare them while migrating. I left a different bundle ID as I wasn't sure about best practices, since there are others who are still using the previous version with Python 2, also whether the original author agreed with the changes etc. happy to change if that is confusing. What every user expects is to have their workflow updated with the latest version and not two different versions with one of them broken. Btw it’s not only a matter of confusion. You changed the bundle id of the workflow with your own name and it’s not clear to me if the real owner was aware of this change. It’s not easy to spot this kind of change on the info.plist before the pull request is approved. I can’t know the opinion of the owner, but it’s definitely not cool. Edited April 1, 2022 by xilopaint Link to comment
giovanni Posted April 1, 2022 Share Posted April 1, 2022 thanks for explaining, I am not a programmer and I had never sent a pull request before, so I am still learning. Link to comment
vitor Posted April 1, 2022 Author Share Posted April 1, 2022 15 hours ago, Bernardo_V said: I am getting a weird error trying to install Python 2. Intel or Apple Silicon? Restart your computer, then remove everything and follow the instructions to reinstall Python 2 again. Paste the Terminal output here, with the commands. @giovanni I think @xilopaint may agree a good rule of thumb when submitting a PR is to think “is this a change the author would have done themselves?”. Ultimately a PR ends up as code in their own repo, under their name and reputation. You still get credit in the commit history and as a contributor. Some repos also have an explicit document. If you make a fork and continue to develop in a different direction from the original and are not submitting your changes back, then it makes sense to change the bundle ID because they become two different tools. When you make a PR you’re contributing for there to only be one good tool most can agree on. PRs are generally preferred to forks. The latter comes into play when there’s no reasonable way to proceed with the former (e.g. the original developer has abandoned the project and does not want to transfer ownership). xilopaint and giovanni 1 1 Link to comment
Toffy Posted April 1, 2022 Share Posted April 1, 2022 I'm trying to understand whether what exactly re-installing python 2.7 based on these instructions does. I understand that it will bring workflows relying on python2 back to life. But does it also break workflows relying on python3, i.e. can I either use python2 workflows or python3 workflows, or will both just work fine? Link to comment
xilopaint Posted April 1, 2022 Share Posted April 1, 2022 1 hour ago, Toffy said: I'm trying to understand whether what exactly re-installing python 2.7 based on these instructions does. I understand that it will bring workflows relying on python2 back to life. But does it also break workflows relying on python3, i.e. can I either use python2 workflows or python3 workflows, or will both just work fine? You're fine with both Python installations. It won't break your Python 3 workflows but some Python 2 workflows will still need a tweak to work. Link to comment
xilopaint Posted April 2, 2022 Share Posted April 2, 2022 On 3/29/2022 at 12:20 AM, vitor said: @xilopaint I have revamped Notificator. No intensive testing yet, but it seems to work as expected. I’ll soon substitute it in all my Workflows. It’s now way more Alfred-centric, and expects to be run from inside a Workflow environment. Notificator is released to the public domain, so you do not have to credit me for the inclusion. That said, because you will be adding it to a library instead of a stand-alone Workflow, I’d appreciate a note about it linking back to the original. That is so if people have suggestions or comments or complaints, they do so at the source and I can improve it for everyone. Notificator integration to the library is done. It's really straightforward and alfredish. Thanks, Vítor! vitor 1 Link to comment
Bernardo_V Posted April 2, 2022 Share Posted April 2, 2022 @vitor, thanks for the suggestion, but that seems like a rather brutal approach seeing that it would delete other versions installed with pyenv. I found an alternative, however. Downloading and installing it directly from https://www.python.org/downloads/release/python-2718/ Link to comment
vitor Posted April 3, 2022 Author Share Posted April 3, 2022 23 hours ago, Bernardo_V said: thanks for the suggestion, but that seems like a rather brutal approach seeing that it would delete other versions installed with pyenv. Well, yes, because it assumes you have installed pyenv for the purpose of using Python 2. If you were already using pyenv for your own reasons, then the error should be related to your own setup and you’ll have to be the one to fix it. Link to comment
LKolbasz Posted April 5, 2022 Share Posted April 5, 2022 Could someone help making this custom workflow compatible with the newest MacOS? https://d.pr/f/lNCNOX It's been created by @deanishe(thanks so much again!) and it changes OS Theme along with a random wallpaper from a corresponding folder (one for dark, one for light). Thanks so much! Link to comment
vitor Posted April 5, 2022 Author Share Posted April 5, 2022 @LKolbasz That one is so simple, this should be enough:Open the Workflow in the Finder.Open background-image.py in a text editor.Change the first line from #!/usr/bin/python to #!/usr/bin/python3.Save and you’re done. LKolbasz 1 Link to comment
alvint Posted April 6, 2022 Share Posted April 6, 2022 I'd like to request for support for this https://github.com/mr-pennyworth/alfred-clipboard-ocr/releases This worked until March 17 (think latest update to Monterey where they removed Python.) I home-brewed python but still getting error STDERR: Clipboard History OCR[Run Script] mkdir: /Users/xxxxxxxx/Library/LaunchAgents: File exists xattr: ./Tesseract.app: No such xattr: com.apple.quarantine Load failed: 5: Input/output error Tried the luanchctl unload and load recommended by author didn't work. Hope for some advise as this is really useful to search the images in clipboard! Thanks in advance Link to comment
vitor Posted April 6, 2022 Author Share Posted April 6, 2022 (edited) @alvint Did you ask about this on GitHub as well? If so, the answer has been there, waiting for a reply. If you’re not the same person, answering here which version works for you would be helpful. Edited April 6, 2022 by vitor Link to comment
KopperHead Posted April 6, 2022 Share Posted April 6, 2022 Can you please add https://github.com/hzlzh/Alfred-Workflows Link to comment
vitor Posted April 6, 2022 Author Share Posted April 6, 2022 Welcome @KopperHead, Those Workflows don’t use Python. The one that does is fixed simply by reinstalling Python 2. For the others you may need to brew install php. It’s possible that some of them are broken because they are a decade old and the external services they used are dead. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now