This repository was archived by the owner on Feb 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Feb 6, 2019. It is now read-only.
Track down cause of events not being added #5
Copy link
Copy link
Open
Description
Mentioned in #4, need to follow up with more work.
The update script encounters two kinds of problematic events:
- 14 events that are just NOT added, not sure why
- 2 all day events
events with datetime stamps that are only day/month/year and no time info
Relevant traceback so we can cross-reference with the events in Groups.io:
Updating Google Calendar with events from components_map...
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
----------------------------------------
Summary:
ADD: 16 Google Calendar events to add
REMOVE: 0 Google Calendar events to remove
SYNC: 116 Google Calendar events to sync
Adding 16 events...
----------------------------------------
Adding event calendar8949292154groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292154groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292154groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar9283316654groupsio
Title: NIH Data Commons KC6 Meeting
ERROR: Could not create event with event id: calendar9283316654groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9283316654groupsio
Title: NIH Data Commons KC6 Meeting
Continuing...
----------------------------------------
Adding event calendar8949292155groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292155groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292155groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar8949292159groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292159groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292159groupsio
Title: KC7 Working Group
Continuing...
XXX Failed to convert ics to google calendar event
Traceback (most recent call last):
File "/Users/charles/davis/calendars/scripts/util_gcal.py", line 222, in update_gcal_from_components_map
ical_event = ics2gcal_event(ical_events[eid])
File "/Users/charles/davis/calendars/scripts/util_gcal.py", line 633, in ics2gcal_event
startdt = utc.localize(datetime.datetime.strptime(vevent_decode(vevent['DTSTART']), "%Y%m%dT%H%M%SZ"))
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/_strptime.py", line 362, in _strptime
(data_string, format))
ValueError: time data '20180530' does not match format '%Y%m%dT%H%M%SZ'
----------------------------------------
Adding event calendar11449278958groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292159groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292159groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar9513311710groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311710groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311710groupsio
Title: KC2: Weekly Meeting
Continuing...
----------------------------------------
Adding event calendar8949292160groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292160groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292160groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar9513311709groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311709groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311709groupsio
Title: KC2: Weekly Meeting
Continuing...
----------------------------------------
Adding event calendar9513311708groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311708groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311708groupsio
Title: KC2: Weekly Meeting
Continuing...
----------------------------------------
Adding event calendar9513311711groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311711groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311711groupsio
Title: KC2: Weekly Meeting
Continuing...
----------------------------------------
Adding event calendar8949292158groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292158groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292158groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar8949292157groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292157groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292157groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar9513311712groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311712groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311712groupsio
Title: KC2: Weekly Meeting
Continuing...
----------------------------------------
Adding event calendar8949292156groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292156groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292156groupsio
Title: KC7 Working Group
Continuing...
XXX Failed to convert ics to google calendar event
Traceback (most recent call last):
File "/Users/charles/davis/calendars/scripts/util_gcal.py", line 222, in update_gcal_from_components_map
ical_event = ics2gcal_event(ical_events[eid])
File "/Users/charles/davis/calendars/scripts/util_gcal.py", line 633, in ics2gcal_event
startdt = utc.localize(datetime.datetime.strptime(vevent_decode(vevent['DTSTART']), "%Y%m%dT%H%M%SZ"))
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/_strptime.py", line 565, in _strptime_datetime
tt, fraction = _strptime(data_string, format)
File "/Users/charles/.pyenv/versions/miniconda3-4.3.30/lib/python3.6/_strptime.py", line 362, in _strptime
(data_string, format))
ValueError: time data '20180629' does not match format '%Y%m%dT%H%M%SZ'
----------------------------------------
Adding event calendar11449279691groupsio
Title: KC7 Working Group
ERROR: Could not create event with event id: calendar8949292156groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar8949292156groupsio
Title: KC7 Working Group
Continuing...
----------------------------------------
Adding event calendar9513311707groupsio
Title: KC2: Weekly Meeting
ERROR: Could not create event with event id: calendar9513311707groupsio
There may be a problem with the calendar/event id.
Calendar id: nihdatacommons.com_7emes1bsk61rh71a3enjjlkpec@group.calendar.google.com
Event id: calendar9513311707groupsio
Title: KC2: Weekly Meeting
Continuing...
Done adding 16 events.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels