[Moonlight-list] Getting a basic IronPython SL app working in Moonlight

Chris Toshok toshok at gmail.com
Tue Jul 21 16:28:45 EDT 2009


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 
> <mailto: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
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/moonlight-list/attachments/20090721/4fef88b8/attachment-0001.html 


More information about the Moonlight-list mailing list