[IronPython] IronPython 2.6RC2 and Silverlight template

Lukas Cenovsky cenovsky at bakalari.cz
Fri Oct 30 22:52:37 CET 2009


Thanks, it works.

--
-- Lukáš

Jimmy Schementi wrote:
> 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: users-bounces at lists.ironpython.com [mailto:users-
>> bounces at lists.ironpython.com] 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
>> Users at lists.ironpython.com
>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>     
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091030/ed1c8dc6/attachment.html>


More information about the Ironpython-users mailing list