icalevents icon indicating copy to clipboard operation
icalevents copied to clipboard

Parsing events crashes on certain files on categories

Open jindra12 opened this issue 1 year ago • 1 comments

Hello everyone!

When parsing events on files such as basic.ics.zip, parser crashes since icalendar parses categories as an array and your package expects them to be an object with property "cats" on it. The problem line is in file icalparser.py, 228. Would appreciate some hints on how to fix this, we are using this package uncommitted, so applying patches can be difficult.

Thank you for this package!

jindra12 avatar Apr 12 '23 20:04 jindra12

You can fairly easily remap the events into an event that has an object with the property cats. Is this still needed? If yes I can hack up a solution for you :-)

eigenmannmartin avatar Sep 08 '24 18:09 eigenmannmartin