Open chris246 opened 5 years ago
Without seeing your .ics file, I can't say for certain how you're reaching that assertion, but I'm 95% confident it's related to the changes in 20e09f352, which created a designated class for VCATEGORY fields, whereas before they were simple strings. Reverting to icalendar==4.0.2 would likely fix the issue until it gets resolved here.
This bug in a client application seems to stem from the same: pimutils/khal#823
NB: Not a developer of this library, just a new user of Khal debugging my own issues with it.
When decoding categories from an ical feed, an AssertionError is thrown:
component.decoded('categories', [])
Stacktrace:The type of
ical
in fileprop.py
vCategory.from_ical
(line 281) isicalendar.prop.vCategory
Using
component.get('categories', [])
worksicalender version: 4.0.3