After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 625652 - Warnings at startup and disconnection
Warnings at startup and disconnection
Status: RESOLVED FIXED
Product: folks
Classification: Platform
Component: Telepathy backend
git master
Other Linux
: Normal minor
: gnome-2.32
Assigned To: folks-maint
folks-maint
: 626450 (view as bug list)
Depends on: 625837 625839
Blocks:
 
 
Reported: 2010-07-30 12:09 UTC by Felix Kaser
Modified: 2010-08-26 14:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felix Kaser 2010-07-30 12:09:21 UTC
there are some warnings and some debug output when starting empathy with libfolks

** (empathy:13122): DEBUG: Using built-in backend dir '/usr/local/lib/folks' (override with environment variable FOLKS_BACKEND_DIR)
[New Thread 0xb3160b70 (LWP 13124)]
[New Thread 0xb289fb70 (LWP 13125)]
** (empathy:13122): DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/local/lib/folks' ..
** (empathy:13122): DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/local/lib/folks/backends' ..
** (empathy:13122): DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/local/lib/folks'
** (empathy:13122): DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/local/lib/folks/backends/telepathy' ..
[Thread 0xb289fb70 (LWP 13125) exited]
** (empathy:13122): DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/local/lib/folks/backends'
** Message: backend-store.vala:105: New backend 'telepathy' available
** (empathy:13122): DEBUG: backend-store.vala:221: Loaded module source: '/usr/local/lib/folks/backends/telepathy/libfolks-backend-telepathy.so'
** (empathy:13122): DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/local/lib/folks/backends/telepathy'

** (empathy:13122): WARNING **: failed to ensure channel: 'stored' is not one of the valid handles


** (empathy:13122): WARNING **: tpf-persona-store.vala:797: failed to add channel 'stored': 'stored' is not one of the valid handles


** (empathy:13122): WARNING **: failed to ensure channel: 'stored' is not one of the valid handles


** (empathy:13122): WARNING **: tpf-persona-store.vala:797: failed to add channel 'stored': 'stored' is not one of the valid handles
Comment 1 Philip Withnall 2010-08-02 09:27:40 UTC
Mostly fixed by these three commits:

commit a5aca650b6cd425763cc9e2647877afe698b94d1
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Wed Jul 21 11:45:07 2010 +0100

    Use g_message() in tp-lowlevel rather than g_warning()
    
    Any of the tp-glib calls we make could routinely fail, so to stop gdb
    halting on every warning, change them to messages.

 backends/telepathy/tp-lowlevel.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

commit 496170b77bef2608ba6ecf409241b75c728dc8b9
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Wed Jul 21 11:27:03 2010 +0100

    Change a message() to a debug()

 folks/backend-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

commit bea343d2874cca4d553ae73dc7603a4c0aabc37b
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Tue Jun 29 15:18:54 2010 +0100

    Add debug flags support
    
    Debug flags for libfolks, controlling which debug domains spew messages, can
    be specified using the FOLKS_DEBUG environment variable, with a GLib-style
    debug flags string.
    
    The two initial debug domains are:
     * Core: everything in the folks directory
     * TelepathyBackend: everything in the backends/telepathy directory

 backends/telepathy/Makefile.am   |    1 +
 folks/Makefile.am                |    2 +
 folks/debug.vala                 |   54 ++++++++++++++++++++++++++++++++++++++
 folks/individual-aggregator.vala |    2 +
 4 files changed, 59 insertions(+), 0 deletions(-)
Comment 2 Philip Withnall 2010-08-02 09:32:18 UTC
The remaining warnings:

TelepathyBackend-Message: Failed to ensure channel: 'stored' is not one of the valid handles


(empathy:14064): TelepathyBackend-WARNING **: tpf-persona-store.vala:797: failed to add channel 'stored': 'stored' is not one of the valid handles
Comment 3 Philip Withnall 2010-08-02 13:02:42 UTC
Depends on bfo#29358.
Comment 4 Philip Withnall 2010-08-02 15:10:54 UTC
As a consequence of bfo#29358, we have several dependencies now.
Comment 5 Philip Withnall 2010-08-09 15:36:42 UTC
*** Bug 626450 has been marked as a duplicate of this bug. ***
Comment 6 Philip Withnall 2010-08-09 15:37:36 UTC
And this warning:

(empathy:20778): TelepathyBackend-WARNING **: tpf-persona.vala:239: Group
invalidated: User requested disconnection
Comment 7 Philip Withnall 2010-08-11 09:16:56 UTC
bfo#29358 has been fixed now, but we'll need to bump our tp-glib dependency to 0.11.13 to use the fix.
Comment 8 Travis Reitter 2010-08-18 22:46:57 UTC
(In reply to comment #6)
> And this warning:
> 
> (empathy:20778): TelepathyBackend-WARNING **: tpf-persona.vala:239: Group
> invalidated: User requested disconnection

This should be silent by default now. I've made it a debug message.

What, exactly, remains?
Comment 9 Philip Withnall 2010-08-18 23:15:00 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > And this warning:
> > 
> > (empathy:20778): TelepathyBackend-WARNING **: tpf-persona.vala:239: Group
> > invalidated: User requested disconnection
> 
> This should be silent by default now. I've made it a debug message.
> 
> What, exactly, remains?

Are the warnings in comment #2 fixed?
Comment 10 Philip Withnall 2010-08-26 14:23:56 UTC
Felix, are you still getting any of these warnings?
Comment 11 Felix Kaser 2010-08-26 14:28:42 UTC
nope...seems to be quite now!
Comment 12 Philip Withnall 2010-08-26 14:37:19 UTC
Resolving as fixed then!