-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
error:malformed calendar; expected end #111
Comments
Will do a small test now. See if it can be quickly resolved. |
@KirillZet The issue is the X-SCHEDULE_VERSION-ID:8 Tests: Lines 497 to 525 in 5670d8a
Which should follow the grammar: https://datatracker.ietf.org/doc/html/rfc5545 (I have extracted it to the relevant parts from section 3.1)
Alpha and digit are defined in:
Which I know sucks as an answer. How much influence do you have over this choice of character? I will see if we can find a solution. It's not per-say a "bug" in this but I do feel that if a work around is possible I could try offer it. I don't know |
It seems, that your provided examples are the same |
Hah.. Clipboard failure. Try one of those against working: https://github.com/arran4/golang-ical/blob/5670d8a3f3650007bb5b3b827b7a3aead774480d/testdata/issue111/vevent2-no-desc.ics Remember, always |
Thanks for the help)
I think everyone who faces the same problem can solve it this way. It's a bit of a crutch, but it works) |
Could be in |
I think this ticket indicates 2 issues with my library:
So expect improvements. @KirillZet were you able to find where the invalid token (name |
The API from which I get the link to ical belongs to my university, so there's no way for me to see what's actually going on there. |
Ah. I guess all you can do is log it. Good luck. |
@KirillZet You re-opened this, but your message was lost? |
Sorry it was an accident, I'll close it now |
Current Behavior:
Hello, I'm trying to parse a calendar using your library.
Calendar obtained via http.
Here's my code:
Calendar is nil and error “malformed calendar; expected end”
Expected Behavior:
I tested parsing this calendar(from the same link) in python using the library
icalendar
, everything parsed as I needed it to.Steps To Reproduce:
Minimal Example ical extract:
Anything else:
icalURL := "http://english.mirea.ru/schedule/api/ical/1/248"
The text was updated successfully, but these errors were encountered: