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

Google Calendar failing on 2nd sync with Unknown error #1151

Open
apnar opened this issue Dec 9, 2024 · 0 comments
Open

Google Calendar failing on 2nd sync with Unknown error #1151

apnar opened this issue Dec 9, 2024 · 0 comments

Comments

@apnar
Copy link

apnar commented Dec 9, 2024

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/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536490494/[email protected]', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/[email protected]', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/550001606/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/550001606/[email protected]', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536786575/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536786575/[email protected]', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536491224/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536491224/[email protected]', properties are missing.
debug: Already normalized: '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/[email protected]'
debug: Skipping '/caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/8/96756477/[email protected]', properties are missing.
error: Unknown error occurred for band_google/renamer: /caldav/v2/03f7c24682f8cf2a05754f2d4d89e9624e7b1d3a741f9abcfe7a56bbf6474ed1@group.calendar.google.com/events/4/96756477/536490350/[email protected]
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

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