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 606660 - empathy hangs on import from pidgin
empathy hangs on import from pidgin
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: Accounts
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-11 19:14 UTC by Reuben Thomas
Modified: 2010-02-23 11:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sanisited accounts.xml (37.45 KB, text/plain)
2010-02-18 15:28 UTC, Reuben Thomas
Details
My accounts.xml with sensitive information removed (10.11 KB, text/xml)
2010-02-19 12:43 UTC, Reuben Thomas
Details
accounts.xml with private information obfuscated (28.08 KB, text/xml)
2010-02-21 19:21 UTC, Reuben Thomas
Details
XSLT script to obfuscate sensitive information in accounts.xml (668 bytes, application/xml)
2010-02-21 19:23 UTC, Reuben Thomas
Details

Description Reuben Thomas 2010-01-11 19:14:51 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
  • #0 __kernel_vsyscall
  • #1 *__GI___poll
    at ../sysdeps/unix/sysv/linux/poll.c line 83
  • #2 IA__g_poll
    at /build/buildd/glib2.0-2.22.2/glib/gpoll.c line 127
  • #3 g_main_context_poll
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c line 2904
  • #4 g_main_context_iterate
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c line 2586
  • #5 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.22.2/glib/gmain.c line 2799
  • #6 IA__gtk_main
    at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c line 1218
  • #7 ??
  • #8 __libc_start_main
    at libc-start.c line 220
  • #9 ??

If I kill it and start it again, it doesn't even open the import dialog,
but just hangs as above.
Comment 1 Omer Akram 2010-01-12 02:12:32 UTC
originally reported at: https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/480378
Comment 2 Guillaume Desmottes 2010-02-16 16:08:05 UTC
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.
Comment 3 Reuben Thomas 2010-02-18 15:28:09 UTC
Created attachment 154144 [details]
Sanisited accounts.xml

As requested.
Comment 4 Guillaume Desmottes 2010-02-19 10:35:10 UTC
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.
Comment 5 Reuben Thomas 2010-02-19 12:41:38 UTC
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.)
Comment 6 Reuben Thomas 2010-02-19 12:43:09 UTC
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.
Comment 7 Guillaume Desmottes 2010-02-19 16:27:03 UTC
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.
Comment 8 Reuben Thomas 2010-02-21 19:20:51 UTC
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.
Comment 9 Reuben Thomas 2010-02-21 19:21:35 UTC
Created attachment 154339 [details]
accounts.xml with private information obfuscated
Comment 10 Reuben Thomas 2010-02-21 19:23:53 UTC
Created attachment 154340 [details]
XSLT script to obfuscate sensitive information in accounts.xml
Comment 11 Guillaume Desmottes 2010-02-22 13:43:31 UTC
I still can't reproduce :\
Comment 12 Guillaume Desmottes 2010-02-22 13:45:49 UTC
Maybe you could just manually change all your password and send the file to me in private?
Comment 13 Reuben Thomas 2010-02-22 22:06:46 UTC
Done.
Comment 14 Guillaume Desmottes 2010-02-23 11:55:09 UTC
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.