Cable does not run when gsettings are invalid

Bug #1188686 reported by Auroral Xylon
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cable
Triaged
Critical
Julien Spautz

Bug Description

Latest branch of cable compiles successfully, but fails to run. This is the full error message:

[_LOG_LEVEL_INFO 17:41:16.140327] Application.vala:77: Cable version: 0.1
[_LOG_LEVEL_INFO 17:41:16.140468] Application.vala:79: Kernel version: 3.2.0-45-generic
[_LOG_LEVEL_DEBUG 17:41:16.142344] [Gtk] Connecting to session manager
[_LOG_LEVEL_DEBUG 17:41:16.168604] Settings.vala:158: Loading settings from schema 'org.pantheon.cable'
[_LOG_LEVEL_FATAL 17:41:16.169586] [GLib] g_variant_get_string: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH) || g_variant_is_of_type (value, G_VARIANT_TYPE_SIGNATURE)' failed
[_LOG_LEVEL_FATAL 17:41:16.169677] Cable will not function properly.
[_LOG_LEVEL_FATAL 17:41:16.169794] [GLib] g_variant_get_string: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_STRING) || g_variant_is_of_type (value, G_VARIANT_TYPE_OBJECT_PATH) || g_variant_is_of_type (value, G_VARIANT_TYPE_SIGNATURE)' failed
[_LOG_LEVEL_FATAL 17:41:16.169834] Cable will not function properly.

Any ideas?

Tags: important run

Related branches

Revision history for this message
Julien Spautz (julien-spautz) wrote :

I get the same terminal output, but cable runs nevertheless.

Changed in cable:
status: New → Incomplete
Revision history for this message
Julien Spautz (julien-spautz) wrote :

What revision are you using?

Changed in cable:
importance: Undecided → Critical
Revision history for this message
Julien Spautz (julien-spautz) wrote :

Resetting dconf key fixed this issue.

summary: - Cable does not run
+ Cable does not run when gsettings are invalid
Changed in cable:
status: Incomplete → Triaged
Changed in cable:
assignee: nobody → Julien Spautz (julien-spautz)
Revision history for this message
982c80311320c1b (alexander-wilms) wrote :

The dconf values seem to become corrupted during using Cable

Revision history for this message
982c80311320c1b (alexander-wilms) wrote :

You could try to detect invalid settings and reset them

Revision history for this message
982c80311320c1b (alexander-wilms) wrote :

An example how the dconf values look when Cable refuses to start:

channels: ['irc.freenode.net:alexanderW3:#elementary-de', 'irc.freenode.net:alexanderW:#elementary']

favorites: []
indentities: ['alexander:Alexander Wilms:Bye.', 'alexanderW3:alexanderW3:Auf Wiedersehen.', 'alexanderW:alexanderW:Auf Wiedersehen.']
networks: ['irc.freenode.net:Freenode:', 'irc.gimp.org:GimpNet:', 'irc.fu-berlin.de:IRCnet:', 'irc.quakenet.org:QuakeNet:', 'irc.efnet.nl:EFnet:', 'undernet.org:Undernet:', 'irc.rizon.net:Rizon:', 'c.ustream.tv:Ustream:']

Maybe the overlapping identitities are the cause

Changed in cable:
milestone: none → 0.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.