Bug 294174 - Log viewer crashes when tp-logger is not installed
Summary: Log viewer crashes when tp-logger is not installed
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: log-viewer (show other bugs)
Version: git-latest
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 18:52 UTC by Martin Klapetek
Modified: 2012-07-13 17:42 UTC (History)
2 users (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 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.