Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to clean up Kontact calendar mess?

115 views
Skip to first unread message

D. R. Evans

unread,
Jan 2, 2014, 2:10:01 PM1/2/14
to
Running 64-bit wheezy.

I have been trying to import calendars and have ended up with a horrible mess,
and now Kontact won't let me delete (or add) calendars.

What files do I need to delete or edit in order to get back to a pristine
state (i.e., no calendars) so that I can start again?

Doc

--
Web: http://www.sff.net/people/N7DR

signature.asc

Stefan Kelemen

unread,
Jan 3, 2014, 3:00:02 AM1/3/14
to
Hi,
last time i have a simliar problem, i have deleted all the entrys in
~.local/share/akonadi/

but when you try it, pls make a backup

Best regards
Stefan

Am Donnerstag, 2. Januar 2014, 12:00:12 schrieb D. R. Evans:
> Running 64-bit wheezy.
>
> I have been trying to import calendars and have ended up with a horrible
> mess, and now Kontact won't let me delete (or add) calendars.
>
> What files do I need to delete or edit in order to get back to a pristine
> state (i.e., no calendars) so that I can start again?
>
> Doc



--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/4411052.T2ZPAVUpQV@dxka-c2c1319b7m

D. R. Evans

unread,
Jan 3, 2014, 10:00:01 AM1/3/14
to
Stefan Kelemen said the following at 01/03/2014 12:44 AM :
> Hi,
> last time i have a simliar problem, i have deleted all the entrys in
> ~.local/share/akonadi/
>
> but when you try it, pls make a backup
>

Thank you. I'll see if anyone has any other suggestions. If not, I'll try
that. (My hesitation is only because that will, I assume, cause everything
related to akonadi to disappear, and I'm hesitant to go through another
two-week period of indexing. It was mostly non-intrusive, but still I'd prefer
not to have to do it all again.)
signature.asc

Torsten Grote

unread,
Jan 3, 2014, 10:20:01 AM1/3/14
to
On Friday 03 January 2014 07:57:50 D. R. Evans wrote:
> My hesitation is only because that will, I assume, cause everything
> related to akonadi to disappear

Indeed and there might be other issues not related to akonadi on first sight
like local filter rules, mail folder settings, etc.

Kind Regards,
Torsten
signature.asc

Martin Steigerwald

unread,
Jan 6, 2014, 5:40:02 AM1/6/14
to
Am Donnerstag, 2. Januar 2014, 12:00:12 schrieb D. R. Evans:
> Running 64-bit wheezy.
>
> I have been trying to import calendars and have ended up with a horrible
> mess, and now Kontact won't let me delete (or add) calendars.
>
> What files do I need to delete or edit in order to get back to a pristine
> state (i.e., no calendars) so that I can start again?

I suggest trying to delete the resource from akonadiconsole

If that doesn´t work report the error you get. Also ~/.xsession-errors or
output on konsole if you start it from there.

If would try to fix the error.



If nothing else work, the following hack may work:

Look for akonadi_ical_resource files in ~/.kde/share/config

Before moving them away look in there for calender locations.

martin@merkaba:~/.kde/share/config> cat akonadi_ical_resource_0rc
[General]
Path[$e]=$HOME/.kde/share/apps/korganizer/std.ics


I would also move agent_config_akonadi_ical_resource* files from
~/.config/akonadi out of the way.

But still, all of this is an unclean hack IMHO. Do it only after akonadictl
stop

And then Akonadi has still hints / entries in database.


Ciao,
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
signature.asc

D. R. Evans

unread,
Jan 7, 2014, 1:30:02 PM1/7/14
to
Martin Steigerwald said the following at 01/05/2014 11:58 AM :
> Am Donnerstag, 2. Januar 2014, 12:00:12 schrieb D. R. Evans:
>> Running 64-bit wheezy.
>>
>> I have been trying to import calendars and have ended up with a horrible
>> mess, and now Kontact won't let me delete (or add) calendars.
>>
>> What files do I need to delete or edit in order to get back to a pristine
>> state (i.e., no calendars) so that I can start again?
>
> I suggest trying to delete the resource from akonadiconsole
>

