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

Warning server path handling problem using Nextcloud #330

Open
fluxxcode opened this issue Aug 14, 2023 · 1 comment
Open

Warning server path handling problem using Nextcloud #330

fluxxcode opened this issue Aug 14, 2023 · 1 comment

Comments

@fluxxcode
Copy link
Contributor

Calling client.principal().calendars() using Nextcloud as the caldav server results in the following warning:

Possibly the server has a path handling problem, possibly the URL configured is wrong.
Path expected: //remote.php/dav, path found: ['/remote.php/dav/'] Please raise an issue at https://github.com/python-caldav/caldav/issues or reach out to [email protected], include this error and the traceback and tell what server you are using.
Continuing, probably everything will be fine

However, a correct list of the user's calendars is still returned.
So far I have only noticed this with client.principal().calendars(). When deleting or creating events, via client.calendar(...).add_event(...), this warning does not appear.

I am currently using the latest Nextcloud Docker image (Nextcloud Hub 5 (27.0.2)) with a SQLite database.

@tobixen
Copy link
Member

tobixen commented Aug 14, 2023

It seems harmless, but I ought to look into it at some point.

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

2 participants