Ask / Submit
3

Cannot import ics file to Jolla calendar

asked 2019-08-13 10:21:25 +0300

inte gravatar image

I downloaded this ics file from a local college: https://vhs-ni.de/kurse/webbasys/ics.php?knr=20A4W190 Jolla says its importing the dates and does not report an error. However, dates do not show up in the calendar then. Bug or feature?

edit retag flag offensive close delete

Comments

i believe ... .ics files pointing at aliendalvik's google calendar, which is supposed to sync with jollacalendar. That's what happens when I tap 'add to calendar' in my public transport app. (on XA2 - on X it's working fine)

danfin ( 2019-08-13 11:48:19 +0300 )edit
5

Your ICS data seems to be malformed, as far as I know. Look at the DTSTART field: DTSTARTTZID="Europe/Berlin:"20190916T193000. It should be something like: DTSTART;TZID=Europe/Berlin:20190916T193000. Spot the misplaced closing quote (quote are even not necessary), or the missing semi colon between DTSTART and TZID…

The parser (libical) is not raising error on this, but is ignoring your DTSTART so all events are set January, 1st 1970…

If you believe that your syntax is indeed correct, I'll fill a bug upstream in libical.

Damien Caliste ( 2019-08-13 12:20:51 +0300 )edit

my time consuming workaround for the public transport / no google calendar problem: Open train schedule in a browser, download the .ics file, click on it in transfers it will import to sailfish calendar. Conclusion: Importing .ics files works here.

danfin ( 2019-08-13 19:18:20 +0300 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2019-08-15 15:40:47 +0300

inte gravatar image

@Damien Caliste Thanks for the clarification. It's not "my" syntax, I guess this file is automatically generated by that website. Even though the file maybe "incorrect" it is probably still accepted by other devices (like iOS/Android), therefore I'm unsure if it makes sense if libical does an absolutely strict checking or should rather be more tolerant. Thanks in either case! I will manually fix this file and reimport it then:-)

edit flag offensive delete publish link more

Comments

4

Sorry, didn't want to be offensive, indeed it's not your syntax.

I'm not convinced that libical upstream will welcome a patch making the parser more lax. Indeed, the short term solution is to patch the file, but it's not very convenient, particularly if you need to receive more file like this one. Maybe trying to contact the IT team of the courses website ?

Damien Caliste ( 2019-08-15 16:11:59 +0300 )edit

I checked another vhs and their syntax in the iCal files is correct. I passed an email over to the one in nienburg and explained the problem. hopefully they will fix it. Judging that other vhs do it properly, it could be a local issue.

onehundredpercentdruken ( 2019-08-17 00:44:38 +0300 )edit

Great, thank you forbyour efforts. I would have thought that the vhs would use a universal web service for all institutions but didnt check. As it is only a single installation there might be better chances that this is going to be fixed. Havent tried to import this file to other calendars like google or Kontact anyways, maybe there are more clients not accepting this file... and the vhs just doesn't know because it's a rather small institution and maybe it works on windows.LOL

inte ( 2019-08-17 16:02:47 +0300 )edit
0

answered 2019-08-17 16:39:53 +0300

inte gravatar image

Google calendar doesn't show the dates properly as well.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
3 followers

Stats

Asked: 2019-08-13 10:21:25 +0300

Seen: 210 times

Last updated: Aug 17