Bug 294174

Summary: Log viewer crashes when tp-logger is not installed
Product: [Frameworks and Libraries] telepathy Reporter: Martin Klapetek <mklapetek>
Component: log-viewerAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: afiestas, dvratil
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Klapetek 2012-02-15 18:52:25 UTC
It says

(process:22275): GLib-GIO-CRITICAL **: Settings schema 'org.freedesktop.Telepathy.Logger' is not installed

among other debug stuff and then segfaults. The viewer should check for tp-logger and warn/instruct the user about missing tp-logger.

Maybe even fire up package-kit/alike?
Comment 1 Alex Fiestas 2012-03-18 02:04:17 UTC
In my case I had tp-logger installed but I kept getting this crash. After installing empathy and its dependencies it worked, then I uninstalled all dependencies one by one trying to find which one was the culprit but I couldn't :/

Now I don't have empathy or any of its dependencies installed and logger is working.
Comment 2 Alex Fiestas 2012-03-18 02:17:19 UTC
Some more info, what I was missing due to a bug in archlinux packages was:
glib-compile-schemas usr/share/glib-2.0/schemas

Be sure that is executed once you install telepathy-logger
Comment 3 Daniel Vrátil 2012-07-13 17:42:42 UTC
GLib always crashes when GSettings schemas are not available. This is a packaging issue and it's up to distributions packagers to properly set dependencies on TelepathyLogger and TelepathyLoggerQt and ensure that GSettings schemas are compiled after installation.