[IronPython] Try Python updated for IronPython 2.6 & Silverlight 4 (sort of)
Michael Foord
michael at voidspace.org.uk
Mon Apr 26 00:15:12 CEST 2010
Hello all,
I've updated Try Python to use IronPython 2.6.1 and it now works with
Silverlight 4 - mostly.
http://www.trypython.org/
It works with Firefox and IE on Windows and Safari on Mac OS X, but
throws a weird error (for me at least) with Firefox on Mac OS X.
SystemError: [InvalidOperation_IComparerFailed]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments
provide sufficient information to diagnose the problem. See
http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50401.0&File=mscorlib.dll&Key=InvalidOperation_IComparerFailed
The line that apparently causes the error is in types.py: NoneType =
type(None)
Interestingly I see a very similar error at http://ironpython.net/try/
SystemError: [InvalidOperation_IComparerFailed]
Arguments:
Debugging resource strings are unavailable. Often the key and arguments
provide sufficient information to diagnose the problem. See
http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.50401.0&File=mscorlib.dll&Key=InvalidOperation_IComparerFailed
wpf.py
Line 27:
Line 28: def __Setup():
Line 29: for name in dir(Colors):
Line 30: c = getattr(Colors, name)
Line 31: if isinstance(c, Color):
SystemError
at __Setup in wpf.py, line 29
at wpf.py in wpf.py, line 35
at app.py in app.py, line 34
All the best,
Michael Foord
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.
More information about the Ironpython-users
mailing list