Google Calendar failing on 2nd sync with Unknown error
Opened this issue · 0 comments
apnar commented
I'm attempting to keep a google calendar updated with events from a third party that I've downloaded to a single ICS file. Going into a brand new Google calendar the first sync is successful and the events all show up in Google's interface. Running sync a second time with no changes fails with an Unknown error, same exact error on each subsequent run.
Config:
[general]
status_path = "/vdirsyncer/status/"
[pair band_google]
a = "band"
b = "google_calendar"
collections = [["renamer",null,"03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com"]]
conflict_resolution = "a wins"
partial_sync: "ignore"
[storage band]
type = "singlefile"
path = "/vdirsyncer/band.ics"
read_only = true
[storage google_calendar]
type = "google_calendar"
token_file = "/vdirsyncer/google-cal.token"
client_id = "XXXXXXX"
client_secret = "XXXXXXX"
Last few lines that show error:
debug: <CIMultiDictProxy('Date': 'Mon, 09 Dec 2024 19:55:53 GMT', 'Content-Type': 'text/xml; charset=UTF-8', 'Cache-Control': 'no-cache, no-store, max-age=0, must-revalidate', 'Pragma': 'no-cache', 'Expires': 'Mon, 01 Jan 1990 00:00:00 GMT', 'Vary': 'Origin', 'Vary': 'X-Origin', 'Vary': 'Referer', 'Content-Encoding': 'gzip', 'Server': 'ESF', 'X-XSS-Protection': '0', 'X-Frame-Options': 'SAMEORIGIN', 'X-Content-Type-Options': 'nosniff', 'Alt-Svc': 'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000', 'x-l2-request-path': 'l2-managed-14', 'Transfer-Encoding': 'chunked')>
debug: <StreamReader 2398 bytes eof>
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536490494/20241118@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536490494/20241118@band.us.ics', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/2024@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/2024@band.us.ics', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/550001606/20241213@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/550001606/20241213@band.us.ics', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536786575/19700101@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536786575/19700101@band.us.ics', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536491224/20241121@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536491224/20241121@band.us.ics', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/2025@band.us.ics'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/2025@band.us.ics', properties are missing.
error: Unknown error occurred for band_google/renamer: /caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536490350/19700101@band.us.ics
error: Use `-vdebug` to see the full traceback.
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/cli/tasks.py", line 74, in sync_collection
debug: await sync.sync(
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/sync/__init__.py", line 150, in sync
debug: b_nonempty = await b_info.prepare_new_status()
debug: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/sync/__init__.py", line 69, in prepare_new_status
debug: async for href, item, etag in self.storage.get_multi(prefetch):
debug: File "/opt/pipx/venvs/vdirsyncer/lib/python3.12/site-packages/vdirsyncer/storage/dav.py", line 553, in get_multi
debug: raise exceptions.NotFoundError(href)
versions:
vdirsync:/vdirsyncer$ vdirsyncer --version
vdirsyncer, version 0.19.3
vdirsync:/vdirsyncer$ python --version
Python 3.12.6
vdirsync:/vdirsyncer$ cat /etc/alpine-release
3.20.3
debug outputs from both runs:
first-sync.txt
second-sync.txt