Bug 30965 - connection to MySpace with an email address doesn't complete
Summary: connection to MySpace with an email address doesn't complete
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: haze (show other bugs)
Version: 0.4
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 08:41 UTC by jaggedmonkey
Modified: 2019-12-03 20:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of issue (15.03 KB, image/png)
2010-10-18 08:41 UTC, jaggedmonkey
Details
Haze logfile from Empathy (8.44 KB, text/plain)
2010-10-18 09:04 UTC, jaggedmonkey
Details

Description jaggedmonkey 2010-10-18 08:41:45 UTC
Created attachment 39508 [details]
Screenshot of issue

I'm using Ubuntu Desktop 10.10 and I've got Empathy 2.32.0 installed.  When I
attempt to add an account for MySpace, the connection to MySpace never
completes.  See these steps to reproduce:

1.  Open Empathy from Applications-Internet-Empathy Internet Messaging
2.  Select Accounts from the Edit Menu
3.  Click Add
4.  Under Protocol, select "myspace"
5.  Enter your myspace username in the Account field
6.  Enter your myspace password in the Password field
7.  Click Login
8.  Notice that Empathy attempts to connect to MySpace. It says "Connecting"
forever.

(This bug was originally reported against Empathy at https://bugzilla.gnome.org/show_bug.cgi?id=632384 An Empathy Developer believes that the root cause of this issue lies in the telepathy-haze component. The Empathy Developer believes that Telepathy-haze 0.4 is probably being used)
Comment 1 Simon McVittie 2010-10-18 08:53:00 UTC
Please get a Haze debug log showing an attempt to put this account online: you can get that by selecting Haze in Empathy's Help->Debug window, see <http://live.gnome.org/Empathy/Debugging> for more info. For best results, temporarily disable all your other Empathy accounts while getting the log.

It'd also be interesting to know whether you can connect to the same account with Pidgin (available from universe, I believe) - Pidgin and telepathy-haze both use libpurple.
Comment 2 jaggedmonkey 2010-10-18 09:04:14 UTC
Created attachment 39509 [details]
Haze logfile from Empathy
Comment 3 jaggedmonkey 2010-10-18 09:08:34 UTC
Pidgin reported that a username had not been created on my Myspace account.  It offered me the ability to create one.  I created one and Pidgin was able to connect to my MySpace account.  Then i quit Pidgin and quit Empathy.  Then I reopened Empathy and it was then able to connect to my Myspace account using my existing credentials (email address of MySpace account and password).

Based upon that information, it seems that Empathy was expecting a Myspace username to be present (as compared to just the email address for the Myspace account).  When the username wasn't present, no error message was displayed, as it was in Pidgin.

Is this a problem with Telepathy-haze, Empathy, or some other component?

Thanks for the help!
Comment 4 Simon McVittie 2010-10-19 03:42:58 UTC
(In reply to comment #3)
> Pidgin reported that a username had not been created on my Myspace account.  It
> offered me the ability to create one.

Right, that'd be the problem. libpurple is designed to implement a client that basically looks like Pidgin, so protocol plugins assume that it's OK to pop up random questions/messages/dialog boxes and wait for the user to answer them.

In the Haze log, we can see that libpurple tried to do so:

purple/msim_is_username_set-MESSAGE: 10/18/2010 10:55:03.806333: no username is set
purple/msim_is_username_set-MESSAGE: 10/18/2010 10:55:03.806390: 'username not set' alert prompted

However, telepathy-haze has no way to display these questions or do anything about them (because it's not actually in the same process as the user interface).

>  I created one and Pidgin was able to
> connect to my MySpace account.  Then i quit Pidgin and quit Empathy.  Then I
> reopened Empathy and it was then able to connect to my Myspace account using my
> existing credentials (email address of MySpace account and password).

As a workaround for this, we could try to make it clearer in the Empathy UI that you really do need to "create a username" (presumably you can also do this via the web?) before signing in to MySpace. Facebook Chat via XMPP has a similar issue, except that in Facebook, you can *only* "create a username" via the web (to the best of my knowledge).
Comment 5 jaggedmonkey 2010-10-25 19:17:25 UTC
So is there anything else that I need to do?
Comment 6 GitLab Migration User 2019-12-03 20:07:11 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-haze/issues/44.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.