[Ironpython-users] IronPython, Daily Digest 8/4/2014

CodePlex no_reply at codeplex.com
Tue Aug 5 09:26:34 CEST 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Investigate NUnit/NDepend + IronPython conflict which results in invalid code being generated

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

ISSUES

1. [New comment] Investigate NUnit/NDepend + IronPython conflict which results in invalid code being generated
http://ironpython.codeplex.com/workitem/19128
User DanielWolf has commented on the issue:

"<p>I'm experiencing the same problem with IronPython 2.7.4. To reproduce, you need a unit test containing just the line ```Python.CreateEngine();```.</p><p>In our build environment, TeamCity (CI) performs code coverage analysis by calling [NCover](http://www.ncover.com). When I deactivate NCover, the unit test runs fine; with NCover enabled, I get the following exception. My guess is that NCover does some kind of instrumentation which IronPython then stumbles over.</p><p>SetUp method failed. SetUp : System.Reflection.TargetInvocationException : Failed to load language 'IronPython 2.7.4': Common Language Runtime detected an invalid program.<br>  ----> System.InvalidProgramException : Common Language Runtime detected an invalid program.<br>   at Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)<br>   at Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager manager, LanguageConfiguration config)<br>   at Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)<br>   at Microsoft.Scripting.Runtime.ScriptDomainManager.GetLanguageByTypeName(String providerAssemblyQualifiedTypeName)<br>   at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngineByTypeName(String assemblyQualifiedTypeName)<br>   at IronPython.Hosting.Python.GetEngine(ScriptRuntime runtime)<br>   at IronPython.Hosting.Python.CreateEngine()<br>   at MIP.ScriptDebugger.Tests.PythonToolsTest.Setup() in c:\BuildAgent\work\71475aae5f18e70f\MIP.ScriptDebugger.Tests\PythonToolsTest.cs:line 11<br>--InvalidProgramException<br>   at IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary`2 options)</p>"
----------------------------------------------



----------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140805/5db3069e/attachment.html>


More information about the Ironpython-users mailing list