KDEPIM 24.08: calendar directory resource not working

Martin Steigerwald martin at lichtvoll.de
Mon Oct 7 17:16:13 BST 2024


Hi Ingo. Hi.

Ingo Klöcker - 07.10.24, 13:37:50 MESZ:
> On Montag, 7. Oktober 2024 09:37:00 MESZ Martin Steigerwald wrote:
> > This is with KDEPIM 24.08 on Debian experimental, so here could be
> > some
> > packaging related issue, but as I do not even have a good clue about
> > the error messages I am getting, I thought I write here. Maybe
> > someone has any insight.
> > 
> > I configured calendar as calendar directory resource cause I felt it
> > would be more robust than writing all events to a single file.
> > 
> > But none of the events show in Korganizer.
> 
> [...]
> 
> > Anyone any idea? I would love to have my calendar and reminders
> > working
> > again.
> 
> Did you try to import the events? (Sorry, I haven't checked if that's
> even possible.)

It is. I did not really find a nice approach, but:

% ls -1 | xargs -n1 konsolekalendar --calendar 446 --import

worked good enough for me. It took more than one hour, partly likely due 
to >5000 times running konsolekalendar command :)

> On Montag, 7. Oktober 2024 10:44:44 MESZ Martin Steigerwald wrote:
> > I found that adding a new event works. So there is really something
> > odd
> > going on with parsing older events? I just compared briefly, the file
> > of an older event looks very much the same.
> 
> My completely uneducated guess is that Akonadi simply ignores any files
> in the directory that are not related to existing events in the
> database.

This could be it:

% akonadictl fsck
 1/19 Looking for collections not belonging to a valid resource...
 2/19 Checking collection tree consistency...
 3/19 Looking for items not belonging to a valid collection...
Found 5630 orphan items.
Moved orphan items to collection 456

However this could also be due to me removing the original ical dir 
resource and adding a new one with the same directory to see whether that 
works.

Reported as

Bug 494249 - Does not pick up existing files inside a calendar directory 
when switching database or adding the resource with an existing directory

https://bugs.kde.org/494249

as I think icaldir resource should behave the same as maildir or contacts 
resource.

Thanks,
-- 
Martin




More information about the kdepim-users mailing list