On Sunday 22 November 2009 20:29:02 Alan McKinnon wrote:
> On Sunday 22 November 2009 20:37:19 Mick wrote:
> > On Sunday 22 November 2009 17:28:24 Alan McKinnon wrote:
> > > On Sunday 22 November 2009 10:33:41 Mick wrote:

> > > > I have been trying to get
> > > > rid of akonadi in vane and have run out of flags to take
> > > > out.
> 
> > > You can't get rid of akonadi, at least not the server. It's a
> > > hard dependency of kdepimlibs. Currently, you can switch it
> > > off, but you can't avoid having it.
> >
> > I don't mean to hijack the OP's thread, but why would it be
> > that although I
> > have switched the darned thing off, it still keeps popping up
> > every time I start kmail?
> 
> Because you have akonadi backends configured in your KDE
> resources. Start systemsettings, it's on the advanced tab, delete
> the akonadi ones are replace them with native resources that go
> direct to the same files.

At long last!!!  I think I fixed this bloody nuisance!  :-D

As I mentioned sometime ago I have replaced all resources with native files 
stored in my ~/.kde4/share/apps, so this wasn't the problem.  This is the 
solution I came up with:

I edited my ~/.config/akonadi/akonadiserverrc and added QSQLITE for the 
driver's name under [%General].  This field was empty.  Until that moment the 
akonadiserverrc file only had a [QMYSQL] section - no other databases/drivers 
were present.  Restarting Kmail after the above change launched akonadi with 
its slow progress bar as always, but this time the KDE migrator managed to 
successfully register my native resource files for contacts, alarms, notes, 
etc.  Checking the akonadiserverrc file I found a new section for [QSQLITE] 
below the original [QMYSQL]:
===========================
[%General]
Driver=QSQLITE
SizeThreshold=4096
ExternalPayload=false

[QMYSQL]
StartServer=false
ServerPath=/usr/bin/sqlite3
Name=akonadi
Host=
User=
Password=
Options=

[QSQLITE]
Name=/home/michael/.local/share/akonadi/akonadi.db
User=
Password=
Options=
StartServer=false

[Debug]
Tracer=null
===========================

I haven't rebooted yet, but restarting kmail gives no more problems with 
akonadi.  Either akonadi does not run, or if it does it causes no more delays.  
I assume that the delays were occurring because akonadi was trying to migrate 
old resource data, but would not it seems be prepared to accept the sqlite 
driver.  Some gentle persuasion with the akonadiserverrc sqlite driver was all 
that was needed.  ;-)

I hope this helps others who like me do not need/want mysql just to run a few 
KDE applications.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to