-
Notifications
You must be signed in to change notification settings - Fork 7
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
Invalid Escape sequence when searching #43
Comments
You don’t need to install anything to use the workflow. Please provide your version of Alfred, macOS, and the Workflow, without which it’s extremely hard to diagnose what could be going on. |
Ah ok. Was just trying to follow the logs. Versions below: Alfred: 5.1.4 |
Did you install Python yourself? How? Also, see if this version works for you. |
The version you attached is better. I now can see search results. However I get the following error when trying to get ratings:
|
Python I did install manually. I used the macOS installer direct from |
When installing Python from their website (as opposed to using the Homebrew version), you have to install the certificates too. Installing from their website causes more problems than it solves, that’s always the cause on something like this (which is why I asked; but at the same time, how could you know?). |
Unfortunately, I had already followed those steps and ran the .command. I just tried it again and no luck...still errors. |
Looking further at the error, that looks like you changed the OMDB API key in the configuration and whatever you set is invalid. |
Strange. I signed up and used what they sent me in the email. Should I be using the one that came with the workflow? |
ah. I got it. The key activation never went through. We are up and working now! Much appreciated. |
Glad you’re sorted! |
I cannot see to get the workflow to return any results. Please see the output of the debugger below:
[12:27:34.978] Movie and TV Show Search[Script Filter] Queuing argument 'batman' [12:27:35.023] Movie and TV Show Search[Script Filter] Script with argv 'batman' finished [12:27:35.024] ERROR: Movie and TV Show Search[Script Filter] Code 1: /Users/bpage/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync/Alfred.alfredpreferences/workflows/user.workflow.937EF7CF-5D48-48FE-85E1-E693C3CB5C3C/media.py:49: SyntaxWarning: invalid escape sequence '\:' m = re.match('([m|t])\:([0-9]*)', query) Traceback (most recent call last): File "/Users/bpage/Library/Mobile Documents/com~apple~CloudDocs/Alfred Sync/Alfred.alfredpreferences/workflows/user.workflow.937EF7CF-5D48-48FE-85E1-E693C3CB5C3C/media.py", line 3, in <module> from distutils.util import strtobool ModuleNotFoundError: No module named 'distutils' [12:29:59.954] Logging Started...
I tried to manually install distutils, but it doesn't seem to be supported on the latest version of python.
The text was updated successfully, but these errors were encountered: