Closed GoogleCodeExporter closed 9 years ago
Hi,
Please try r1300. Actually, we need a tester for mono.
Original comment by hepha...@gmail.com
on 6 Oct 2009 at 6:58
which debian release you are using? also mono version please. So I can test it
with your specific version.
Original comment by myhu...@gmail.com
on 6 Oct 2009 at 6:13
In debian lenny with mono package in lenny, I tried to run the example
application, I
got Authentication Failed. In fact the account is working fine. Following are
some
logs from the trace window.
NSMessageProcessor: Connected
NSMessageProcessor: Dispatching incoming NS command: VER 1 MSNP18
NSMessageProcessor: Dispatching incoming NS command: CVR 2 14.0.8089 14.0.8089
14.0.8050
http://msgr.dlservice.microsoft.com/download/0/9/7/0974F7CD-D082-46FE-922D-80667
0345793/fr/wlsetup-cvr.exe
http://download.live.com/?sku=messenger
NSMessageProcessor: Dispatching incoming NS command: XFR 3 NS 64.4.34.104:1863
U D
NSMessageProcessor: Disconnected
NSMessageProcessor: Connected
NSMessageProcessor: Dispatching incoming NS command: VER 1 MSNP18
NSMessageProcessor: Dispatching incoming NS command: CVR 2 14.0.8089 14.0.8089
14.0.8050
http://msgr.dlservice.microsoft.com/download/0/9/7/0974F7CD-D082-46FE-922D-80667
0345793/fr/wlsetup-cvr.exe
http://download.live.com/?sku=messenger
NSMessageProcessor: Dispatching incoming NS command: GCF 0 4698
<Policies><Policy type="SHIELDS"
checksum="EE5BEF435CFE1434E06C3CA6580555F2"><config>
<shield> <cli maj="7" min="0" minbld="0" maxbld="9999" deny="" /> </shield>
<block> <hashes> </hashes> <regexp> <imtext
value="cGhvdG8yMzRcLnppcA==" /> <imtext value="aW1nMDIxXC56aXA=" />
<imtext
value="dGFueWFiYWJlXC56aXA=" /> <imtext value="c3R1ZmZcLnppcA==" />
<imtext
value="Zm90b3NcLnppcA==" /> <imtext value="dHVmb3Rv" /> <imtext
value="Z2V0LW1lc3Nlbmdlcg==" /> <imtext value="Mm5udmM3" /> <imtext
value="YmxvY2tpbnJpbw==" /> <imtext value="bWVzc2FnaW5nLW5hbWVz" />
<imtext
value="cGljdHVyYTAwMg==" /> <imtext value="bWVzc2VuZ2VyLXNjYW4=" />
<imtext
value="c3VtbWVyMjAwOA==" /> <imtext
value="bWVzc2VuZ2VyZGVsZXRlY2hlY2tlcg==" />
<imtext value="cGhvdG9hbGJ1bTIwMDc=" /> <imtext
value="aW1hZ2UwMjlcLnppcA==" /> <imtext value="Zm90b183ODFcLnppcA==" />
<imtext value="Y2hpcnN0bWFzLTIwMDdcLnppcA==" /> <imtext
value="cGhvdG8yMDA3LTEyXC56aXA=" /> <imtext value="aW1nNS0yMDA3XC56aXA="
/>
<imtext value="bXlwaWN0dXJlcy0wMTA4XC56aXA=" /> <imtext
value="cGhvdG9zMS0yMDA4XC56aXA=" /> <imtext value="aGFwcHkyMDA4XC5leGU="
/>
<imtext value="aGFwcHlfMjAwOFwuZXhl" /> <imtext value="aGFwcHktMjAwOFwuZXhl" />
<imtext value="bmV3X3llYXJzX2xldHRlcl9mbGFzaFwuZXhl" /> <imtext
value="bWFpbm1zblwuY29t" /> <imtext value="bWFpbm1zblwubmV0" />
<imtext
value="Zm1jb25zdWx0aW5n" /> <imtext value="YmV6Z2lcLmluZm8=" />
<imtext
value="c3VsYW5kaXJtYQ==" /> <imtext value="dHVuYWJhbGlnaQ==" />
<imtext
value="eW9ydW5nZXNlbA==" /> <imtext value="dHVoYWZraW1zZQ==" />
<imtext
value="YWNpc2FsY2FwXC5pbmZv" /> <imtext value="Ym95YW1hZ3VjdQ==" />
<imtext
value="dHV0dXNrYW5saWs=" /> <imtext value="bXltc25nYWxsZXJ5" />
<imtext
value="aW1hZ2UwMzFcLnppcA==" /> <imtext value="Zm90bzcyMmE2" />
<imtext
value="cGhvdG8yMVwuemlw" /> <imtext value="cGljdHVyZTIyXC56aXA=" />
<imtext
value="cGljdHVyZXo5MjNcLnppcA==" /> <imtext
value="cGhvdG9fNjg4LWpwZ1wuemlw" />
<imtext value="bXlwaG90bzk0XC56aXA=" /> <imtext value="dmlkZW9cLmV4ZQ==" />
<imtext value="a3V6ZW5cLmV4ZQ==" /> <imtext value="bWlyY1wuZXhl" />
<imtext value="YmFja2Rvb3I6aXJjL2Zsb29kXC5jYw==" /> <imtext
value="Zm90b18wMjdcLnppcA==" /> <imtext value="Zm90bzcwOGs2XC56aXA=" />
<imtext value="bXNuYmxvY2tsaXN0XC5jb20=" /> <imtext
value="bXNuLWZyaWVuZFwuY29t"
/> <imtext value="cXVpZW50ZWFkbWl0ZVwuY29t" /> <imtext
value="Y2hlY2ttZXNzZW5nZXJcLm5ldA==" /> <imtext
value="bXNuYmxvY2tlcmxpc3RcLmNvbQ==" /> <imtext
value="bXNubGlzdHN0YXR1c1wuY29t"
/> <imtext value="ZnJpZW5kbHktb2ZmZXJcLmNvbQ==" /> <imtext
value="c2V0dXBcLmV4ZQ==" /> <imtext value="aG9zdGlsZWFwcGxldA==" />
<imtext
value="Z3NkYWdkZmdhc2RnczI0NTc0NTIyNDdcLmV4ZQ==" /> <imtext
value="Z3NkZGFzMjQ1ODcyMTRnc2RcLmV4ZQ==" /> <imtext
value="Zm90by0zMTFfanBlZw=="
/> <imtext value="aW1hZ2UyMDZcLmpwZy13d3dcLnBob3Rvc2hhcmVcWzFdXC5jb20=" />
<imtext value="aW1hZ2UyMDZcLmpwZw==" /> <imtext value="YnVzaFwuY29t" />
<imtext value="Y2FtZGFcLmV4ZQ==" /> <imtext
value="eW91dHViZV9naXJpc19wcm9ncmFtaVwuZXhl" /> <imtext
value="cjU3OWRrYTkyalwuemlw" /> <imtext value="bW9uY2xvY2hlclwuY29t" />
<imtext value="aW1hZ2Vzd2l0Y2hcLmluZm8=" /> <imtext
value="bmV3ZXN0cGljdHVyZTAzXC5qcGc=" /> <imtext
value="bm90aWNpYXNkb2JyYXNpbFwuY29tXC5zYXBvXC5wdC9ub3RpY2lhdXJnZW50ZWJyYXNpbG51b
WVybzk4MjFcLmNvbQ=="
/> <imtext value="d2luZG93c215X3Bob3Rvc18xNTMwMVwuemlw" /> <imtext
value="cGhvdG9zXzE1MzAxXC56aXA=" /> <imtext value="aW1wbGF5XC5jb20=" />
<imtext value="Ym9ieXVwXC5jb20=" /> <imtext value="Ym9iYmxha1wuY29t" />
<imtext value="cGljcy1hdC10aGUtcGFydHlcLmNvbQ==" /> <imtext
value="Ym9iem9wXC5jb20=" /> <imtext value="bW9vcnNoXC5jb20=" />
<imtext
value="Ym9ieXVw" /> <imtext value="d293YmFtXC5jb20=" /> <imtext
value="Zm90b1wuZXhl" /> <imtext value="ZHNjMjAwOTAxMTdcLmpwZ1wuZXhl" />
<imtext value="ZnJpZW5kaW1zXC5jb20=" /> <imtext
value="bm93cG91bmRzXC5jb20=" />
<imtext value="Y2xpcGRlZXBzXC5jb20=" /> </regexp>
</block></config></Policy><Policy type="ABCH"
checksum="DD12CB75512C25D545D10F9ABE6DC3E1"><policy><set id="push"
service="ABCH"
priority="200"> <r id="pushstorage" threshold="180000" /> </set><set
id="delaysup" service="ABCH" priority="150"> <r id="whatsnew"
threshold="900000" />
<r id="whatsnew_storage_ABCH_delay" timer="900000" /></set></policy></Policy></Policies>
NSMessageProcessor: Dispatching incoming NS command: USR 3 SSO S MBI_KEY_OLD
0xjc+LtwnvhZ24hzkB+qKokhlbibqrDSEDj2DPmVy4IMsPUR6N8CX2yorZEnG8KD
SingleSignOnManager: Request new tickets: Clear, Contact, OIM, Spaces, Storage,
Web,
WhatsUp
NSMessageHandler: MSNPSharp.ExceptionEventArgs
NSMessageProcessor: Disconnected
Original comment by husk...@gmail.com
on 7 Oct 2009 at 4:45
Ok. Please try r1305.
I have added a new configuration option to Settings class.
Please set to FALSE;
Settings.EnableGzipCompressionForWebServices = false
if you run .net framework on mono.
Because mono don't support gzip compression for web requests and raises
NotImplementedException.
Original comment by hepha...@gmail.com
on 7 Oct 2009 at 8:38
I'm getting another exception while testing the example app. please see the
attached image
Original comment by myhu...@gmail.com
on 8 Oct 2009 at 4:15
Attachments:
Could you please debug into the WebServiceDateTimeConverter.ConverToDateTime
and
check what was passed as the parameter?
Original comment by freezing...@gmail.com
on 8 Oct 2009 at 6:13
inside this function /Core/Converter.cs:ConvertToDateTime(string dateTime)
dateTime is passed with value 0001-01-01T00:00:00.0000000
Original comment by myhu...@gmail.com
on 8 Oct 2009 at 3:36
Myhusky,
Can you pass these values to this function:
0001-01-01T00:00:00.0000000-08:00
0001-01-01T00:00:00.00-00:00
0001-01-01T00:00:00
I think "0001-01-01T00:00:00.0000000" is incorrect. Where is the timezone info?
Original comment by hepha...@gmail.com
on 8 Oct 2009 at 4:20
0001-01-01T00:00:00.0000000 is WebServiceConstants.ZeroTime defined in enum.cs.
The
dot Net Framework of windows can parse this string, but Mono can't. We need to
find
out a universal way to generate the Zero time, maybe we should just check Mono
how
to implement the XmlConvert.ToDateTime function?
husky, just changed the value of WebServiceConstants.ZeroTime into "0001-01-
01T00:00:00.0000000-00:00" and see whether it can work both under .NET
Framework and
Mono.
Original comment by freezing...@gmail.com
on 8 Oct 2009 at 5:30
Before I try any further, I found this old case has something about this
datetime problem.
Can you take a look?
http://code.google.com/p/msnp-sharp/issues/detail?id=47
Original comment by myhu...@gmail.com
on 8 Oct 2009 at 6:04
Try again, please.
Original comment by freezing...@gmail.com
on 10 Oct 2009 at 6:44
Now, I'm getting following errors, Looks like I was able to sign in, but it
keep trying to fetch contact list
because of the errors listed below.
ContactService: ABFindContactsPaged: System.ArgumentOutOfRangeException: 10000
is not in a range
between 1 and 9999.
Parameter name: year
at System.CurrentSystemTimeZone.GetDaylightChanges (Int32 year) [0x00000]
at System.TimeZone.IsDaylightSavingTime (DateTime time) [0x00000]
at System.CurrentSystemTimeZone.GetUtcOffset (DateTime time) [0x00000]
at System.TimeZone.ToLocalTime (DateTime time) [0x00000]
at System.DateTime.ToLocalTime () [0x00000]
at System.DateTime._DoParse (System.String s, System.String firstPart, System.String secondPart, Boolean
exact, System.DateTime& result, System.Globalization.DateTimeFormatInfo dfi,
DateTimeStyles style, Boolean
firstPartIsDate, System.Boolean& incompleteFormat, System.Boolean& longYear)
[0x00000]
at System.DateTime.ParseExact (System.String s, System.String[] formats,
System.Globalization.DateTimeFormatInfo dfi, DateTimeStyles style,
System.DateTime& ret, Boolean exact,
System.Boolean& longYear) [0x00000]
at System.DateTime.ParseExact (System.String s, System.String[] formats, IFormatProvider fp, DateTimeStyles
style) [0x00000]
at System.Xml.XmlConvert.ToDateTime (System.String s, System.String[] formats) [0x00000]
at MSNPSharp.Core.WebServiceDateTimeConverter.ConvertToDateTime (System.String dateTime) [0x00000]
at MSNPSharp.MSNStorageService.GetProfile () [0x00000]
at MSNPSharp.ContactService.SetDefaults () [0x00000]
at MSNPSharp.ContactService.<SynchronizeContactList>b__1 (System.Object ,
MSNPSharp.MSNWS.MSNABSharingService.ABFindContactsPagedCompletedEventArgs )
[0x00000]
at MSNPSharp.ContactService+<>c__DisplayClasse.<abRequest>b__b (System.Object sender,
MSNPSharp.MSNWS.MSNABSharingService.ABFindContactsPagedCompletedEventArgs e)
[0x00000]
at MSNPSharp.MSNWS.MSNABSharingService.ABServiceBinding.OnABFindContactsPagedOperationCompleted
(System.Object arg) [0x00000]
at System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback (IAsyncResult ar) [0x00000]
at System.Web.Services.Protocols.WebClientAsyncResult.SetCompleted (System.Object result,
System.Exception exception, Boolean async) [0x00000]
at System.Web.Services.Protocols.SoapHttpClientProtocol.AsyncGetResponseDone (IAsyncResult ar)
[0x00000]
Original comment by myhu...@gmail.com
on 13 Oct 2009 at 8:47
Oh my gosh, I found this is a bug of Mono, please refer to
http://mono.ximian.com/tests/displayDetails.php?
&testsuite=System.Data&file=20050530&status=1&profile=0&distro=1
I am looking for new way to solve this problem.
Original comment by freezing...@gmail.com
on 14 Oct 2009 at 8:33
Please try r1330. I think this problem has solved...
The problem was here:
at WebServiceDateTimeConverter.ConvertToDateTime (System.String dateTime)
at MSNStorageService.GetProfile ()
FindMembership is passed, so there is no problem in ConvertToDateTime...
DateTime.MAXVALUE is converted to year 10000 if the timezone info +XX:00...
Original comment by hepha...@gmail.com
on 15 Oct 2009 at 3:59
Original issue reported on code.google.com by
hanguof...@gmail.com
on 6 Oct 2009 at 6:45