Bug 376772

Summary: Support progress for large ical files
Product: [Frameworks and Libraries] frameworks-kcalendarcore Reporter: Michael Mol <mikemol>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: aspotashev, joh82875, winter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: attachment-7021-0.html

Description Michael Mol 2017-02-21 19:14:04 UTC
I have an ical file that weighs in at 1,522,206 lines, 667,649 words, 85,057,057 bytes. It takes ages to import into Kontact 5.2.3 on my laptop. In fact, I'm not sure how long it takes; I let it run overnight, and it didn't complete on that machine. I had to xkill Kontact and refresh the calendar. I'm seeing both baloo_file_extractor and kontact each pegging a core.

Despite this, I had no progress indication available from Kontact while it was refreshing the calendar. My IMAP inboxes, I see update information for, but not this calendar.

It would be supremely helpful to have an idea of its progress.
Comment 1 Allen Winter 2017-02-21 19:19:30 UTC
this sounds like a problem in the libical library.
any chance you could send me a sanitized version? or in private?
Comment 2 Michael Mol 2017-02-22 00:07:30 UTC
Created attachment 104159 [details]
attachment-7021-0.html

Sure. Since I generated the file, I can almost certainly generate a lorem
ipsum version to reproduce.

On Tue, Feb 21, 2017, 2:19 PM Allen Winter <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=376772
>
> Allen Winter <winter@kde.org> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |winter@kde.org
>
> --- Comment #1 from Allen Winter <winter@kde.org> ---
> this sounds like a problem in the libical library.
> any chance you could send me a sanitized version? or in private?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Allen Winter 2017-02-22 13:40:30 UTC
could you validate the file first?
there are a couple online validators, for example https://icalendar.org/validator.html