Skip to content

Support multiple ICS entries in one file. #19

@shymega

Description

@shymega

I'm using this library alongside with vdirsyncer and the single file storage backend.

I would like to get this library to parse a whole file with the entries in, but it does not seem to work.

This is the error I receive.

iex(1)> ICalendar.from_ics(File.read!("personal.ics"))
** (MatchError) no match of right hand side value: {:error, "Expected `T`, but found `Z` at line 1, column 9."}
    (icalendar) lib/icalendar/util/deserialize.ex:87: ICalendar.Util.Deserialize.parse_attr/2
    (elixir) lib/enum.ex:1811: Enum."-reduce/3-lists^foldl/2-0-"/3

I have not figured out the issue yet, but I would like to know if its possible to tweak icalendar to support multiple entries of a ICalendar in one file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions