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 625815 - No contat showed in the contact list
No contat showed in the contact list
Status: RESOLVED FIXED
Product: folks
Classification: Platform
Component: Telepathy backend
git master
Other Linux
: Normal normal
: gnome-2.32
Assigned To: folks-maint
folks-maint
Depends on:
Blocks:
 
 
Reported: 2010-08-02 10:45 UTC by Guillaume Desmottes
Modified: 2010-08-05 13:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Empathy logs (56.19 KB, text/plain)
2010-08-02 10:45 UTC, Guillaume Desmottes
  Details
Handle connections which are ready as soon as they're connected (2.48 KB, patch)
2010-08-02 12:13 UTC, Philip Withnall
committed Details | Review
empathy logs (56.81 KB, text/plain)
2010-08-04 07:48 UTC, Guillaume Desmottes
  Details

Description Guillaume Desmottes 2010-08-02 10:45:38 UTC
Created attachment 166960 [details]
Empathy logs

Empathy master and folks 0.1.11: no contact appears in my contact list but my Jabber account is connected. Showing/hidding offline contacts doesn't change anything.
Comment 1 Philip Withnall 2010-08-02 12:13:55 UTC
Created attachment 166965 [details] [review]
Handle connections which are ready as soon as they're connected
Comment 2 Travis Reitter 2010-08-02 14:33:34 UTC
Applied in bae4f448fd91ac4fcf3a26ab3687da2b62080ade

Guillaume, could you please verify that this fixes your problem?
Comment 3 Guillaume Desmottes 2010-08-04 07:48:06 UTC
I upgraded to folks 0.1.12 which have this patch (I think) but still have the problem. Will attach empathy logs. How can I get debug output from folks? FOLKS_DEBUG=all didn't help.
Comment 4 Guillaume Desmottes 2010-08-04 07:48:32 UTC
Created attachment 167099 [details]
empathy logs
Comment 5 Philip Withnall 2010-08-05 12:11:57 UTC
FOLKS_DEBUG=all should definitely work with folks 0.1.12.
Comment 6 Guillaume Desmottes 2010-08-05 12:24:38 UTC
Right it does; but the only ouput I get is:

(empathy:7025): Core-DEBUG: Using built-in backend dir '/usr/lib/folks/11/backends' (override with environment variable FOLKS_BACKEND_DIR)
(empathy:7025): Core-DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/lib/folks/11/backends' ..
(empathy:7025): Core-DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/lib/folks/11/backends/telepathy' ..
(empathy:7025): Core-DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/lib/folks/11/backends'
(empathy:7025): Core-DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/lib/folks/11/backends/telepathy'
Comment 7 Philip Withnall 2010-08-05 12:41:42 UTC
That doesn't make any sense. At the very least, there should be debug output like the following saying that it loaded the Telepathy backend:

(empathy:18920): Core-DEBUG: backend-store.vala:105: New backend 'telepathy' available
(empathy:18920): Core-DEBUG: backend-store.vala:221: Loaded module source: '/opt/gnome2/build/lib/folks/11/backends/telepathy/libfolks-backend-telepathy.so'

You've got versioned backends, so your version of folks definitely has the code in it to spew loads of debug output for the Telepathy backend.
Comment 8 Guillaume Desmottes 2010-08-05 12:54:58 UTC
Oh I got it! My test user as this env variable defined:
XDG_DATA_DIRS=/home/cassidy/usr/share

When unsetting it, Folks actually find the TP backend:

(empathy:15519): Core-DEBUG: Using built-in backend dir '/usr/lib/folks/11/backends' (override with environment variable FOLKS_BACKEND_DIR)
(empathy:15519): Core-DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/lib/folks/11/backends' ..
(empathy:15519): Core-DEBUG: backend-store.vala:133: Searching for modules in folder '/usr/lib/folks/11/backends/telepathy' ..
(empathy:15519): Core-DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/lib/folks/11/backends'
(empathy:15519): Core-DEBUG: backend-store.vala:105: New backend 'telepathy' available
(empathy:15519): Core-DEBUG: backend-store.vala:221: Loaded module source: '/usr/lib/folks/11/backends/telepathy/libfolks-backend-telepathy.so'
(empathy:15519): Core-DEBUG: backend-store.vala:179: Finished searching for modules in folder '/usr/lib/folks/11/backends/telepathy'


But there is obivoulsy something wrong as having this var defined doesn't affect the paths displayed in the debug logs.
Comment 9 Philip Withnall 2010-08-05 13:36:37 UTC
Bug #626108 filed about the XDG_DATA_DIRS problem. That aside, the fix for the contacts not showing up apparently works, so this can be marked as fixed.