Bug 366112 - [regression] Akonadi does not load remote calendar source
Summary: [regression] Akonadi does not load remote calendar source
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: ICal file resource (show other bugs)
Version: 5.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-26 06:13 UTC by Dan
Modified: 2023-02-14 22:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan 2016-07-26 06:13:01 UTC
When I add a remote ICS file (by entering a URL in the ICAL source) it is not being read by Akonadi. The Akonadi console always shows 0 entries in such sources. This used to work with earlier KDE releases.

It does not matter whether the file is accessed through HTTP or HTTPS, it simply does not load any appointments. The interesting part is: when I download the ICS with wget and add it as a local file it is displayed properly, so the problem is not the ICS file itself.

Example remote calendar which does not load:

https://calendar.google.com/calendar/ical/12k3q973h6hefvd9tbj79c7slc%40group.calendar.google.com/private-af4b01d323e99b0301f7394ff29a63bd/basic.ics


Reproducible: Always




This is on x86_64 Arch Linux, so I am always using the latest stable release.
Comment 1 Frank Steinmetzger 2016-09-06 22:57:01 UTC
I discovered the very same problem on my PC yesterday by chance, because I was making changes to the ICS generator on the remote end and saw no changes in my calendar entries. I did the upgrade from KDE 4 to 5 in mid-July, and the remote read-only ICS calendar got stuck in its state from that time. Just like the OP, I downloaded the file and opened it with KOrganizer and it showed everything as it should. I deleted and re-added the source, and now there are no items at all.

Running Gentoo with normal packages. Plasma 5.7.2 nowadays.
Comment 2 Cyrille Berger 2016-09-22 08:39:26 UTC
I have the same problem on Kubuntu 16.04 with KOrganizer 5.1.3 and Akonadi 15.12.3
Comment 3 Dan 2017-01-12 07:17:55 UTC
The regression is still present in Akonadi 5.4. Which information is missing to get this issue confirmed?
Comment 4 Justin Zobel 2022-10-30 00:37:52 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 5 Dan 2022-11-09 20:21:10 UTC
(In reply to Justin Zobel from comment #4)
> If you can reproduce the issue, please change the status to "REPORTED" when
> replying. Thank you!

Yes, the issue is still present. Just verified with Kontact 5.15.3 (20.08.3).
Comment 6 mpeter.68m0y 2023-02-14 22:08:55 UTC
I also confirm that the issue is still present. I tried to add 2 online ICS calendars, but none of them gets synchronized.

Maybe the worst part is that KOrganizer (nor anything else) does not log anything (neither to stdout/err, nor to the system journal) about what is happening and what is the problem, even though one of the calendars had a serious problem with the path: it somehow placed the path of my home directory before the URL I inserted! And it didn't complain that this is invalid, or that the file does not exist, neither in the GUI, nor on stdout (when started from a terminal), nor in the system journal.

I have also installed `kdebugsettings`, and increased the debug output of everything to "Full Debug" using the "Enable All Debug" button, This way much more things are getting logged to stdout, but still no related message is printed when starting KOrganizer, nor when manually starting a calendar update from the context menu of any of the online ical calendars that I have added.

The 2 online ical calendars I tried to add can be downloaded very quickly with a web browser, and KOrnaizer can show them if I import the downloaded files, but this is not sufficient as the calendars regularly change.
They also work flawlessly on my Android phone, being synchronized by ICSx^5
Comment 7 mpeter.68m0y 2023-02-14 22:42:54 UTC
It seems newly added calendars are only synced if I close KOrganizer, kill all processes whose name contains "akonadi", and reopen KOrganizer.
If I want to add even more calendars, I have to repeat this again.
Not sure if it will be able to update the calendars without restarting akonadi.

After this manoeuvre, 1 of 2 of the newly added calendars got duplicated. The dupe has the name which I set as display name, and the original one has the name (akonadi_ical_resource_7) that was shown before restarting akonadi, however if I delete any one part of this duplicate, the pair of it will disappear too.