Open HarryChoi1108 opened 3 years ago
The first error can be solved by installing this module using pip: https://pypi.org/project/notion-client/
Not sure about the second one, cause I don't have a variable called GCalTokenLocation in my code.
The second error occurs on line 95 and 15. (indicated by VSCode)
After solving the first problem.
Another problem occurs.
credentials = pickle.load(open(credentialsLocation, "rb")) _pickle.UnpicklingError: invalid load key, '{'.
(line82)
Thanks a lot for your help :)
The second error is that "GCalTokenLocation is not defined"
@HarryChoi1108 I'm getting that issue as well
Curious if this was what is now credentialsLocation
variable??
Same thing is happening to me with ExtraInfo_Notion_Name
variable as well (Line 431, 575, 1048, 1165 in example code here)
Hey! Could you try this out with the new code that I uploaded and tell me if the problem is still there?
I get this error when I run the BAT file
File "C:\Users\alias\Documents\Notion-and-Google-Calendar-2-Way-Sync\Notion-GCal-2WaySync-Public.py", line 100, in <module> credentials = pickle.load(open(credentialsLocation, "rb")) FileNotFoundError: [Errno 2] No such file or directory: 'token.pkl'
Though it works fine if I run the python file manually in the terminal
When I run the code. It shows the following
I have installed notion and also no other file named notion.py, so I don't know how to solve that.
The second error is that "GCalTokenLocation is not defined" I have put my notion token string in the NOTION_TOKEN(line 15)