Closed kayloremetre closed 3 years ago
That error usually means that the column on Notion that is supposed to store the current calendar id for that task is empty. The code should be filling in that column for each task as it runs. Can you ensure that the Current Calendar Id column on Notion is not empty (it should have the GCal Calendar Id stored as text in there).
A full tutorial will likely be coming in the next week (I recorded everything, but just need to edit the video so personal information isn't shown) so I think that will help out! :)
Oh yeah. It is empty :(. I can wait for the video though, thank you!
Traceback (most recent call last): File "C:\Users\User\Downloads\Notion-and-Google-Calendar-2-Way-Sync\Notion-GCal-2WaySync-Public.py", line 728, in
CurrentCalList.append(el['properties'][Current_Calendar_Id_Notion_Name]['rich_text'][0]['text']['content'])
IndexError: list index out of range
I always get this error when running the python, but the code works except for syncing my second calendar. Both calendars are mine.
P.S. I don't think it's a bug but I needed help so posted this here.