Bug 305711 - Error while loading calendar from localdir when freebusyurls file is present.
Summary: Error while loading calendar from localdir when freebusyurls file is present.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 12:24 UTC by Stanley Schade
Modified: 2017-01-07 22:11 UTC (History)
1 user (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 Stanley Schade 2012-08-24 12:24:19 UTC
version of korganizer and kontact: 4.4.11.1

Reproducible: Always

Steps to Reproduce:
1. Set up a calendar resource, type: localdir, directory: $HOME/.kde/share/apps/korganizer and set up a contacts resource (for me it is an akonadi-resource in $HOME/.local/share/contacts, maybe a different type will work as well).
2. Open Kontact and add a new contact with an email address. Close Kontact.
3. Open Kontact or Korganizer. If your calendar resource is not activated, try to activate it (using the calendar manager).
Actual Results:  
Error Message: "Error while loading Standard". (Standard is the name of my calendar resource). The resource cannot be activated in the calendar manager. This is due to the freebusyurls created in $HOME/.kde/share/apps/korganizer (see below).

Expected Results:  
Open the calendar, although there is a freebusyurls file or do not create such a file.

After adding a new contact with a email address in Kontakt, Korganizer could not load my calendar anymore. It reported "Error while loading Standard" where "Standard" is the name of my calendar. My calendar resource is a local directory, namely ~/.kde/share/apps/korganizer/ . I found out, that Kontact creates a freebusyurls file in this directory. KAddressbook does not create such a file.

$ cat freebusyurls 
[john@example.com]
url=

(john@example.com is the email address of the new contact I added.) If I remove this file, I can open my calendar again.

Workarounds:
 - Do not use Kontact to add new contacts (use KAddressbook instead) or
 - change the directory of your calendar resource.
 - If you cannot open your calendar, remove the freebusyurls file.

I also reported this bug at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669934 some time ago, but I found out that I should report it here.
Comment 1 Tim Folger 2013-05-08 20:29:55 UTC
I have the same problem: Korganizer won't retain calendar entries unless I delete the freebusyurls file from ~/.kde/share/apps/korganizer/ . Unfortunately the fressbusyurls file is recreated each time I start kde, so the calendar is useless. I'm using debian stable (wheezy) with the 4.4.11 version of Kontact. It's very disappointing to see such problems in a critical component of kde after so many releases. I did not have this problem when i was using debian squeeze. The problem started when I upgraded to wheezy--the new stable version of debian--a couple of days ago. I posted to the debian-kde lists; they suggested I also post here.
Comment 2 Denis Kurz 2016-09-24 18:45:01 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:11:27 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.