GNOME Bugzilla – Bug 626108
Defining XDG_DATA_DIRS prevents backends from being loaded
Last modified: 2010-08-05 13:43:53 UTC
+++ This bug was initially created as a clone of Bug #625815 +++ 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.
Created attachment 167191 [details] strace log
commit bd0f324e0e3e747842ccadea165439bf6b666a3f Author: Philip Withnall <philip.withnall@collabora.co.uk> Date: Thu Aug 5 14:42:22 2010 +0100 Warn if the MIME type of a potential backend couldn't be determined This prevents backends silently not being loaded if shared-mime-info wasn't installed. Closes: bgo#626108 folks/backend-store.vala | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-)