Bug 206282 - wml login failure - old account
Summary: wml login failure - old account
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: WLM Plugin (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 186032 208528 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-04 21:24 UTC by Harald
Modified: 2010-01-19 23:34 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kopetelog.txt (595 bytes, text/plain)
2010-01-17 15:30 UTC, Claus Appel
Details
Debug output from kopete when trying to connect to msn (24.54 KB, text/plain)
2010-01-17 17:27 UTC, J.O. Aho
Details
libmsn fixes (4.10 KB, patch)
2010-01-19 18:14 UTC, Roman Jarosz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harald 2009-09-04 21:24:31 UTC
Version:           Version 0.70.90 Using KDE 4.3.1 (using Devel)
OS:                Linux
Installed from:    Compiled sources

When I try to login using WML, I get the following error:

MSN: Error: basic_string::_S_construct NULL not valid

Other info:

I have two live accounts. One old hotmail and one newly created live account. I can login with the new one, but not the old one.

During a google search, some one suggested that changing the password length might be the problem. I have tried and changing it but the problem is still there.

No other client have this problem with my old account. Pidgin is able to log in, aMSN as well, and of course the original Windows software has no problem.
Comment 1 Nicolas Levy 2009-10-01 06:38:38 UTC
I have the same problem
Comment 2 Roman Jarosz 2010-01-17 11:28:25 UTC
*** Bug 208528 has been marked as a duplicate of this bug. ***
Comment 3 Roman Jarosz 2010-01-17 11:28:45 UTC
*** Bug 186032 has been marked as a duplicate of this bug. ***
Comment 4 Claus Appel 2010-01-17 13:34:57 UTC
I am the reporter for Bug 186032. I just want to remark that I still have the problem in Kopete 0.80.2 (KDE 4.3.2, Kubuntu 9.10). It only happens with one particular WLM account, though. I have another WLM account that I can log into just fine.
Comment 5 Roman Jarosz 2010-01-17 14:11:08 UTC
Could you compile libmsn and send the console log to my mail?
The instruction are (you will have to install subversion, cmake and gcc):

svn co https://libmsn.svn.sourceforge.net/svnroot/libmsn/trunk libmsn
mkdir libmsn-build
cd libmsn-build
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Debug -DENABLE_DEBUG=true ../libmsn/
make -j2
sudo make install

to capture the log use
kopete --nofork &>kopetelog.txt
this will create kopetelog.txt in current directory
Comment 6 Claus Appel 2010-01-17 15:30:34 UTC
Created attachment 39976 [details]
kopetelog.txt

Sure. Here is a kopetelog.txt.
Comment 7 Roman Jarosz 2010-01-17 16:18:19 UTC
There's no wlm debug, please check that in /usr/lib* you have libmsn.so which points to libmsn.so.0.3.0 and that you don't have any other version in /usr/lib*
Comment 8 Claus Appel 2010-01-17 16:23:43 UTC
I have the following in my /usr/lib. What should I do to get rid of the unwanted ones? Just delete them?

ore@ore-desktop:/tmp/kopete/libmsn-build$ ls -l /usr/lib/libmsn*
lrwxrwxrwx 1 root root      13 2010-01-17 15:18 /usr/lib/libmsn.so -> libmsn.so.0.3
lrwxrwxrwx 1 root root      15 2009-12-22 14:10 /usr/lib/libmsn.so.0.1 -> libmsn.so.0.1.0
-rw-r--r-- 1 root root  679524 2009-06-25 09:13 /usr/lib/libmsn.so.0.1.0
lrwxrwxrwx 1 root root      15 2010-01-17 15:18 /usr/lib/libmsn.so.0.3 -> libmsn.so.0.3.0
-rw-r--r-- 1 root root 3849124 2010-01-17 15:18 /usr/lib/libmsn.so.0.3.0
ore@ore-desktop:/tmp/kopete/libmsn-build$
Comment 9 Roman Jarosz 2010-01-17 16:29:49 UTC
Hm this will not work :( Remove the 0.3* files and backup the 0.1* files then download http://downloads.sourceforge.net/project/libmsn/libmsn/4.0%20beta%208/libmsn-4.0-beta8.tar.bz2?use_mirror=ovh and unpack it to clean libmsn directory 

mkdir libmsn-build
cd libmsn-build
cmake -DCMAKE_INSTALL_PREFIX=/usr/ -DCMAKE_BUILD_TYPE=Debug -DENABLE_DEBUG=true
../libmsn/
make -j2
sudo make install
Comment 10 Roman Jarosz 2010-01-17 16:31:32 UTC
If Kopete starts to crash you may have to try http://downloads.sourceforge.net/project/libmsn/libmsn/4.0%20beta%206/libmsn-4.0-beta6.tar.bz2?use_mirror=garr
Comment 11 Claus Appel 2010-01-17 16:50:39 UTC
I tried the steps you explained in Comment #9. Installation seems to regenerate libmsn.so.0.1, but not 0.3. Also, it caused Kopete to crash immediately on startup. 

I then tried what you said in Commen #10. Now Kopete no longer crashes, but the installation has once more regenerated libmsn.so.0.1. My kopetelog.txt does not look much better: 

ore@ore-desktop:/big/Linux/libmsn-build$ more kopetelog.txt
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Unknown signature value:  0
Comment 12 Roman Jarosz 2010-01-17 17:07:41 UTC
Sorry there isn't debug switch in beta6 ... please use http://kedge.wz.cz/kopete/libmsn-4.0-beta6.tar.bz2 this should finally work ... sorry for the mistakes.
Comment 13 Claus Appel 2010-01-17 17:19:25 UTC
Thanks. Here comes a new log file (too big to upload here): 

http://rapidshare.com/files/336767655/kopetelog.txt.html
Comment 14 J.O. Aho 2010-01-17 17:27:07 UTC
Created attachment 39979 [details]
Debug output from kopete when trying to connect to msn

Here is my debug log when trying to connect to msn with kopete, using the libmsn with debug enabled.

I have changed my actual login and password in the output, as I don't want someone else to take over my account. I hope that extra debug information makes it simpler to solve this bug.
Comment 15 Roman Jarosz 2010-01-17 21:50:04 UTC
Could you try the http://kedge.wz.cz/kopete/libmsn-4.0-beta6_1.tar.bz2 if you will see in console
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
reasonString1:Profile accrual is required

Claus: I couldn't download the file because the servers are busy and I don't have rapidshare account ... please send it to kedgedev (at) gmail.com
J.O. Aho if you are using different version then beta6 I can send you patch.
Comment 16 J.O. Aho 2010-01-18 07:44:39 UTC
I'm currently using beta6, but have ebuilds for beta8 and final 4.0, I'll compile with the new package as soon as I'm back from work and see what I get.
Comment 17 J.O. Aho 2010-01-18 19:00:19 UTC
So, compiled the patched libmsn and here is the result:

$ kopete --autoconnect usert@example.net
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
reasonString1:Profile accrual is required
MSN: Error: Profile accrual is required

So what is the next step?
Comment 18 Roman Jarosz 2010-01-18 19:10:25 UTC
J.O. Aho: great, please set birth year and country for that account (using http://login.live.com/) and it should work
Comment 19 J.O. Aho 2010-01-18 19:20:38 UTC
Thanks, that seems to work fine. I would give a suggestion to an improvement in kopete, tell the end user about the possible problem and how to fix it.

Thanks again for your great help.
Comment 20 Roman Jarosz 2010-01-19 18:14:52 UTC
Created attachment 40044 [details]
libmsn fixes

The patch should fix Claus Appel's login problems and also will print error message if login failed (for now only in console) J.O. Aho error.
Comment 21 Roman Jarosz 2010-01-19 23:34:50 UTC
Fix was committed into libmsn (will be in next libmsn version).