fonrims Posted July 19, 2022 Posted July 19, 2022 Hi, having same issue as was mentioned before. ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123) Tried different versions of python including 2.7. Tried 0.5 version of the workflow. Nothing helped. What can I do to fix this? (MacOS 12.4, Alfred 5)
vitor Posted July 19, 2022 Posted July 19, 2022 Welcome @fonrims, Just now, fonrims said: Tried different versions of python including 2.7. Tried how? Don’t change the Workflow itself, it picks its own Python (3) version. But that error is not related to the language. If you installed Python 3 yourself (instead of letting macOS do it for you) you may need to install the certificates yourself too. 8 minutes ago, fonrims said: Tried 0.5 version of the workflow. That version is still up for review. If you’re having an issue, use the one officially out. 秦子云 and wrjlewis 1 1
fonrims Posted July 19, 2022 Posted July 19, 2022 8 minutes ago, vitor said: you may need to install the certificates yourself too. Thank you it helped! Installed back an official version 😉 wrjlewis 1
JaredTorres Posted July 29, 2022 Posted July 29, 2022 I just installed the workflow and everything seems to be working perfectly except I don't see the second line of text in my search results. It's just the page title (first line) with nothing beneath it. In published screenshots for this workflow I see that the results display a second line of text. Not sure if it's a breadcrumb or just content from the page itself. In any case, my search results aren't showing anything on the second line/subtitle.
wrjlewis Posted July 29, 2022 Author Posted July 29, 2022 6 minutes ago, JaredTorres said: I just installed the workflow and everything seems to be working perfectly except I don't see the second line of text in my search results. It's just the page title (first line) with nothing beneath it. In published screenshots for this workflow I see that the results display a second line of text. Not sure if it's a breadcrumb or just content from the page itself. In any case, my search results aren't showing anything on the second line/subtitle. I'm having the same issue, I suspect they've changed something on their side and I'll need to update the workflow appropriately
Hurzt Posted August 4, 2022 Posted August 4, 2022 Hey, This stopped working for me after a while and now when I type NS it says "loading" and quickly stops I tried re-installing and noticed that my cookie now looks like this: and doesn't say "notion_browser_id=... at the start. What's the deal?
wrjlewis Posted August 4, 2022 Author Posted August 4, 2022 3 minutes ago, Hurzt said: Hey, This stopped working for me after a while and now when I type NS it says "loading" and quickly stops I tried re-installing and noticed that my cookie now looks like this: and doesn't say "notion_browser_id=... at the start. What's the deal? I’m on holiday so can’t look at this for a week, but I reckon notion have changed their api so we’ll need to update our integration. Jonathan Baillie Strong 1
mwpark2014 Posted August 9, 2022 Posted August 9, 2022 Hello, is this workflow still working? I just downloaded it for Alfred 5. I updated the env variables for cookie and spaceId, but the notion search api looks a bit different than in the example. When I use notion search, it makes a call to https://www.notion.so/api/v3/teV1httphttps://www.notion.so/api/v3/teV1://www.notion.so/api/v3/teV1` Here's the debugger output: Quote [10:04:11.365] Notion Search[Script Filter] Processing complete [10:04:11.365] Notion Search[Script Filter] Passing output 'https://www.notion.so/' to Open URL [10:04:11.365] Notion Search[Script Filter] Passing output 'https://www.notion.so/' to Run Script [10:48:23.968] Notion Search[Script Filter] Queuing argument '' [10:48:24.295] Notion Search[Script Filter] Script with argv '(null)' finished [10:48:24.297] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]} [10:48:24.490] Notion Search[Script Filter] Queuing argument 'a' [10:48:24.613] Notion Search[Script Filter] Queuing argument 'al' [10:48:24.734] Notion Search[Script Filter] Script with argv '(null)' finished [10:48:24.761] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]} No easily discernible error, so I'm stuck 😧
vitor Posted August 9, 2022 Posted August 9, 2022 (edited) Welcome @mwpark2014, See the post right above yours. The developer is on holiday and will take a look at a later time. Edited August 9, 2022 by vitor
wrjlewis Posted August 12, 2022 Author Posted August 12, 2022 The issue reported above, relating to changes on Notions side with their API has been fixed with v0.4.2 @mwpark2014 @Hurzt I also noticed that the subtitles in the search results do not appear now if you set isNavigableOnly to True, this is a change made on Notions side. For this reason I have set the parameter to default to False. You can still set this to True but you will lose subtitles in your Alfred search results. @JaredTorres
mwpark2014 Posted August 12, 2022 Posted August 12, 2022 I've updated to v0.4.2 and still see the same issue resulting in only `"title": "Open Notion - No results, empty query, or error"` in the results 😢
wrjlewis Posted August 12, 2022 Author Posted August 12, 2022 5 minutes ago, mwpark2014 said: I've updated to v0.4.2 and still see the same issue resulting in only `"title": "Open Notion - No results, empty query, or error"` in the results 😢 Just to check, have you refreshed your cookie and space id? Has this workflow worked for you before?
mwpark2014 Posted August 12, 2022 Posted August 12, 2022 No, I have just installed this workflow for the first time. The cookie and space id should be from the new api since I just installed this workflow. I can try to refresh them again though
wrjlewis Posted August 12, 2022 Author Posted August 12, 2022 7 minutes ago, mwpark2014 said: No, I have just installed this workflow for the first time. The cookie and space id should be from the new api since I just installed this workflow. I can try to refresh them again though I’m not sure what you mean by the new api. This isn’t using the public api.
mwpark2014 Posted August 12, 2022 Posted August 12, 2022 I just meant that I followed the instructions to retrieve the cookie and space id very recently. I just did it again and it still doesn't work. cookie retrieved from the request header from the api call to `https://www.notion.so/api/v3/teV1` (this call executes when using quick find on notion instead of the `search` call in the docs) `space_id` taken from the request payload which appears in `e` within the formData
wrjlewis Posted August 13, 2022 Author Posted August 13, 2022 18 hours ago, mwpark2014 said: I just meant that I followed the instructions to retrieve the cookie and space id very recently. I just did it again and it still doesn't work. cookie retrieved from the request header from the api call to `https://www.notion.so/api/v3/teV1` (this call executes when using quick find on notion instead of the `search` call in the docs) `space_id` taken from the request payload which appears in `e` within the formData If you type something into the quick search bar, it triggers the "https://www.notion.so/api/v3/search" call where I get the cookie and space ID from. Rather than using the teV1 call which is triggered just from loading the quick search box. But I don't know if they yield different results at all in terms of the cookie or space id, wouldn't expect so. Complete shot in the dark but other people have had issues with Python certificates when they've installed it manually and rectified it with the command in terminal: Install Certificates.command
mwpark2014 Posted August 13, 2022 Posted August 13, 2022 Ahh, that was literally it! I was an idiot and couldn't figure out how to trigger the "https://www.notion.so/api/v3/search". The cookie was the same, but the spaceId was slightly different. After the change, it works perfectly. Thank you! wrjlewis 1
mboettger1 Posted August 25, 2022 Posted August 25, 2022 I've tried to install and run this workflow, adding the cookie and space id value per instructions but nothing works. The "ns" doesn't even seem to trigger anything. Is this still working or do I need to do something else to set it up. I ran the Alfred debugger and got this error: [09:17:31.521] Logging Started. [09:17:35.038] Notion Search[Script Filter] Queuing argument [09:17:35.120] Notion Search[Script Filter] Script with argv ' (null)' finished [09:17:35.123] ERROR: Notion Search[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/ CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I could really use this workflow as it would make my life tons easier! Can anyone help!!!???
wrjlewis Posted August 25, 2022 Author Posted August 25, 2022 3 minutes ago, mboettger1 said: I've tried to install and run this workflow, adding the cookie and space id value per instructions but nothing works. The "ns" doesn't even seem to trigger anything. Is this still working or do I need to do something else to set it up. I ran the Alfred debugger and got this error: [09:17:31.521] Logging Started. [09:17:35.038] Notion Search[Script Filter] Queuing argument [09:17:35.120] Notion Search[Script Filter] Script with argv ' (null)' finished [09:17:35.123] ERROR: Notion Search[Script Filter] Code 1: xcrun: error: invalid active developer path (/Library/Developer/ CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I could really use this workflow as it would make my life tons easier! Can anyone help!!!??? Hello There should have been a prompt but it may have been missed, you will need to install developer tools for it to work it seems. let me know if this works for you.. run this in terminal: xcode-select --install
Sebastien3020 Posted September 3, 2022 Posted September 3, 2022 Hi, Is the workflow work on M1 ? I installed workflow with Xcode on my Mac but it's not working..
vitor Posted September 4, 2022 Posted September 4, 2022 Welcome @Sebastien3020, When you have an issue with a Workflow, open the debugger, set the log output to “All Information”, perform the failing action, and post the output.
nebaon Posted September 15, 2022 Posted September 15, 2022 I keep getting [16:00:22.768] Notion Search[Script Filter] Script with argv '(null)' finished [16:00:22.776] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]} No further error mentioned in the debugger. Running Alfred 5 / MacOS 12.0.1 on M1 MacBook Air. Any idea where to look? Thanks in advance!
vitor Posted September 15, 2022 Posted September 15, 2022 @nebaon I don’t use Notion, but from the debugger it seems you might not have given an argument (something to search?) and that one is required.
wrjlewis Posted September 16, 2022 Author Posted September 16, 2022 19 hours ago, nebaon said: I keep getting [16:00:22.768] Notion Search[Script Filter] Script with argv '(null)' finished [16:00:22.776] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]} No further error mentioned in the debugger. Running Alfred 5 / MacOS 12.0.1 on M1 MacBook Air. Any idea where to look? Thanks in advance! 19 hours ago, vitor said: @nebaon I don’t use Notion, but from the debugger it seems you might not have given an argument (something to search?) and that one is required. I second what @vitor says, but also would suggest updating your cookie and space id, as per the instructions here.
al1881 Posted September 18, 2022 Posted September 18, 2022 Great workflow - thank you @wrjlewis Works like a charm for me when opening Notion pages on the web. However, when I try to use the desktop app the same page is opened each time (although the search works perfectly). Anything I am missing? Many thanks.
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