https://bugs.kde.org/show_bug.cgi?id=462638

            Bug ID: 462638
           Summary: KOrganizer freezing when loading remote iCal file
    Classification: Applications
           Product: korganizer
           Version: 5.21.3
          Platform: Manjaro
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: import/export
          Assignee: kdepim-bugs@kde.org
          Reporter: matthieu.lauren...@proton.me
  Target Milestone: ---

SUMMARY
Hello,
I wanted to use KOrganizer to access the remote ical file my school gives for
my schedule.  (The software they use for giving us the schedule and that ical
file is Pronote if that matters).
I added the remote ical using the "iCal Calendar File" option, and soon after,
Korganizer froze. My terminal was filled with errors that all looked like
"org.kde.pim.calendarview: AgendaView::calendarIncidenceChanged() Invalid
agendaItem for incidence  "Cours-82409-19-20221204T163428Z-Index-Education",
and my system logs was filled with critical logs from akodani_ical_resource
that looked like "akonadi_ical_resource: Can't find incidence with uid 
"Cours-82173-20-20221204T163405Z-Index-Education" ; item.id() =  85323".
akodani_ical_resource also had debug logs saying "The hash has changed.", and
the logs seemed to loop, so i had to kill KOrganizer after around 5 minutes of
waiting as it just wouldn't unfreeze.

I tried to download the ical file locally and load it, and i still got the
"Invalid agendaItem for incidence" errors a few times, but this time it didn't
freeze and it loaded properly, so this seems to be an issue only with remote
iCals.
Maybe korganizer thinks the file keeps changing and so it keeps downloading it
over and over leading to a freeze, but i'm not well versed enough in how it
works to be sure.

STEPS TO REPRODUCE
1. Add a new remote iCal to KOrganizer. The "Read only" and "Enable file
monitoring" options don't change anything.
2. Restart the newly created callendar so it downloads the data.

OBSERVED RESULT
KOrganizer seems to get stuck in a loop and freezes. It also freezes in the
same way a bit after restarting it.

EXPECTED RESULT
KOrganizer handles the iCal file once and stops there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.8-1-MANJARO
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to