Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] IronPython engine fails to load under Silverlight 
(MethodAccessException)
2. [New comment] IronPython engine fails to load under Silverlight 
(MethodAccessException)

----------------------------------------------

ISSUES

1. [New issue] IronPython engine fails to load under Silverlight 
(MethodAccessException)
http://ironpython.codeplex.com/workitem/32596
User KeithJRome has proposed the issue:

"Initializing the Silverlight 4 or 5 version of IronPython throws 
MethodAccessException while running in a browser context (might not for 
out-of-browser, but this is unconfirmed).

Repro code:

IronPython.Hosting.Python.CreateEngine();


Outer Exception TargetInvocationException: Failed to load language 'IronPython 
2.7.2': The type initializer for 'IronPython.Modules.Builtin' threw an 
exception.
   at 
Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager
 domainManager, Boolean& alreadyLoaded)
   at 
Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager
 manager, LanguageConfiguration config)
   at 
Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager
 manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)
   at 
Microsoft.Scripting.Runtime.ScriptDomainManager.GetLanguageByTypeName(String 
providerAssemblyQualifiedTypeName)
   at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngineByTypeName(String 
assemblyQualifiedTypeName)
   at IronPython.Hosting.Python.GetEngine(ScriptRuntime runtime)
   at IronPython.Hosting.Python.CreateEngine()
   at IronSLTest.MainPage..ctor()

Inner Exception TypeInitializationException: The type initializer for 
'IronPython.Modules.Builtin' threw an exception.
   at IronPython.Modules.Builtin.PerformModuleReload(PythonContext context, 
PythonDictionary dict)
   at IronPython.Runtime.PythonContext.InitializeBuiltins()
   at IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, 
IDictionary`2 options)"-----------------

2. [New comment] IronPython engine fails to load under Silverlight 
(MethodAccessException)
http://ironpython.codeplex.com/workitem/32596
User mahlenius has commented on the issue:

"I'm having the same problem with an out of browser application in Silverlight 
5. 

I think the code works in SL5, if the binaries are recompiled to target SL5. 

Attached a small test project, which mimic the code in GetPrefix() and it 
throws an exception when compiling => SL4 but works just fine when the target 
is set to SL5.

 "
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to