[IronPython] IronPython and serializing object and a few questions

Mikołaj Dawidowski dawm at teko.com.pl
Tue Dec 6 09:07:02 CET 2005

Thank you very much for your answers.
I rebuild IronPython from source. It went very well and fast (it realy
amazes me). And IronPythonConsole works now, great!
I launched an WinForms sample, it worked too.
However a crash ocurrs when trying running avalon sample.
I run tests from the IronPython095 package and it stopped at "conversions".
Since I don't know if this is ok or not I just place it below:
IronPython 0.9.5 on .NET 2.0.50215.322
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.path.append('c:/ironpython/scripts')
>>> import TestAll
>>> TestAll.main()
Testing ParrotBench suite long
ParrotBench !!! SKIP !!!
Testing Pystone suite long
Pystone !!! SKIP !!!
Testing IronPython suite long
Running Arithmetics ...    PASS
Running Assert ...    PASS
Running Attrs ...    PASS
Running BadAssign ...    PASS
Running BigInt ...    PASS
Running BindingTest ...    PASS
Running Builtin ...    PASS
Running calls ...    PASS
Running Classes ...    PASS
Running Closures ...    PASS
Running conversions ...Traceback (most recent call last):
   at <shell>
   at TestAll.main$f17() in c:\ironpython\scripts\TestAll.py:line 177
   at TestAll.runtesttrack$f16(Object results, Object test, Object msg) in
onpython\scripts\TestAll.py:line 170
   at TestAll.runtest$f14(Object test, Object msg) in
All.py:line 151
   at TestAll.exectest$f13(Object test, Object testtype) in
s\TestAll.py:line 140
   at TestAll.ironpython$f9(Object test) in
e 106
   at irontestsuite.run$f20(Object type) in
suite.py:line 85
   at conversions.Initialize() in
e 72
   at conversions.x$f149(Object self) in
.py:line 50
   at System.Single.Parse(String s)   at
Invoke(MethodBinding binding)
   at System.Single.Parse(String s, NumberStyles style, NumberFormatInfo
   at System.Number.ParseSingle(String value, NumberStyles options,
Info numfmt)
   at System.Number.StringToNumber(String str, NumberStyles options,
r& number, NumberFormatInfo info, Boolean parseDecimal)
System.FormatException: Input string was not in a correct format.
Adding IronPython dlls to execs helped, thanks. Its working great.
Thanks and best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20051206/fb245439/attachment.html>

More information about the Ironpython-users mailing list