OK, that seems to have worked (although akonadiconsole doesn't provide an
option to delete a "resource", only "agents"). Anyway, after deleting with
akonadiconsole two agents that seemed to be related to calendaring, Kontact no
longer reports any of the (four) calendars that were hopelessly broken.

So I think I can start afresh. BUT, how do I now add a calendar? I can't find
any way to do so from Kontact any more. And if I add a calendar from
akonadiconsole, it doesn't show up in Kontact.
signature.asc

Martin Steigerwald

unread,
Jan 7, 2014, 5:20:02 PM1/7/14
to
Should show up in Kontact.

Anyway go on the area where usually calenders are displayed in Korganizer /
Kontact and right click there to get to context menus. Should give same
dialogs as in Akonadiconsole tough.
signature.asc

Kevin Krammer

unread,
Jan 7, 2014, 6:10:02 PM1/7/14
to
On Tuesday, 2014-01-07, 11:24:40, D. R. Evans wrote:
> Martin Steigerwald said the following at 01/05/2014 11:58 AM :
> > Am Donnerstag, 2. Januar 2014, 12:00:12 schrieb D. R. Evans:
> >> Running 64-bit wheezy.
> >>
> >> I have been trying to import calendars and have ended up with a horrible
> >> mess, and now Kontact won't let me delete (or add) calendars.
> >>
> >> What files do I need to delete or edit in order to get back to a pristine
> >> state (i.e., no calendars) so that I can start again?
> >
> > I suggest trying to delete the resource from akonadiconsole
>
> OK, that seems to have worked (although akonadiconsole doesn't provide an
> option to delete a "resource", only "agents").

Resources are just specialized agents, i.e. agents that provide access to some
data backend.

If you click on a resource agent in Akonadiconsole, you see in its details at
the bottom that "Resource" is one of its capabilities.

Just as a side note, not really relevant to the thread, sorry :)

Cheers,
Kevin
signature.asc

D. R. Evans

unread,
Jan 8, 2014, 1:40:02 PM1/8/14
to
Martin Steigerwald said the following at 01/07/2014 03:09 PM :

>>
>> So I think I can start afresh. BUT, how do I now add a calendar? I can't
>> find any way to do so from Kontact any more. And if I add a calendar from
>> akonadiconsole, it doesn't show up in Kontact.
>
> Should show up in Kontact.
>
> Anyway go on the area where usually calenders are displayed in Korganizer /
> Kontact and right click there to get to context menus. Should give same
> dialogs as in Akonadiconsole tough.
>

Yes, that's the behaviour I expected. But, unfortunately, it's not what's
happening. I can't find anywhere on the Kontact calendar screen that I can now
right-click and create a menu that allows me to add a calendar. And
(bizarrely, from a human-interface point of view), there doesn't seem to be
any menu item for creating new calendars. At least, if there is such an item,
I haven't been able to find it.

So Kontact doesn't seem to know about any calendars and is currently
displaying just an en empty calendar on the screen. This despite my having
explicitly added a calendar agent with akonadiconsole. akonadiconsole lists
the agent (akonadi_ical_resource_6) and marks it as "Ready", but Kontact seems
to be oblivious to its existence and availability :-(
signature.asc

D. R. Evans

unread,
Jan 8, 2014, 1:50:02 PM1/8/14
to
Kevin Krammer said the following at 01/07/2014 04:04 PM :

>
> Resources are just specialized agents, i.e. agents that provide access to some
> data backend.
>
> If you click on a resource agent in Akonadiconsole, you see in its details at
> the bottom that "Resource" is one of its capabilities.
>
> Just as a side note, not really relevant to the thread, sorry :)

Thank you :-)
signature.asc

Kevin Krammer

