[Ironpython-users] IronPython, Daily Digest 3/22/2012

no_reply at codeplex.com no_reply at codeplex.com
Fri Mar 23 08:52:36 CET 2012


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] 2.7.2.1 "load language" problem
2. [New comment] 2.7.2.1 "load language" problem

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

ISSUES

1. [New comment] 2.7.2.1 "load language" problem
http://ironpython.codeplex.com/workitem/32452
User becio has commented on the issue:

"OMG, I just got the same error!

I installed the .msi and I have changed nothing. Both ipy.exe and ipy64.exe do not work.

I have the same bug reported by Snake38 - missing method on Microsoft.Scripting.Utils.ArrayUtils::Concatenate<T>

I thought it was a mismatch in dlls, so I used ILSpy to inspect the assembly and that class, this is what I got:

ICSharpCode.Decompiler.DecompilerException: Error decompiling T[0...,0...] Microsoft.Scripting.Utils.ArrayUtils::Concatenate(T[0...,0...],T[0...,0...])
 ---> System.InvalidCastException: Unable to cast object of type 'Mono.Cecil.MethodReference' to type 'Mono.Cecil.GenericInstanceMethod'.
   at ICSharpCode.Decompiler.ILAst.TypeAnalysis.SubstituteTypeArgs(TypeReference type, MemberReference member)
   at ICSharpCode.Decompiler.ILAst.TypeAnalysis.DoInferTypeForExpression(ILExpression expr, TypeReference expectedType, Boolean forceInferChildren)
   at ICSharpCode.Decompiler.ILAst.TypeAnalysis.RunInference(ILExpression expr)
   at ICSharpCode.Decompiler.ILAst.TypeAnalysis.RunInference()
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, ILAstOptimizationStep abortBeforeStep)
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, ConcurrentDictionary`2 localVariables)
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters, ConcurrentDictionary`2 localVariables)
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDefinition methodDef, DecompilerContext context, IEnumerable`1 parameters, ConcurrentDictionary`2 localVariables)
   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateMethod(MethodDefinition methodDef)
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddTypeMembers(TypeDeclaration astType, TypeDefinition typeDef)
   at ICSharpCode.Decompiler.Ast.AstBuilder.CreateType(TypeDefinition typeDef)
   at ICSharpCode.ILSpy.CSharpLanguage.DecompileType(TypeDefinition type, ITextOutput output, DecompilationOptions options)
   at ICSharpCode.ILSpy.TextView.DecompilerTextView.DecompileNodes(DecompilationContext context, ITextOutput textOutput)
   at ICSharpCode.ILSpy.TextView.DecompilerTextView.<>c__DisplayClass13.<DecompileAsync>b__12()

An exception decompiling the class, at least to c# target.

I have net4, locale it-IT, 64bit Seven.

I'm curious to download the source code and rebuild it."-----------------

2. [New comment] 2.7.2.1 "load language" problem
http://ironpython.codeplex.com/workitem/32452
User becio has commented on the issue:

"I have a suspect. 

In my system I have a previous version of IronPython registered into GAC, now I have uninstalled the latest version but I still see  registered version 1.1.0.0 of IronPython.dll

Since dll are strong signed, probably the runtime tries to search for the assembly first into the GAC, and here probably it matches the wrong dll causing that exception. 

I put it there, without any check."
----------------------------------------------



----------------------------------------------
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/20120323/e7be1754/attachment.html>


More information about the Ironpython-users mailing list