Whoa, I thought that was fixed for this RC! Two things are wrong:
1. Find %IronPythonInstallPath%\Silverlight\bin\Chiron.exe.config and remove
line #19 (it should be <add key="externalUrlPrefix" value="/dlr-slvx" />).
2. Find %IronPythonInstallPath%\Silverlight\script\templates\python\index.html
and remove "console=true" from line #80 (it should look like this <param
name="initParams" value="debug=true, reportErrors=errorLocation" />). I'm not
sure why this is busted. As a work-around, you can add this to app.py to open
the console:
import sys
from Microsoft.Scripting.Silverlight import Repl
r = Repl.Show('python')
sys.stdout = r.OutputBuffer
sys.stderr = r.OutputBuffer
~js
> -----Original Message-----
> From: [email protected] [mailto:users-
> [email protected]] On Behalf Of Lukas Cenovsky
> Sent: Friday, October 30, 2009 2:05 PM
> To: Discussion of IronPython
> Subject: [IronPython] IronPython 2.6RC2 and Silverlight template
>
> Hi all,
> I wanted to play with IronPython and Silverlight but I have found the
> template that comes with the IPy 2.6 RC2 does not work.
>
> It looks like it needs IronPython.slvx and Microsoft.Scripting.slvx. But I do
> not
> know where I can get them. Even when I created them (IronPython.slvx
> from IronPython.*.dll and Microsoft.Scripting.slvx from
> Microsoft.Scripting.*) it still does not work. So there is something missing
> but
> I do not know what...
>
> The template works fine with RC1.
>
> --
> -- Lukáš
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com