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 672586 - Inability to add a new Jabber contact
Inability to add a new Jabber contact
Status: RESOLVED DUPLICATE of bug 671714
Product: empathy
Classification: Core
Component: Contact List
3.3.x
Other All
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-21 19:48 UTC by Debarshi Ray
Modified: 2012-03-26 14:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Full dbus-monitor logs (18.56 KB, text/plain)
2012-03-21 19:48 UTC, Debarshi Ray
Details
Full dbus-monitor logs while adding cassidy's collabora account (75.28 KB, text/x-log)
2012-03-23 14:57 UTC, Debarshi Ray
Details
Empathy / folks logs while adding cassidy's collabora account (119.38 KB, text/x-log)
2012-03-23 14:58 UTC, Debarshi Ray
Details

Description Debarshi Ray 2012-03-21 19:48:15 UTC
Created attachment 210278 [details]
Full dbus-monitor logs

Using Empathy 3.3.92 an invite sent from Chat -> Add Contact does not reach the other party. However Empathy 3.3.92 can receive and show invites sent from Empathy 3.2.x and other Jabber clients.

If I am trying to add cosimo.cecchi@gmail.com, I get the following snippet in dbus-monitor:

error sender=:1.129 -> dest=:1.162 error_name=org.freedesktop.Telepathy.Error.InvalidHandle reply_serial=182
   string "JID cosimo.cecchi is invalid or has no node part"
Comment 1 Jonny Lamb 2012-03-21 20:32:20 UTC
This log is incomplete. It pretends that RequestHandles doesn't return which is kind of scary. I was given a fuller log: http://rishi.fedorapeople.org/empathy-add-contact.log

(In reply to comment #0)
> If I am trying to add cosimo.cecchi@gmail.com, I get the following snippet in
> dbus-monitor:
> 
> error sender=:1.129 -> dest=:1.162
> error_name=org.freedesktop.Telepathy.Error.InvalidHandle reply_serial=182
>    string "JID cosimo.cecchi is invalid or has no node part"

This is fine. Empathy tries to get the handle of the contact you've typed in as quickly as it can, so you probably typed "cosimo.cecchi", waited a bit, at which point Empathy looked it up.

On the fuller log, the handle for the JID is requested perfectly fine. I can see RequestHandles and GetContactAttributes being called about 1000 times each but no call to RequestSubscription so no wonder the other side doesn't receive a subscription request.

Apparently it works in 3.2 but not 3.3.* so this is probably a regression in porting to the ContactList Connection interface, no? Guillaume will know more than me.
Comment 2 Guillaume Desmottes 2012-03-22 10:19:43 UTC
I'm pretty sure that's because of bug #671714

Folks is still using the old contact list API (bouh!) so ContactList is probably not the problem here.

*** This bug has been marked as a duplicate of bug 671714 ***
Comment 3 Debarshi Ray 2012-03-23 14:56:02 UTC
This is still not working for me. I am running what should practically be folks master. I have got all non-released patches applied on 0.6.7:

[rishi@kolache ~]$ rpm --list -qp folks-0.6.7-2.fc17.src.rpm 
0004-core-Force-IndividualAggregator-quiescence-after-a-5.patch
0005-libsocialweb-Tidy-up-Swf.PersonaStore.prepare-to-ret.patch
0008-folks-Don-t-set-G_MESSAGES_DEBUG-unconditionally.patch
0009-Persona-make-sure-to-NULL-ify-the-individual-when-it.patch
0010-core-Don-t-modify-a-HashSet-while-iterating-over-it.patch
0013-telepathy-Handle-null-birthday-strings.patch
0014-eds-Tie-favourite-status-to-Starred-in-Android-group.patch
0015-core-Improve-quiescence-timeout.patch
0020-_add_persona_from_contact-always-return-the-persona.patch
0021-create_personas_from_contact_ids-always-return-all-t.patch
folks-0.6.7.tar.xz
folks.spec
[rishi@kolache ~]$

Here is the actual SRPM: http://rishi.fedorapeople.org/folks-0.6.7-2.fc17.src.rpm

Other packages:

[rishi@kolache ~]$ rpm -qa | grep telepathy
telepathy-glib-debuginfo-0.17.7-1.fc17.x86_64
telepathy-farstream-debuginfo-0.2.2-2.fc17.x86_64
telepathy-glib-0.17.7-1.fc17.x86_64
telepathy-mission-control-debuginfo-5.11.0-1.fc17.x86_64
telepathy-idle-0.1.11-2.fc17.x86_64
telepathy-glib-vala-0.17.7-1.fc17.x86_64
telepathy-gabble-0.15.4-1.fc17.x86_64
telepathy-filesystem-0.0.2-3.fc17.noarch
python-telepathy-0.15.19-4.fc17.noarch
telepathy-logger-0.2.12-3.fc17.x86_64
telepathy-butterfly-0.5.15-4.fc17.noarch
telepathy-glib-devel-0.17.7-1.fc17.x86_64
telepathy-mission-control-5.11.0-1.fc17.x86_64
telepathy-farstream-0.2.2-2.fc17.x86_64
telepathy-haze-0.5.0-2.fc17.x86_64
telepathy-salut-0.7.1-1.fc17.x86_64
telepathy-logger-debuginfo-0.2.12-3.fc17.x86_64
[rishi@kolache ~]$ rpm -q empathy
empathy-3.3.92-1.fc17.x86_64
[rishi@kolache ~]$
Comment 4 Debarshi Ray 2012-03-23 14:57:31 UTC
Created attachment 210433 [details]
Full dbus-monitor logs while adding cassidy's collabora account
Comment 5 Debarshi Ray 2012-03-23 14:58:10 UTC
Created attachment 210434 [details]
Empathy / folks logs while adding cassidy's collabora account
Comment 6 Debarshi Ray 2012-03-26 11:30:45 UTC
Another test:

+ Start dbus-monitor.
+ Start empathy.
+ Enable test00@lostca.se.
+ Try to add debarshi.ray.test00@jabber.org.
+ Disable test00@lostca.se.
+ Enable debarshi.ray.test00@jabber.org.
+ Check for pending invites. (None)
+ Disable debarshi.ray.test00@jabber.org
+ Quit empathy.
Comment 7 Debarshi Ray 2012-03-26 11:34:38 UTC
Logs: http://rishi.fedorapeople.org/gnome-672586/
Comment 8 Debarshi Ray 2012-03-26 14:05:09 UTC
It turns out that you need to use --enable-vala to regenerate the C files. Putting that in the Fedora package with the patches from master, fixes this.
Comment 9 Debarshi Ray 2012-03-26 14:06:08 UTC

*** This bug has been marked as a duplicate of bug 671714 ***