[IronPython] Fresh IronPython installation not working.

Hernán Martínez Foffani hernan.martinez at ecc.es
Tue Sep 23 11:02:32 CEST 2008


After a clean installation of IronPython 2.0 Beta 5, it gives the
following exception just by calling the interpreter.
The odd thing is that it only happens in one new PC (Spanish XP
SP3, .NET Frameworks 1.0.3705, 1.1.4322, 2.0.50727, 3.0). We've been
using IronPython in other similar computers without any problems. I
guess it has to do with a bad configuration in that PC but I'm clueless.
Any hint?

Regards,
-Hernán.

C:\Prueba>ipy.exe
Unhandled exception:

Excepción no controlada: System.MissingMethodException: Método no
encontrado: 'Void System.Reflection.Emit.DynamicMethod..ctor(System.String,
System.Type, System.Type[], Boolean)'.
  en Microsoft.Scripting.Utils.Helpers.CreateDynamicMethod(String name, Type
returnType, Type[] parameterTypes)
  en Microsoft.Linq.Expressions.Compiler.Snippets.CreateDynamicMethod(String
name, Type returnType, Type[] parameterTypes)
  en
Microsoft.Linq.Expressions.Compiler.LambdaCompiler.CreateDynamicLambdaCompil
er(CompilerScope scope, String methodName, Type returnType, IList`1
paramTypes, IList`1 paramNames, Boolean closure, Boolean emitDebugSymbols,
Boolean forceDynamic)
  en
Microsoft.Linq.Expressions.Compiler.LambdaCompiler.CompileLambda(LambdaExpre
ssion lambda, Type delegateType, Boolean emitDebugSymbols, Boolean
forceDynamic, MethodInfo& method)
  en Microsoft.Linq.Expressions.Compiler.LambdaCompiler.CompileLambda[T]
(LambdaExpression lambda, Boolean forceDynamic, MethodInfo& method)
  en Microsoft.Scripting.Actions.SmallRuleSet`1.MakeTarget()
  en Microsoft.Scripting.Actions.SmallRuleSet`1.GetTarget()
  en Microsoft.Scripting.Actions.CallSite`1.UpdateAndExecute(Object[] args)
  en Microsoft.Scripting.Actions.UpdateDelegates.Update2[T,T0,T1,TRet]
(CallSite site, T0 arg0, T1 arg1)
  en IronPython.Runtime.PythonContext.InvokeOperatorWorker(CodeContext
context, UnaryOperators oper, Object target, Object& result)
  en IronPython.Runtime.PythonContext.InvokeUnaryOperator(CodeContext
context, UnaryOperators oper, Object target)
  en IronPython.Runtime.Operations.PythonOps.ToString(CodeContext context,
Object o)
  en IronPython.Runtime.PythonContext.FormatPythonException(Object
pythonException)
  en IronPython.Runtime.PythonContext.FormatException(Exception exception)
  en
Microsoft.Scripting.Hosting.ExceptionOperations.FormatException(Exception
exception)
  en
Microsoft.Scripting.Hosting.Shell.ConsoleHost.UnhandledException(ScriptEngin
e engine, Exception e)
  en Microsoft.Scripting.Hosting.Shell.ConsoleHost.RunCommandLine()
  en Microsoft.Scripting.Hosting.Shell.ConsoleHost.ExecuteInternal()
  en Microsoft.Scripting.Hosting.Shell.ConsoleHost.Execute()
  en Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(String[] args)
  en PythonConsoleHost.Main(String[] args)

C:\Prueba>




More information about the Ironpython-users mailing list