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

Parsing events crashes on certain files on categories #125

Open
jindra12 opened this issue Apr 12, 2023 · 1 comment
Open

Parsing events crashes on certain files on categories #125

jindra12 opened this issue Apr 12, 2023 · 1 comment

Comments

@jindra12
Copy link

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 added a commit to jindra12/icalevents that referenced this issue Apr 12, 2023
@eigenmannmartin
Copy link
Member

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 :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants