Acidham Posted March 28, 2022 Share Posted March 28, 2022 26 minutes ago, vitor said: There’s no setting for it, I auto-stylise them via MarkdownTransform. `code` does not work :/ Link to comment
vitor Posted March 28, 2022 Share Posted March 28, 2022 (edited) 6 minutes ago, Acidham said: `code` does not work Sure it does. I have been using it for almost a decade, as has every other user of the Workflow. If it’s not working for you, check the debugger. You know how this works—if you don’t give me any information on what you’re doing and what’s happening, there’s no way for me to help you. The Workflow makes the conversion using the correct BBCode tags; the result os only visible when previewing or submitting the post. Edited March 28, 2022 by vitor Link to comment
Acidham Posted March 28, 2022 Share Posted March 28, 2022 uups this is a workflow ツ did not see that ... sorry will try the workflow Link to comment
vitor Posted March 28, 2022 Share Posted March 28, 2022 17 minutes ago, Acidham said: uups this is a workflow ツ did not see that Looks like I inadvertently removed the download and source links from the top post in the latest edit! Readded. Acidham 1 Link to comment
TomekB Posted March 29, 2022 Share Posted March 29, 2022 Here's Python3 version for those who don't want to download Python2 for macOS 12.3 => https://github.com/tbrek/alfred-workflow-gauth/blob/master/Google Authenticator.alfredworkflow?raw=true glawrie 1 Link to comment
vitor Posted March 29, 2022 Share Posted March 29, 2022 5 minutes ago, TomekB said: Here's Python3 version for those who don't want to download Python2 for macOS 12.3 I’ll add it to the table as an alternative. If it’s merged, I’ll update it accordingly. Do note the default branch in your repository is develop and that one has the old Workflow. Anyone visiting the main page of the repo won’t be encountering the updated version. Changing the default branch is simple. Link to comment
glawrie Posted March 29, 2022 Share Posted March 29, 2022 11 minutes ago, TomekB said: Here's Python3 version for those who don't want to download Python2 for macOS 12.3 => https://github.com/tbrek/alfred-workflow-gauth/blob/master/Google Authenticator.alfredworkflow?raw=true Thank you! Link to comment
TomekB Posted March 29, 2022 Share Posted March 29, 2022 6 minutes ago, vitor said: I’ll add it to the table as an alternative. If it’s merged, I’ll update it accordingly. Do note the default branch in your repository is develop and that one has the old Workflow. Anyone visiting the main page of the repo won’t be encountering the updated version. Changing the default branch is simple. That's now done. `master` is now default branch. Also updated README file with the corrected link. Link to comment
glawrie Posted July 22, 2022 Share Posted July 22, 2022 Looks like Alfred 5 breaks this add-on After updating to Alfred 5 (and while using the Python 3 version of Gauth Workflow) the workflow fails. Turned on the debug and the error relates to something called `readPlist` (I'm not a python speaker)... here's the error log: [16:47:54.532] Logging Started... [16:48:04.291] Google Authenticator[Script Filter] Queuing argument '' [16:48:04.400] Google Authenticator[Script Filter] Script with argv '(null)' finished [16:48:04.403] ERROR: Google Authenticator[Script Filter] Code 1: Traceback (most recent call last): File "/Users/glawrie/Sync/AppSync/Alfred.alfredpreferences/workflows/user.workflow.1D847186-5E7D-4AC8-B2A3-B6032E5FD5A7/workflow.py", line 7, in <module> import alfred File "/Users/glawrie/Sync/AppSync/Alfred.alfredpreferences/workflows/user.workflow.1D847186-5E7D-4AC8-B2A3-B6032E5FD5A7/alfred.py", line 22, in <module> preferences = plistlib.readPlist('info.plist') AttributeError: module 'plistlib' has no attribute 'readPlist' Does anyone know what needs to be done to fix? Link to comment
vitor Posted July 22, 2022 Share Posted July 22, 2022 @glawrie Looks like you’re on an old version. The line from your error is quoted out in the version for download in the repo (meaning it doesn’t run). Link to comment
glawrie Posted July 22, 2022 Share Posted July 22, 2022 3 hours ago, vitor said: @glawrie Looks like you’re on an old version. The line from your error is quoted out in the version for download in the repo (meaning it doesn’t run). Thanks for the tip - downloaded latest version and it works fine. 🍻 Link to comment
rda Posted September 20, 2022 Share Posted September 20, 2022 (edited) I am getting the same error as glawrie above, and I have: re-downloaded the workflow built the workflow from source switched my Python versions from 3.9 to 3.8 just in case But I still see this in the debugger: ERROR: Google Authenticator[Script Filter] Code 1: Traceback (most recent call last): File "/Users/ryan/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C2732538-A75C-410E-BAC3-0BF09D42B199/workflow.py", line 7, in <module> import alfred File "/Users/ryan/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C2732538-A75C-410E-BAC3-0BF09D42B199/alfred.py", line 22, in <module> preferences = plistlib.readPlist('info.plist') AttributeError: module 'plistlib' has no attribute 'readPlist' FYI Alfred v4.7 Edited September 20, 2022 by rda added Alfred version Link to comment
vitor Posted September 20, 2022 Share Posted September 20, 2022 Welcome @rda, Double-check you download and open from the correct URL. Link to comment
kyledenver Posted May 18 Share Posted May 18 System: Sonoma Alfred 5.5 The import of the Alfred Workflow: Google Authenticator is successful with Alfred 5.5, but when typing in "gauth " at the Alfred prompt, I'm only presented with "Add a new secret". When I try to add a secret after "gauth ", it shows a google search entry on the first character, then upon pressing enter, it opens a Google webpage in the default browser with the typed-in string. The ~/.gauth file is present -- with appropriate rights -- and is populated with secrets. python3 was installed though brew. It used to work on Mojave with Aldred 5. Any idea what's going on? Link to comment
kyledenver Posted May 18 Share Posted May 18 Or, is there any other way to generate Google OTP with Alfred, i.e., other plugins? Link to comment
vitor Posted May 19 Share Posted May 19 Welcome @kyledenver, When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it. I’ve moved your post to the correct thread. In this one, you can find a fork of the workflow by @TomekB, which updates it to use Python 3 (Python 2 was removed from macOS). kyledenver 1 Link to comment
kyledenver Posted May 28 Share Posted May 28 On 5/19/2024 at 7:40 PM, vitor said: Welcome @kyledenver, When asking about an existing Workflow, it’s best to use its own forum thread. While it may seem that starting a new thread could give your problem visibility, it fragments the discussion and makes it less likely the author and users of the workflow (the people who can help) will see it. I’ve moved your post to the correct thread. In this one, you can find a fork of the workflow by @TomekB, which updates it to use Python 3 (Python 2 was removed from macOS). Thanks a lot for your help, @vitor. I wasn't notified on your input and just found it out upon refreshing the page. I'll try the fork you mentioned and write back here if I encounter issues. Cheers. 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