alfred-reddit icon indicating copy to clipboard operation
alfred-reddit copied to clipboard

Is this workflow still functional? I can't get it to work at all on Alfred 4, macOS Monterey

Open tobycarson56 opened this issue 2 years ago • 8 comments

This Alfred workflow sounds really useful But I haven't been able to get it to work on Alfred 4, macOS Monterey on multiple occasions. See attached screenshot of its Alfred debugging info below (I'm a noob when its comes to web developer/coding tools so I don't know where to go from there) Screen Shot 2022-07-05 at 11 33 49 pm

tobycarson56 avatar Jul 05 '22 13:07 tobycarson56

Working now all good mate

ghost avatar Jul 17 '22 12:07 ghost

@tobycarson56 What did you do? I notice it is looking for /usr/bin/python while there only is /usr/bin/python3. I changed both workflow blocks to /usr/bin/python3 but that gives me another error. Schermafbeelding 2022-07-18 om 17 22 24

Baswazz avatar Jul 18 '22 15:07 Baswazz

I have no idea , Sorry. I just kept installing different versions of python on home brew and different releases of this workflow until it eventually worked.

ghost avatar Jul 18 '22 20:07 ghost

I've now encountered the same problem and its completely non functional

ghost avatar Aug 14 '22 22:08 ghost

Same doesn't seem to work for me. r/ briefly brings up the Browse reddit prompt before switching to 'Search Google'

RandmTask avatar Aug 30 '22 10:08 RandmTask

bump, it's not working at all

dalsvk avatar Aug 30 '22 11:08 dalsvk

Apple removed Python 2.x which lead to this plugin breaking as it was written in Python 2.X. Hoping the author updates the code for Python 3...

Deon588 avatar Sep 13 '22 18:09 Deon588

Is it working with Alfred 5? Since Monterey now has python3?

ratimator avatar Oct 04 '22 04:10 ratimator

I would also like to see this working for Alfred 5.

jamby avatar Oct 20 '22 13:10 jamby

Me too!!

bsilvamm avatar Nov 24 '22 11:11 bsilvamm

I can confirm if works now.

ghost avatar Nov 24 '22 22:11 ghost

does not work with python 3

Code 1: Traceback (most recent call last):
  File "/Users/ashtonian/.sync/alfred/Alfred.alfredpreferences/workflows/user.workflow.2EF55EED-B8F9-4A57-AB42-7DEABF0331AB/reddit.py", line 35, in <module>
    from HTMLParser import HTMLParser
ModuleNotFoundError: No module named 'HTMLParser'

ashtonian avatar Dec 09 '22 22:12 ashtonian

Script needs updating to work with python3, the core of this workflow in reddit.py doesn't need anything other than the htmlparser update to from html.parser import HTMLParser and then the info.plist command change to python3.

The issue is that this was built on a framework of sorts https://github.com/deanishe/alfred-workflow which is dead and forked https://github.com/NorthIsUp/alfred-workflow-py3. Not sure the status of the fork with alfred 5 or if its just a drop in.

Then there is this https://github.com/alfredapp/updated-third-party-python2-workflows#readme which apparently offers tweaked versions of the workflows that will work by reinstalling pyton2 via https://www.alfredapp.com/help/kb/install-dependencies/ which uses homebrew under the hood. Which does work.

ashtonian avatar Dec 09 '22 22:12 ashtonian

I ported this to Python 3 and Alfred 5 https://github.com/giovannicoppola/alfred-reddit/releases/latest

giovannicoppola avatar Dec 12 '22 11:12 giovannicoppola