Bug 40740

Summary: Accounts are read from and written to different places
Product: Telepathy Reporter: Mantas Mikulėnas <grawity>
Component: mission-controlAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium CC: biru.ionut
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Mantas Mikulėnas 2011-09-09 09:40:33 UTC
In the GNOME 3.1 beta, adding new accounts via 'empathy-accounts' causes them to be stored in "~/.local/share/telepathy/mission-control/accounts-goa.cfg". However, upon login, accounts are being read from "~/.mission-control/accounts/accounts.cfg". This means all newly added accounts disappear.

Arch Linux, gnome-unstable:
- empathy 3.1.91-1
- gnome-online-accounts 3.1.90-1
- gnome-shell 3.1.91-1
- telepathy-mission-control 5.9.2-1
Comment 1 Guillaume Desmottes 2011-09-12 06:57:38 UTC
Humm accounts-goa.cfg is only supposed to be used with accounts created using GNOME online accounts, not empathy-accounts. Are you sure you created this account using empathy and not GOA in the control center?
Comment 2 Mantas Mikulėnas 2011-09-12 10:21:55 UTC
Quite sure. The only GOA account I have is for Google Talk (as Google is the only provider packaged by Arch). The rest -- "People nearby", Facebook XMPP, MSN Messenger -- I added using the `empathy-accounts` program. But all of them are in accounts-goa.cfg.
Comment 3 Mantas Mikulėnas 2011-09-12 10:23:59 UTC
My test:
01. Log out from GNOME.
02. Log in to console.
03. Ensure telepathy is not running, remove both configs
04. Log in to GNOME.
05. Run `empathy-accounts`, add a few accounts (Facebook, "Nearby", MSN)
    - "accounts.cfg" is empty, aside from the "# Telepathy accounts" comment.
    - "accounts-goa.cfg" has both my GOA account and everything I added via Empathy.
06. Log out from GNOME, then back in again.
07. Run `empathy-accounts` and check.
    - The accounts I added in step #05 remain in "accounts-goa.cfg", yet they are ignored by Empathy. Only the GOA account is listed by `empathy-accounts`.
08. Log out from GNOME.
09. Manually move a single account from "accounts-goa.cfg" to "accounts.cfg" using a text editor.
10. Log in to GNOME.
11. Run `empathy-accounts` and check.
    - The manually-moved account now appears in Empathy. The ones in "accounts-goa.cfg" are still ignored.
Comment 4 Guillaume Desmottes 2011-09-13 02:59:21 UTC
I managed to reproduce this issue, thanks for your very detailled info.

That's a bug in Empathy's GOA MC plugin so I forwarded this bug to https://bugzilla.gnome.org/show_bug.cgi?id=658895

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.