[Moonlight-list] Getting a basic IronPython SL app working in Moonlight
Sebastien Pouliot
sebastien.pouliot at gmail.com
Tue Jul 21 18:00:35 EDT 2009
Hello Jimmy,
The webide problem is fixed* in SVN r138338. Your extra details about
the '/' parts helped a lot.
If you cannot build moonlight from SVN then you should try to install
the unsigned XPI that our build bots produce. Once built the links will
be shown on those URLs.
[x86_64]
http://sublimeintervention.com:8123/ViewLane.aspx?lane_id=4&host_id=7&revision_id=8633
[x86]
http://sublimeintervention.com:8123/ViewLane.aspx?lane_id=4&host_id=6&revision_id=8633
No fix yet about http://jimmy.schementi.com/silverlight/sl-ipy-clock
With the previous commit it seems to be looking for the (missing)
System.Windows.ExtensionPart class
Sebastien
* there seems to be a few other buglets around but hopefully they will
be solved in later revisions.
On Tue, 2009-07-21 at 13:28 -0700, Chris Toshok wrote:
> We've spent some cycles tracking this down, but nothing concrete
> toward fixing it (yet). It's similar to problems that have crept in
> to make the tests work which cause problems with several deployed
> sites, like netflix. We'll put some effort in tonight and hopefully
> have some good news for you in the morning.
>
> Chris
>
> On 07/21/2009 01:13 PM, Jimmy Schementi wrote:
> > Any thoughts? Sorry for the urgency, but I'd like to show Moonlight
> > and IronRuby at OSCON on Thursday.
> >
> >
> > Thanks,
> > ~Jimmy
> >
> > On Jul 21, 2009, at 1:19 AM, Jimmy Schementi <jschementi at gmail.com>
> > wrote:
> >
> >
> > > I'm trying to get a simple IronPython application working in
> > > Moonlight:
> > > http://jimmy.schementi.com/silverlight/sl-ipy-clock
> > > (Download:
> > > http://jimmy.schementi.com/silverlight/sl-ipy-clock.zip)
> > >
> > > This works in Silverlight 2 and Silverlight 3, but not Moonlight
> > > 1.9.6. And the error is unfortunately not that helpful:
> > >
> > > Unhandled Error in Silverlight 2 Application
> > > Code: -1
> > > Category: RuntimeError
> > > Message: A type load exception has occurred.
> > > MethodName: 0
> > >
> > > file:///srv/www/htdocs/clock/error.js
> > > Line 31
> > >
> > > Also, the Python WebIDE
> > > (http://www.voidspace.org.uk/ironpython/webide/webide.html) does
> > > not work, though is site says it does
> > > (http://go-mono.com/moonlight/MoonlightStatus.aspx?v=2). FWIW,
> > > most of the examples on that page do work for me. The error
> > > message this encounters is a bit more descriptive: this app uses a
> > > slightly-undocumented feature (I've documented it on my blog =P)
> > > which will load an assembly outside the XAP file if a the
> > > AppManifest.xaml file has a <AssemblyPart Source="<uri>" />
> > > element where <url> is a rooted relative URL
> > > (eg /deploy/IronPython.dll) or a fully-qualified URI. And it seems
> > > that Moonlight doesn't support this yet:
> > >
> > > Unhandled Error in Silverlight 2 Application Code: 2105 Category:
> > > RuntimeError Message: Trying to load the assembly
> > > '/deploy/Microsoft.Scripting.ExtensionAttribute.dll' outside the
> > > XAP directory. MethodName: 0
> > >
> > > I've installed the Moonlight 2.0 Preview 7 (1.9.6) on the VMware
> > > Suse VM here:
> > > http://ftp.novell.com/pub/mono/appliance/2.4.2.1/Mono-2.4.2.1-vmx.zip.
> > >
> > > What is the preferred way I can debug a Moonlight app so I can
> > > give you guys better bug reports?
> > >
> > > Thanks!
> > > ~Jimmy
> > >
> > >
> > >
> > >
> > >
> >
> > ____________________________________________________________________
> >
> > _______________________________________________
> > Moonlight-list mailing list
> > Moonlight-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/moonlight-list
> >
>
> _______________________________________________
> Moonlight-list mailing list
> Moonlight-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/moonlight-list
More information about the Moonlight-list
mailing list