pimutils / pimutils/vdirsyncer

Die Synchronisation bricht ab

Open
#1,205 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.9k
Forks
185
Avg merge
11h 49m
Merged PRs (30d)
1

Description

Hallo

habe grade das Tool installiert, leider bricht die Synchronisation mit der nachfolgenden Meldung ab.
Was kann das Problem sein ?

Mit freundlichen Grüßen

debug: Already normalized: '/caldav/xxxxxxxxxx/x-apple-reminderkit%3A/REMCDReminder/F9FB3EE9-BAA8-4479-88F1-E766B0B7C3A4.ics'
debug: Skipping '/caldav/xxxxxxxxxx/x-apple-reminderkit%3A/REMCDReminder/F9FB3EE9-BAA8-4479-88F1-E766B0B7C3A4.ics', properties are missing.
error: Unknown error occurred for karsten_calendar/xxxxxxxxxx: /caldav/xxxxxxxxxx/x-apple-reminderkit%3A//REMCDReminder/F9FB3EE9-BAA8-4479-88F1-E766B0B7C3A4.ics
error: Use `-vdebug` to see the full traceback.
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/cli/tasks.py", line 74, in sync_collection
debug:     await sync.sync(
debug:     ...<7 lines>...
debug:     )
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/sync/__init__.py", line 150, in sync
debug:     b_nonempty = await b_info.prepare_new_status()
debug:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/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:     ...<4 lines>...
debug:         self.set_item_cache(item.ident, item)
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/storage/dav.py", line 551, in get_multi
debug:     raise exceptions.NotFoundError(href)
error: Unknown error occurred for karsten_calendar/Y2FsOi8vMC82OQ: Server disconnected
error: Use `-vdebug` to see the full traceback.
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/cli/tasks.py", line 74, in sync_collection
debug:     await sync.sync(
debug:     ...<7 lines>...
debug:     )
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/sync/__init__.py", line 150, in sync
debug:     b_nonempty = await b_info.prepare_new_status()
debug:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/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:     ...<4 lines>...
debug:         self.set_item_cache(item.ident, item)
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/storage/dav.py", line 520, in get_multi
debug:     response = await self.session.request(
debug:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:         "REPORT", "", data=data, headers=self.session.get_default_headers()
debug:         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:     )
debug:     ^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/storage/dav.py", line 411, in request
debug:     return await http.request(method, url, session=session, **more)
debug:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/vdirsyncer/http.py", line 199, in request
debug:     response = await session.request(method, url, headers=headers, **kwargs)
debug:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/aiohttp/client.py", line 779, in _request
debug:     resp = await handler(req)
debug:            ^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/aiohttp/client.py", line 757, in _connect_and_send_request
debug:     await resp.start(conn)
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 539, in start
debug:     message, payload = await protocol.read()  # type: ignore[union-attr]
debug:                        ^^^^^^^^^^^^^^^^^^^^^
debug:   File "/root/.local/share/pipx/venvs/vdirsyncer/lib/python3.13/site-packages/aiohttp/streams.py", line 703, in read
debug:     await self._waiter

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the synchronization failure with -vdebug, then start by reading vdirsyncer/storage/dav.py around get_multi and request, followed by vdirsyncer/sync/__init__.py and vdirsyncer/http.py in the traceback. Compare the missing-properties, NotFoundError, and disconnected-server paths; done means the reported synchronization completes without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.