i.cal.to subscriptions



  • Hi there,

    i've got issues with some cal resources.

    0_1517823492466_Screenshot_20180205-103505.jpg

    As you can see, only some of the i.cal.to resource have problems. It is hard to debug, as ICSDroid does not have a debug option to enable. I also pasted the content of the ics URLs into an ICS Validator on this site https://icalendar.org/validator.html

    The validator says everything is valid and fine. What can i do, to help debug this problem.


  • developer

    Hello,

    I can't reproduce these problems. The same calendars from i.cal.to are working with ICSdroid here.

    Probably a temporary problem. Does it persist for you?



  • Yes it is permanent.


  • developer

    @schnoop Do the URLs work in your Android browser?

    As said above, these URLs are working here, so I don't have an idea…



  • Jep. No problem in Android browser. I can download the file and import it into the calendar. Any logging in IcsDroid that i can enable? Is it possible to view the errors via logcat?


  • developer

    Yes, you can use logcat.



  • I'll keep you updated.



  • Okay. Here is the Exception:

    02-08 12:05:08.938 17904 20215 I icsdroid: iCalendar file completely processed
    02-08 12:05:08.956 17904 20212 V icsdroid: Using charset UTF-8
    02-08 12:05:09.098 17904 20213 E icsdroid: Couldn't process calendar
    02-08 12:05:09.098 17904 20213 E icsdroid: at.bitfire.ical4android.InvalidCalendarException: Couldn't parse iCalendar resource
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at at.bitfire.ical4android.Event$Companion.fromReader(Event.kt:84)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at at.bitfire.ical4android.Event$Companion.fromReader$default(Event.kt:76)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at at.bitfire.icsdroid.SyncAdapter$ProcessEventsTask.processEvents(SyncAdapter.kt:211)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at at.bitfire.icsdroid.SyncAdapter$ProcessEventsTask.run(SyncAdapter.kt:96)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at java.lang.Thread.run(Thread.java:784)
    02-08 12:05:09.098 17904 20213 E icsdroid: Caused by: net.fortuna.ical4j.data.ParserException: Error at line 1.105:net.fortuna.ical4j.model.property.XProperty cannot be cast to net.fortuna.ical4j.model.property.TzId
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:158)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:198)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:178)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at at.bitfire.ical4android.Event$Companion.fromReader(Event.kt:82)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	... 6 more
    02-08 12:05:09.098 17904 20213 E icsdroid: Caused by: java.lang.ClassCastException: net.fortuna.ical4j.model.property.XProperty cannot be cast to net.fortuna.ical4j.model.property.TzId
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.model.TimeZone.<init>(TimeZone.java:67)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarBuilder$ContentHandlerImpl.endComponent(CalendarBuilder.java:245)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:444)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:406)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:208)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:115)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:180)
    02-08 12:05:09.098 17904 20213 E icsdroid: 	at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:149)

  • developer

    @schnoop Is it the latest ICSdroid version? Where did you get it from?



  • Version 1.5.4 from Google Play Store.