GNOME Bugzilla – Bug 617971
Empathy silently fails importing contacts from Pidgin
Last modified: 2011-08-29 10:12:28 UTC
(copied and pasted from the downstream bug report) "I open empathy and go to Edit > Accounts. It see I have ~/.purple and shows me my accounts and offers to import them from Pidgin. After import Edit > Accounts still shows the wizard shows no signs of failure, but when checking ~/.mission-control/accounts/accounts.cfg no accounts have been imported. At this point Edit > Accounts continuously brings up wizard/assistant." https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/550569 The package maintainer claims this is an upstream bug and asked for someone to file a bug with upstream Empathy, so here it is.
Could you please provide empathy logs when importing?
Created attachment 160791 [details] Empathy log while running Accounts Assistant
I followed the instructions listed at http://live.gnome.org/Empathy/Debugging and ran empathy as follows: EMPATHY_LOGFILE=/tmp/empathy.log EMPATHY_DEBUG=all empathy Once empathy launched, I reproduced the bug by going to "Accounts", clicking through "Forward" for "Yes, import my account details from Pidgin", clicking "Apply" with all of my accounts checked. This closes the Accounts Assistant, and when I reopen "Accounts", the Assistant starts right back up again.
Ok so you tried importing using the assistant and it failes. Unfortunatelly the logs don't say much about the problem. Could you try to do the following please: - In the assistant adds a fake jabber account and then terminates the assistant. - Now when you choose "accounts" you have the accounts dialog rather than the assistant - Try to import from there. thanks!
Yes, this works. Importing the accounts from the actual accounts dialog seems to work just fine.
Ok, so that's an assistant specific issue. Thanks.
This bug only appears when there is already a salut account configured. Probably because the assistant is exited right away and doesn't have time to create the imported accounts.
Created attachment 161938 [details] [review] http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/import-617971 src/empathy-account-assistant.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Actually it was much simpler. Thanks GtkAssistant...
Felix: could you take a look on this branch please?
Review of attachment 161938 [details] [review]: looks good, one thing I mentioned: when I don't have the "save password" flag in pidgin, the import works but the account is disabled and thus shows no error in the main window. I had to open accounts-dialog and enter the password. Maybe there is a better way to notify the user that some accounts have been imported without password? but that belongs to a new bug report :)
Thanks, merged to 2.30 and master. Indeed that's another issue. Hopefully once MC will be able to have accounts without password and Empathy will have UI to ask the password when connecting it should be fine. This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.