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 617971 - Empathy silently fails importing contacts from Pidgin
Empathy silently fails importing contacts from Pidgin
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Accounts
2.30.x
Other Linux
: Normal major
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-06 21:44 UTC by Adar Dembo
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Empathy log while running Accounts Assistant (94.57 KB, application/octet-stream)
2010-05-10 23:26 UTC, Adar Dembo
  Details
http://git.collabora.co.uk/?p=user/cassidy/empathy;a=shortlog;h=refs/heads/import-617971 (463 bytes, patch)
2010-05-25 12:48 UTC, Guillaume Desmottes
accepted-commit_now Details | Review

Description Adar Dembo 2010-05-06 21:44:33 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.
Comment 1 Guillaume Desmottes 2010-05-10 12:37:38 UTC
Could you please provide empathy logs when importing?
Comment 2 Adar Dembo 2010-05-10 23:26:48 UTC
Created attachment 160791 [details]
Empathy log while running Accounts Assistant
Comment 3 Adar Dembo 2010-05-10 23:26:57 UTC
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.
Comment 4 Guillaume Desmottes 2010-05-11 09:50:08 UTC
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!
Comment 5 Adar Dembo 2010-05-12 23:40:47 UTC
Yes, this works. Importing the accounts from the actual accounts dialog seems to work just fine.
Comment 6 Guillaume Desmottes 2010-05-17 14:11:38 UTC
Ok, so that's an assistant specific issue. Thanks.
Comment 7 Guillaume Desmottes 2010-05-21 14:23:58 UTC
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.
Comment 8 Guillaume Desmottes 2010-05-25 12:48:28 UTC
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(-)
Comment 9 Guillaume Desmottes 2010-05-25 12:48:59 UTC
Actually it was much simpler. Thanks GtkAssistant...
Comment 10 Guillaume Desmottes 2010-05-25 12:50:24 UTC
Felix: could you take a look on this branch please?
Comment 11 Felix Kaser 2010-05-27 16:02:08 UTC
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 :)
Comment 12 Guillaume Desmottes 2010-05-28 07:12:01 UTC
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.