Skip to content

Impossible use of list in markdown paragraph of event #1

Description

@AbcSxyZ
## Title of your event

- Begin: dd/mm/yyyy hh:mm UTC+1
- End: dd/mm/yyyy hh:mm UTC+1
- Location: https://link-to-visio.org
- Categories: category 1, category 2

Description of your event.

- List in paragraph which create an error

Error message:

  File "open-calendar/git_calendar/git_calendar.py", line 120, in _extract_event_details
    name, value = field["children"][0]["children"][0]["raw"].split(":", 1)
ValueError: not enough values to unpack (expected 2, got 1)

Error coming from the way parsing is done in GitCalendar.markdown_parser, all list in all content assumed to fields of event (caldav).

Workaround: Do not use markdown list in paragraph of the event description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions