IronPython 2.6RC2 and Silverlight template

View: New views
3 Messages — Rating Filter:   Alert me  

IronPython 2.6RC2 and Silverlight template

by Lukas Cenovsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: IronPython 2.6RC2 and Silverlight template

by Jimmy Schementi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... [mailto:users-
> bounces@...] 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@...
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: IronPython 2.6RC2 and Silverlight template

by Lukas Cenovsky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... [...-
bounces@...] 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@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
    

_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


  


_______________________________________________
Users mailing list
Users@...
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com