Skip to content
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

cal_setup, list_calendars modules not found #3

Open
jrumley opened this issue Oct 28, 2022 · 0 comments
Open

cal_setup, list_calendars modules not found #3

jrumley opened this issue Oct 28, 2022 · 0 comments

Comments

@jrumley
Copy link

jrumley commented Oct 28, 2022

I wasn't sure which python file to run first I just went down the list. Using the comments in the code and the issue already cleared I was able to get configSync to work.

The core issue comes from the gcal-to-notion.py file where I get the above errors.

I couldn't find these modules to do a pip install from but I did find karenapp's 'google-calendar-python-api' repository. Is that was this is referencing and should it be in the same folder where I run the python code?

If so, the error I eventually run into is:
Traceback (most recent call last): File "C:\Users\Jason\Downloads\notion-gcal-sync-main\notion-gcal-sync-main\gcal-to-notion.py", line 58, in <module> calendarList = list_calendars.list_calendars() AttributeError: module 'list_calendars' has no attribute 'list_calendars'

Or is this import supposed to be from NotionGCal? Importing that function in leads to the same error mentioned below (for obvious reasons)

Trying to run NotionGCal.py hangs and when I kill it, I can see it stopped on line 81 of that file where it references:
events = service.events().list(calendarId = calendar['id']).execute()

Any help or more detailed installation would be greatly appreciated. I'm not extremely well versed in python so..

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

No branches or pull requests

1 participant