Bug 376772 - Support progress for large ical files
Summary: Support progress for large ical files
Status: REPORTED
Alias: None
Product: frameworks-kcalendarcore
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 19:14 UTC by Michael Mol
Modified: 2019-05-15 02:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-7021-0.html (1.59 KB, text/html)
2017-02-22 00:07 UTC, Michael Mol
Details

Note You need to log in before you can comment on or make changes to this bug.
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