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 591381 - Yahoo! Instant Messenger accounts do not work
Yahoo! Instant Messenger accounts do not work
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: Accounts
2.27.x
Other Linux
: High critical
: ---
Assigned To: empathy-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-10 22:10 UTC by Christopher Aillon
Modified: 2009-08-14 12:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
haze.log (159.90 KB, text/plain)
2009-08-11 17:03 UTC, Christopher Aillon
  Details
Remove Yahoo Japan options from haze.manager (1.15 KB, patch)
2009-08-12 23:50 UTC, Will Thompson
committed Details | Review

Description Christopher Aillon 2009-08-10 22:10:15 UTC
Using 2.27.5, On connection to a Yahoo account, empathy just says "Network error".  There is nothing useful in stderr or the debug console.

Possibly related to the Yahoo protocol change a few weeks ago.

Downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=514998
Comment 1 Jonny Lamb 2009-08-11 08:45:56 UTC
Please get a debug log from telepathy-haze which is where the problem is. You can read more about debugging Telepathy at http://live.gnome.org/Empathy
Comment 2 Christopher Aillon 2009-08-11 17:03:28 UTC
Created attachment 140464 [details]
haze.log
Comment 3 Christopher Aillon 2009-08-11 17:05:47 UTC
Log attached, account names changed though.
Comment 4 Will Thompson 2009-08-11 17:16:43 UTC
(haze:2310): haze-DEBUG: init_libpurple: libpurple 2.6.0 loaded (compiled against 2.6.0)

Cool, RedHat is shipping an unreleased snapshot of libpurple 2.6.0? Can Pidgin connect? Perhaps the snapshot predates the protocol fix. (Empathy connects to Yahoo using telepathy-haze, a component based on libpurple.)

Your log doesn't show you attempting to connect to a Yahoo account. Please disable all your accounts, start Haze, and then enable a Yahoo account.

Comment 5 Christopher Aillon 2009-08-11 18:27:39 UTC
Um, this is using Fedora rawhide.  libpurple 2.6.0 is not released anywhere, by Fedora, or Red Hat.  Just like GNOME 2.28 is not released anywhere, nor is Fedora 12, but I'm still using dev snapshots of them, so we can weed out bugs before they get into releases.

Yes, pidgin connects just fine.

You're right, the log doesn't show anything related to yahoo.  If I disable all accounts, and then check yahoo, the entirety of the log is:

haze-Message: [info] stun: using server
(haze:2607): haze-DEBUG: init_libpurple: libpurple 2.6.0 loaded (compiled against 2.6.0)
(haze:2607): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x1ec04a0: org.freedesktop.DBus DBusGProxy is 0x1ec0510
(haze:2607): haze-DEBUG: get_protocols: Found protocols aim, gadugadu, groupwise, icq, irc, jabber, local-xmpp, msn, myspace, qq, sametime, silc, simple, yahoo, yahoojp, zephyr
(haze:2607): haze-DEBUG: haze_connection_manager_init: Initializing (HazeConnectionManager *)0x1ec2190
(haze:2607): tp-glib-DEBUG: started version 0.3.1 (telepathy-glib version 0.7.33)


But I am enabling the account and the empathy log shows:


(empathy:2612): empathy-DEBUG: status_icon_set_visibility: No enabled account, Showing account dialog
(empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName
(empathy:2612): empathy-DEBUG: empathy_geometry_save: Saving window geometry: name:main-window x:931, y:203, w:298, h:669
(empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Enable account Yahoo
(empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName
(empathy:2612): empathy-DEBUG: builder_get_file_valist: Loading file /usr/share/empathy/empathy-account-widget-yahoo.ui
** (empathy:2612): DEBUG: mc_account_get_param_string: Password found in keyring
** (empathy:2612): DEBUG: mc_account_get_param_string: Password found in keyring
(empathy:2612): empathy-DEBUG: account_widget_entry_focus_cb: Setting account to MyScreenName
(empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now enabled
(empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Disabled account Yahoo
(empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now disabled
(empathy:2612): empathy-DEBUG: accounts_dialog_enable_toggled_cb: Enable account Yahoo
(empathy:2612): empathy-DEBUG: enable_or_disable_account: Account Yahoo is now enabled
Comment 6 Will Thompson 2009-08-12 18:29:27 UTC
Sorry, I wasn't on the ball.

It really doesn't look like Empathy is requesting a connection from Haze. I wonder if it's not providing some connection parameters that it should be. Perhaps you could attach `dbus-monitor`'s output from trying to connect?
Comment 7 Christopher Aillon 2009-08-12 21:50:01 UTC
http://caillon.fedorapeople.org/empathy-dbus.txt
Comment 8 Will Thompson 2009-08-12 23:46:12 UTC
Aha:

error sender=:1.142 -> dest=:1.140 error_name=org.freedesktop.Telepathy.Error.InvalidArgument reply_serial=223
   string "unknown parameters provided: yahoojp serverjp xferjp-host"

In libpurple 2.6.0 the yahoo japan stuff has been turned into a separate protocol, rather than misc. options on the main yahoo prpl. MC4 always sets parameters to their default values even if they're not explicitly set, and only reads the .manager file, ignoring what the CM says its parameters are when it's running. Could you try applying the patch I'm about to attach to /usr/share/telepathy/managers/haze.manager, restarting Empathy and seeing if the problem still occurs?
Comment 9 Will Thompson 2009-08-12 23:50:48 UTC
Created attachment 140602 [details] [review]
Remove Yahoo Japan options from haze.manager
Comment 10 Christopher Aillon 2009-08-13 17:23:07 UTC
Comment on attachment 140602 [details] [review]
Remove Yahoo Japan options from haze.manager

Indeed, this patch works for me.
Comment 11 Will Thompson 2009-08-14 12:07:26 UTC
Okay, cool. I've committed that patch to haze master; you should probably get the Fedora maintainer to patch the package until I make a release. :)