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 585777 - Empathy does not import from Pidgin on start
Empathy does not import from Pidgin on start
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: Accounts
2.26.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-14 19:59 UTC by Paul Cutler
Modified: 2009-06-20 16:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Paul Cutler 2009-06-14 19:59:22 UTC
On GNOME 2.26.1, I installed and ran Empathy for the first time.

Empathy on first start displayed the import dialog (along with the Contact and Account Windows) and showed 3 services I used in Pidgin for import.  (All 3 are the Jabber protocol for three different accounts / email addresses).  (That user experience of knowing I have Pidgin accounts is *awesome* - nice job!)

The Import column shows the checkbox enabled for each of the accounts, and I click "OK".  The Import window closes, and no accounts are listed in the Accounts window, leading me to believe the import has failed.

If I click "Import Accounts" again, it does show the 3 protocols, and nothing happens again on import.

When running Empathy from the terminal, and click "OK" the terminal does not show any errors.

I did a search for "import" in Empathy bugzilla, but did not see a bug matching this.
Comment 1 Germán Poo-Caamaño 2009-06-16 05:04:27 UTC
I can reproduce it using the packages available Ubuntu Jaunty.

.xsession does not show any clue.
Comment 2 Gabor Kelemen 2009-06-17 22:00:57 UTC
Something similar happened to me some time ago, but with IRC, and Jabber and MSN were imported successfully. The problem was, that I had not installed some telepathy-* package, which contained the IRC backend, after installing this, the import worked fine. Some warning dialog is missing here, I guess.
Comment 3 Jonny Lamb 2009-06-20 11:34:42 UTC
Did the accounts from pidgin have a password saved?

When empathy looks at your pidgin accounts, it takes all information and creates a mission control account with that information. However, if a password is not saved in pidgin then empathy clearly has no password to set on the new mission control account. At this point, mission control treats the account as "incomplete" and as a result does not appear in the account list in empathy. Unfortunately, in this situation, no error messages are given by mission control. You can also confirm that the account *does* actually exist -- see /apps/telepathy/mc/accounts/ in gconf.

If this is the problem, it's already fixed in master as of commit 48236b65f7ac33.

Therefore, could you please try again with empathy master?
Comment 4 Paul Cutler 2009-06-20 16:12:11 UTC
I built Empathy from git, as well as telepathy-glib 0.7.27 that it asked for.

On import, it does import the username and password, and shows in the account screens, so this looks to be fixed.

(I'm having a problem connecting, but I think I'm missing a telepathy package somewhere for Gtalk, or I just need to update all the telepathy packages if I had to guess)

Thanks!
Comment 5 Germán Poo-Caamaño 2009-06-20 16:28:51 UTC
(In reply to comment #3)
> Did the accounts from pidgin have a password saved?
>
> When empathy looks at your pidgin accounts, it takes all information and
> creates a mission control account with that information. However, if a password
> is not saved in pidgin then empathy clearly has no password to set on the new
> mission control account. At this point, mission control treats the account as
> "incomplete" and as a result does not appear in the account list in empathy.
> Unfortunately, in this situation, no error messages are given by mission
> control. You can also confirm that the account *does* actually exist -- see
> /apps/telepathy/mc/accounts/ in gconf.

When I tested it, I did not had the password saved (because they 
were stored in text plain by pidgin).

I tried saving the password and yes, it works.  It does not 
import the logs, but If I remember correctly it is documented.

> If this is the problem, it's already fixed in master as of commit
> 48236b65f7ac33.
> 
> Therefore, could you please try again with empathy master?

As I read from Paul's comment, it seems to work :-)
Comment 6 Jonny Lamb 2009-06-20 16:50:25 UTC
Okay, cool, so that's fixed in master (and perhaps 2.27.3 too).

Logs is a different issue: bug #579159