GNOME Bugzilla – Bug 606660
empathy hangs on import from pidgin
Last modified: 2010-02-23 11:55:09 UTC
Binary package hint: empathy Running empathy again (2.28.1.1-0ubuntu1), it offers me to import from Pidgin, so I try, but it just hangs, opening no window and installing no icon on the taskbar. I obtained the following backtrace: (gdb) where
+ Trace 220012
If I kill it and start it again, it doesn't even open the import dialog, but just hangs as above.
originally reported at: https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/480378
Could you upload your ~/.purple/accounts.xml file please so we could try to reproduce this issue? Don't forget to change the sensible information in this file before uploading.
Created attachment 154144 [details] Sanisited accounts.xml As requested.
Seems this file is wrong: /home/dev3/.purple/accounts.xml:528: parser error : Opening and ending tag mismatch: account line 525 and settings </settings> ^ /home/dev3/.purple/accounts.xml:534: parser error : Extra content at the end of the document <account> ^ I tried to import accounts from the assistant and the accounts dialog and Empathy didn't hang; it just didn't display any account to import.
Sorry, I must have made a mistake when editing out my personal data. I have done it again with xml_grep: xml_grep -v password .purple/accounts.xml |xml_grep -v name |xml_grep -v alias |xml_grep -v port|xml_grep -v setting|xml_grep -v userinfo|xml_grep -v proxy|grep -v "^[[:space:]]*$" > foo.xml (Since xml_grep leaves empty lines in the file, I removed those afterwards with grep just to make the result more readable.)
Created attachment 154201 [details] My accounts.xml with sensitive information removed I still have no idea if this file contains enough information to be useful in Pidgin. For example, I removed every "setting" element, as some of them contain personal information, but I may need to leave some.
Empathy still doesn't list any account but doesn't hang either. You shouldn't remove element from the XML files; rather you should replace your personnal data by "xxxx" or something like that.
I have now worked up an XSLT script to do this, and I attach the result. I'm still not sure if it works for you; let me know. In any case, I also attach the XSLT script; I hope it can be made useful for other users.
Created attachment 154339 [details] accounts.xml with private information obfuscated
Created attachment 154340 [details] XSLT script to obfuscate sensitive information in accounts.xml
I still can't reproduce :\
Maybe you could just manually change all your password and send the file to me in private?
Done.
I finally managed to reproduce this issue! That's actually a telepathy-mission-control bug. I opened http://bugs.freedesktop.org/show_bug.cgi?id=26714 Thanks a lot for your help.