-
-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Hello there,
I'm trying to sync taskwarrior to a vikunja self hosted caldav instance.
The first sync worked fine, in the next one I'm having the error that follows:
I'm new to this github stuff, if there is another info necessary, please let me known
MkcalendarError at '200 OK
b'\n\n\n\t\n\t\n\t<title>Vikunja</title>\n\t\n\t\n\n\t\n\t\n\t\n <script type="module" crossorigin src="/assets/index-E9iI11Ft.js"></script>\n \n\n\n\n\tWe're sorry but Vikunja doesn't work properly without JavaScript enabled. Please enable it to continue.\n\n
\n<script>\n\twindow.SENTRY_ENABLED = false\n\twindow.SENTRY_DSN = 'https://[email protected]/6024480\'\n\twindow.ALLOW_ICON_CHANGES = true\n\twindow.CUSTOM_LOGO_URL = ''\n</script>\n<script>\n\t//\n\t// This variable points the frontend to the api.\n\t// It has to be the full url, including the last /api/v1 part and port.\n\t// You can change this if your api is not reachable on the same port as the frontend.\n\twindow.API_URL = '/api/v1'\n\twindow.ALLOW_ICON_CHANGES = true\n</script>\n\n\n'', reason no reasonand also this
Exception was raised during program execution.
File "/Library/Frameworks/Python.framework/Versions/3.12/bin/tw_caldav_sync", line 8, in
sys.exit(main())
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/syncall/scripts/tw_caldav_sync.py", line 214, in main
aggregator.sync()
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/syncall/aggregator.py", line 171, in sync
str(item[self._helper_A.id_key]): item for item in self._side_A.get_all_items()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/syncall/caldav/caldav_side.py", line 65, in get_all_items
raw_todos = calendar_todos(self._calendar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/syncall/caldav/caldav_utils.py", line 21, in calendar_todos
return calendar.todos(include_completed=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/objects.py", line 1272, in todos
return self.search(
^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/objects.py", line 1026, in search
(response, objects) = self._request_report_build_resultlist(xml, comp_class)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/objects.py", line 907, in _request_report_build_resultlist
response = self._query(xml, 1, "report")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/objects.py", line 188, in _query
ret = getattr(self.client, query_method)(url, body, depth)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/davclient.py", line 487, in report
return self.request(
^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/davclient.py", line 594, in request
response = DAVResponse(r)
^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/caldav/davclient.py", line 76, in init
"Expected some valid XML from the server, but got this: \n"