notion2googlecal's Issues
'summary' key error in google event
Hello
I am having a summary key error in Google events here
It seems like such keyword does exist in the event dictionary.
CalendarID missing required parameter
Hi, i've added in my calendar id (tried multiple) in the variables but when I run the code after successfully authorizing it says that I'm missing required parameter "calendarID" even though I've inserted it (as a string) there.
TypeError and AttributeError
- TypeError
Traceback (most recent call last):
File "/Users/harry/Documents/Notion Google calander intergration/notion2googlecal-master/main.py", line 326, in
main("request")
File "/Users/harry/Documents/Notion Google calander intergration/notion2googlecal-master/main.py", line 64, in main
events_result = service.events().list(calendarId=calendar_id,
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/googleapiclient/discovery.py", line 1018, in method
raise TypeError('Missing required parameter "%s"' % name)
TypeError: Missing required parameter "calendarId"
The above error shows when line 64 is the following
events_result = service.events().list(calendarId=calendar_id,
The bug disappear when I replace the "calendar_id" to the actual calendar id found in Google Calendar.
- AttributeError
The programme ask for the notion account and password, after typing it in the console, the following appears:
Traceback (most recent call last):
File "/Users/harry/Documents/Notion Google calander intergration/notion2googlecal-master/main.py", line 326, in
main("request")
File "/Users/harry/Documents/Notion Google calander intergration/notion2googlecal-master/main.py", line 79, in main
calendar = client.get_collection_view(notion_cal)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/notion/client.py", line 211, in get_collection_view
if url_or_id.startswith("http"):
AttributeError: 'NoneType' object has no attribute 'startswith'
I can't solve the problem, and hope you can help me.
Thank you very much. :) Harry
If you wanna contact me via email, [email protected]
Invalid Input
Hello!
I followed all the setup instruction, installed the dependencies, authorise the application ...
When I run the script, I have this error which seems to be related to notion
dependency:
Traceback (most recent call last):
File "/Users/user/notion2googlecal/main.py", line 326, in <module>
main("request")
File "/Users/user/notion2googlecal/main.py", line 82, in main
notion_events = calendar.collection.get_rows()
File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 178, in get_rows
return self.query(**kwargs)
File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 175, in query
return CollectionQuery(self, self._get_a_collection_view(), **kwargs).execute()
File "/usr/local/lib/python3.9/site-packages/notion/collection.py", line 314, in execute
self._client.query_collection(
File "/usr/local/lib/python3.9/site-packages/notion/client.py", line 217, in query_collection
return self._store.call_query_collection(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/notion/store.py", line 338, in call_query_collection
response = self._client.post("queryCollection", data).json()
File "/usr/local/lib/python3.9/site-packages/notion/client.py", line 183, in post
raise HTTPError(
requests.exceptions.HTTPError: Invalid input.
Do you know how I could save this problem ? I would be more than happy to help for the investigation.
Thanks !
HTTP 400 error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.