-
Notifications
You must be signed in to change notification settings - Fork 126
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
ValueError: A VEVENT must have at most one CATEGORIES: How to figure out at which VEVENT reading fails? #373
Comments
Hi :) Would it be possible to share the ics file that is making ics fail ? Also, could you try with the pre-release version of 0.8 to see if it still fails and if so, if the error message is better. ( |
Hi, I am joining the conversation as I observed some similar issue with The However, I could iterate a bit on the ics code (v0.7.2) and see the troubles in the However:
|
... But given that you are now treating the |
My recommendation would be to migrate to 0.8. It removed arrow as that caused multiple issues with time zones and local time stamps, but it also added a revamped parser, which e.g. now also stores line numbers with the parsed data for better error reporting. If you really need arrow, you can simply (un)wrap the time stamps that are passed between your code and the library. |
Upgrade ics library used for testing the booking feed to latest development version. This is mainly to workaround this issue: ics-py/ics-py#373 but also means a few more members a available in the parsed event that can be used for testing.
Upgrade ics library used for testing the booking feed to latest development version. This is mainly to workaround this issue: ics-py/ics-py#373 but also means a few more members a available in the parsed event that can be used for testing.
Upgrade ics library used for testing the booking feed to latest development version. This is mainly to workaround this issue: ics-py/ics-py#373 but also means a few more members a available in the parsed event that can be used for testing.
I'm using ics-py through https://github.com/prometheus42/libreoffice-ical-importer/blob/master/src/ical2csv.py . When trying to convert a calendar exported from Thunderbird, I get following error:
I checked the file, all events have at most one category. How can I figure out at which VEVENT the import / reading of the calendar fails?
Why isn't this information output by default?
The text was updated successfully, but these errors were encountered: