tmcknight / Movie-and-TV-Show-Search-Alfred-Workflow

An Alfred workflow to search for a movie (or TV show) and get a few ratings
MIT License
95 stars 7 forks source link

Doesn't work with Alfred 5 #26

Closed sandervanheste1995 closed 1 year ago

sandervanheste1995 commented 1 year ago

Whenever searching with Alfred 5, 'Uuhh, something went wrong' is displayed.

vitorgalvao commented 1 year ago

The workflow works fine with Alfred 5, I just tested it.

When facing an issue with a workflow, open the debugger, set the log output to “All Information”, perform the failing action, and post the output. Otherwise it can be impossible to know what went wrong.

Please also make sure to post your exact versions of macOS, Alfred, and the workflow.

obatola commented 1 year ago

bump, same here for me

tmcknight commented 1 year ago

Hi @obatola. As @vitorgalvao said:

When facing an issue with a workflow, open the debugger, set the log output to “All Information”, perform the failing action, and post the output. Otherwise it can be impossible to know what went wrong.

jefforjoe commented 1 year ago

Hey, this is the error I get when I try to use this Workflow on Alfred 5... Saw that this thread was active and figured I'd try and see if there's a resolution.

Thanks in advance!

CleanShot 10-04-2022 at 13 18 57 (Alfred Preferences000095)

vitorgalvao commented 1 year ago

If you installed Python yourself, instead of using e.g. the Homebrew version, you may need to install the certificates yourself too.

vitorgalvao commented 1 year ago

Closing due to a lack of reply.

austinarchibald commented 1 year ago

Was also having this issue. I installed python via homebrew, so I downloaded this, added import ssl; ssl._create_default_https_context = ssl._create_stdlib_context below import lines in beginning, chmod 777 on the file, opened in Terminal, was successful. Now I have a new error? Thanks in advance!

'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

[16:50:19.318] Movie and TV Show Search[Script Filter] Queuing argument 'breaking b'
[16:50:19.644] Movie and TV Show Search[Script Filter] Queuing argument 'breaking bad'
[16:50:19.830] Movie and TV Show Search[Script Filter] Script with argv 'breaking b' finished
[16:50:19.834] STDERR: Movie and TV Show Search[Script Filter] https://api.themoviedb.org/3/search/tv?api_key=hidden&query=breaking+b&search_type=ngram&language=en
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
[16:50:19.835] Movie and TV Show Search[Script Filter] {"items": [{"title": "Uh oh... something went wrong", "subtitle": "Please check your internet connection."}]}
[16:50:20.136] Movie and TV Show Search[Script Filter] Script with argv 'breaking bad' finished
[16:50:20.144] STDERR: Movie and TV Show Search[Script Filter] https://api.themoviedb.org/3/search/tv?api_key=hidden&query=breaking+bad&search_type=ngram&language=en
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
[16:50:20.145] Movie and TV Show Search[Script Filter] {"items": [{"title": "Uh oh... something went wrong", "subtitle": "Please check your internet connection."}]}