unread,
Jan 9, 2014, 8:40:02 AM1/9/14
to
On Wednesday, 2014-01-08, 11:37:51, D. R. Evans wrote:
> Martin Steigerwald said the following at 01/07/2014 03:09 PM :
> >> So I think I can start afresh. BUT, how do I now add a calendar? I can't
> >> find any way to do so from Kontact any more. And if I add a calendar from
> >> akonadiconsole, it doesn't show up in Kontact.
> >
> > Should show up in Kontact.
> >
> > Anyway go on the area where usually calenders are displayed in Korganizer
> > /
> > Kontact and right click there to get to context menus. Should give same
> > dialogs as in Akonadiconsole tough.
>
> Yes, that's the behaviour I expected. But, unfortunately, it's not what's
> happening. I can't find anywhere on the Kontact calendar screen that I can
> now right-click and create a menu that allows me to add a calendar. And
> (bizarrely, from a human-interface point of view), there doesn't seem to be
> any menu item for creating new calendars. At least, if there is such an
> item, I haven't been able to find it.

There should be a calendar folder tree view in the bottom left corner.
If you don't have that check if it may be collapsed, i.e. if there is a
splitter drag handle at the bottom with the calendar folder tree view hidden
beneath.

Cheers,
Kevin
signature.asc

D. R. Evans

unread,
Jan 14, 2014, 5:30:01 PM1/14/14
to
Kevin Krammer said the following at 01/09/2014 06:29 AM :

>
> There should be a calendar folder tree view in the bottom left corner.
> If you don't have that check if it may be collapsed, i.e. if there is a
> splitter drag handle at the bottom with the calendar folder tree view hidden
> beneath.
>

Man! That was invisible! There was indeed a splitter down there, detectable
only by the way that the cursor changed when I moved it around at the bottom
of the screen. Thank you very much!

Now to go see if I can get calendars to work properly at last :-)
signature.asc

D. R. Evans

unread,
Jan 15, 2014, 3:10:01 PM1/15/14
to
D. R. Evans said the following at 01/14/2014 03:21 PM :

>
> Now to go see if I can get calendars to work properly at last :-)
>

Well, I managed to get one calendar working OK. But there still seems to be
something screwy :-(

Although I can create and use a calendar inside Kontact, once I have done so,
any attempt to edit it (Kontact seems to use "edit" not to mean "edit the
calendar file" but, rather, "edit the settings for this calendar") produces an
error:
cannot edit the calendar folder akonadi_ical_resource_8

If I try to find this "folder" (which I understand is what KDE calls a
directory) using "find" fails to find it:
[HN:~] find . -name akonadi_ical_resource_8
[HN:~]

Similarly, trying to delete a calendar produces:
You cannot remove your standard calendar

This all looks like some kind of permissions problem, although I don't
understand how that can be, since I've been careful to add and use calendars
only as a normal user, and the permissions are certainly correct on the actual
underlying calendar ical files.

Is there somewhere a decent description of the relationship between calendar
"folders" -- such as the akonadi_ical_resource_8 folder mentioned above -- the
contents of such folders, and the actual calendar file? It all looks very
fragile to me, but maybe that's just because I don't understand the correct
relationship and things are still somehow incorrect on my system.
signature.asc

john Culleton

unread,
Jan 27, 2014, 6:40:02 PM1/27/14
to
I would consider using a different tool for
calendar creating and update. I use a template
from Scribus for calendaring.

In general if there is an alternative to a KDE
program to do a task I use the alternative.
The main fault with KDE ops is that they are
overly integrated. I use one program for
email, another for maintaining my calendar,
and my own creation (TeX based) for addressing
envelopes.

--
There are a few exceptions, but very few. I use
Okular because installing Acroread gets harder
all the time. But I use Claws Mail for email and
Libre Office for most other "Office" functions.


--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20140127182...@localb.wexfordpress.net

Alex DEKKER

unread,
Jan 28, 2014, 5:30:02 PM1/28/14
to
On 27/01/14 23:22, john Culleton wrote:
> In general if there is an alternative to a KDE
> program to do a task I use the alternative.
> The main fault with KDE ops is that they are
> overly integrated.

That is pretty much the point of KDE - code reuse and integration.

Are you aware that you're posting to the Debian KDE list, not just a
general Debian list?

alexd


--
To UNSUBSCRIBE, email to debian-kd...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/52E820DF...@ale.cx
0 new messages