Web lists-archives.com

Re: [kde-linux] 'Fetch Error' on exit




Hi,

sorry for not responding :(

I was away on a business trip and forgot that this thread was still 
unconcluded.

The problem seems to be that the Akonadi server configuration says that it 
should be using a MySQL instance for its database needs.

Since you want SQLite instead you'll have to modify that. I am not sure if 
Gentoo has patched the sources to make that the defaut in case the config is 
missing or whether you have to change the driver key manually.

In case of the latter, open ~/.config/akonadi/akonadiserverrc and look for the 
section labelle [%General]

In it should be an entry like this:
Driver=QMYSQL

Change that to

Driver=QSQLITE3

Cheers,
Kevin


On Wednesday, 2012-02-22, Mark Knecht wrote:
> Hi,
>    This problem persists. Should I look for a KDE bug reporting place
> or something like that?
> 
> Thanks,
> Mark
> 
> On Wed, Feb 8, 2012 at 3:38 PM, Mark Knecht <markknecht@xxxxxxxxx> wrote:
> > On Wed, Feb 8, 2012 at 1:13 AM, Kevin Krammer <kevin.krammer@xxxxxx> 
wrote:
> >> On Tuesday, 2012-02-07, Mark Knecht wrote:
> >>> 1) Is anyone else seeing this?
> >>> 
> >>> 2) What sort of things do I need to clean up to get rid of this error?
> >>> 
> >>> 3) Is there some place where KDE logs messages about what it does all
> >>> day long?
> >> 
> >> Maybe you'll find something in $HOME/.xsession-errors
> >> 
> >> Cheers,
> >> Kevin
> >> 
> >> --
> >> Kevin Krammer, KDE developer, xdg-utils developer
> >> KDE user support, developer mentoring
> > 
> > Hi Kevin,
> >   OK, that's an interesting place to at least start looking.
> > Comparing two KDE machines here, both Gentoo and both running the
> > lastest Gentoo stable 4.7.4, on the failing machine here are some of
> > the first things I see different between the two .xsession-errors
> > files which seems to be possibly oriented toward not finding mysql
> > which indeed isn't on this system, but nether is it on the system that
> > doesn't have problems:
> > 
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "org.freedesktop.DBus.Error.ServiceUnknown - The name
> > org.kde.nepomuk.services.nepomukstorage was not provided by any
> > .service files"
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "QLocalSocket::connectToServer: Invalid name"
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "org.freedesktop.DBus.Error.ServiceUnknown - The name
> > org.kde.nepomuk.services.nepomukstorage was not provided by any
> > .service files"
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "QLocalSocket::connectToServer: Invalid name"
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "org.freedesktop.DBus.Error.ServiceUnknown - The name
> > org.kde.nepomuk.services.nepomukstorage was not provided by any
> > .service files"
> > "/usr/bin/kactivitymanagerd(4082)" Soprano:
> > "QLocalSocket::connectToServer: Invalid name"
> > plasma-desktop(4105)/libakonadi
> > Akonadi::AgentManagerPrivate::createDBusInterface: AgentManager failed
> > to get a valid AgentManager DBus interface. Error is: 1
> > "org.freedesktop.DBus.Error.NameHasNoOwner" "Could not get owner of
> > name 'org.freedesktop.Akonadi.Control': no such name"
> > plasma-desktop(4105)/libakonadi Akonadi::SessionPrivate::socketError:
> > Socket error occurred: "QLocalSocket::connectToServer: Connection
> > refused"
> > plasma-desktop(4105)/libakonadi Akonadi::SessionPrivate::socketError:
> > Socket error occurred: "QLocalSocket::connectToServer: Connection
> > refused"
> > Connecting to deprecated signal
> > QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
> > QGridLayoutEngine::addItem: Cell (0, 1) already taken
> > search paths:  ("/usr/local/bin", "/usr/bin", "/bin", "/opt/bin",
> > "/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3", "/usr/games/bin",
> > "/opt/vmware/bin", "/opt/cuda/bin", "/usr/sbin", "/usr/local/sbin",
> > "/usr/local/libexec", "/usr/libexec", "/opt/mysql/libexec",
> > "/opt/local/lib/mysql5/bin", "/opt/mysql/sbin")
> > Found mysql_install_db:  ""
> > Found mysqlcheck:  ""
> > Could not start database server!
> > executable: ""
> > arguments:
> > ("--defaults-file=/home/mark/.local/share/akonadi//mysql.conf",
> > "--datadir=/home/mark/.local/share/akonadi/db_data/",
> > "--socket=/home/mark/.local/share/akonadi/socket-c2stable/mysql.socket")
> > process error: "No such file or directory"
> > "[
> > 0: akonadiserver(_Z11akBacktracev+0x37) [0x44e3e7]
> > 1: akonadiserver() [0x44e7e2]
> > 2: /lib64/libc.so.6(+0x35b80) [0x7f466729fb80]
> > 3: /lib64/libc.so.6(gsignal+0x35) [0x7f466729fb05]
> > 4: /lib64/libc.so.6(abort+0x186) [0x7f46672a0f86]
> > 5: /usr/lib64/qt4/libQtCore.so.4(_Z17qt_message_output9QtMsgTypePKc+0x74)
> > [0x7f4668f5e9a4]
> > 6: akonadiserver(_ZN15FileDebugStream9writeDataEPKcx+0xab) [0x44ff4b]
> > 7: /usr/lib64/qt4/libQtCore.so.4(_ZN9QIODevice5writeEPKcx+0x77)
> > [0x7f4668fec1b7] 8: /usr/lib64/qt4/libQtCore.so.4(+0x1065a6)
> > [0x7f4668ff45a6]
> > 9: /usr/lib64/qt4/libQtCore.so.4(_ZN11QTextStreamD1Ev+0x3b)
> > [0x7f4668ffd46b] 10: akonadiserver(_ZN6QDebugD1Ev+0x4b) [0x44a23b]
> > 11: akonadiserver(_ZN13DbConfigMysql19startInternalServerEv+0x1127)
> > [0x4c94c7] 12:
> > akonadiserver(_ZN7Akonadi13AkonadiServer20startDatabaseProcessEv+0xd8)
> > [0x4503c8]
> > 13: akonadiserver(_ZN7Akonadi13AkonadiServerC1EP7QObject+0xc6) [0x4519d6]
> > 14: akonadiserver(_ZN7Akonadi13AkonadiServer8instanceEv+0x4a) [0x452eea]
> > 15: akonadiserver(main+0x21f) [0x44962f]
> > 16: /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f466728c09d]
> > 17: akonadiserver() [0x449319]
> > ]
> > "
> > 
> > 
> > There's a lot more like this in the file in case I didn't copy enough
> > and you need to see more.
> > 
> > Is this at least related to the problem or am I on the wrong track?
> > 
> > Also please note, along the lines to some of Duncan's comments about
> > all the stuff KDE provides, I don't really use kdepim, at least not
> > that I know of, and I don't use KDE Mail either. If that somehow makes
> > it easier to test potential solutions it won't actually cause me any
> > real problems here.
> > 
> > Thanks in advance,
> > Mark
> 
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

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

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.