Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Query failing #5

Open
dnishiyama opened this issue Feb 7, 2020 · 1 comment
Open

Query failing #5

dnishiyama opened this issue Feb 7, 2020 · 1 comment

Comments

@dnishiyama
Copy link

When I'm trying to export the calendar with the webapp.py I run into the following error. The ics that is exported doesn't have any content. Any idea what might be up? Looks like Notion updated their API last month.

Traceback (most recent call last):
File ".../notion/notion-export-ics/webapp.py", line 38, in make_ics
cal = get_ical(client, calendar_url, title_format)
File ".../notion/notion-export-ics/notion_ics.py", line 27, in get_ical
calendar_query = calendar_view.build_query()
File ".../notion/collection.py", line 249, in build_query
"query"
KeyError: 'query'

@elblogbruno
Copy link

jamalex/notion-py#190 I made a pull request fixing the issue. A quick one is to manually modify the notion/collection.py go to the line 249 and change "query" for "query2".

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants