wrjlewis / notion-search-alfred-workflow

An Alfred workflow to search Notion with instant results
GNU General Public License v3.0
831 stars 42 forks source link

It doesn't seem to work today #51

Closed wisinfun closed 2 years ago

wisinfun commented 2 years ago

Search results not found

Miaoyifei-mz commented 2 years ago

Same issue. Have updated cookie and space id but it doesn't work.

jonbstrong commented 2 years ago

same here

mario-euc commented 2 years ago

Same, right now I'll just share the debug trace for the workflow I'm getting right now.

[09:24:24.506] Notion Search[Script Filter] Queuing argument ''
[09:24:24.780] Notion Search[Script Filter] Script with argv '(null)' finished
[09:24:24.783] ERROR: Notion Search[Script Filter] Code 1: Traceback (most recent call last):
  File "/Users/mariomaradiaga/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.BDD3F04A-C769-4E72-AFDF-FAAF14E45C1B/notion.py", line 198, in <module>
    for x in searchResults.pages:
AttributeError: 'Payload' object has no attribute 'pages'
[09:24:24.824] Notion Search[Script Filter] Queuing argument 't'
[09:24:24.865] Notion Search[Script Filter] Queuing argument 'te'
[09:24:25.067] Notion Search[Script Filter] Queuing argument 'tes'
[09:24:25.174] Notion Search[Script Filter] Script with argv '(null)' finished
[09:24:25.176] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]}
[09:24:25.183] Notion Search[Script Filter] Queuing argument 'test'
[09:24:25.451] Notion Search[Script Filter] Script with argv '(null)' finished
[09:24:25.455] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]}
[09:24:25.734] Notion Search[Script Filter] Script with argv '(null)' finished
[09:24:25.739] Notion Search[Script Filter] {"items": [{"uid": 1, "type": "default", "title": "Open Notion - No results, empty query, or error", "arg": "https://www.notion.so/"}]}
LeeGeunHAHAHA commented 2 years ago

Same here. I'll share the debug trace. I couldn't search the page I already have. image image

amrael commented 2 years ago

Duplicate of #50

hongxunming commented 2 years ago

Same here

image
wrjlewis commented 2 years ago

I am on holiday so can't fix this myself for a while

hongxunming commented 2 years ago

Same here image It works normally after I changed the notion.py file followed the intro below. https://github.com/wrjlewis/notion-search-alfred-workflow/issues/50#issuecomment-1209036123

wrjlewis commented 2 years ago

This has been fixed with v0.4.2