Struggling with IronPython Studio

I've been playing with IronPython Studio today and I've run into a *small* snag: I can't call any of the functions I write. For instance, I submitted this example to the IPS CodePlex site earlier today:

def add(x,y):
    return x + y

print add(1,2)
When I run the above as part of a console application, I get the following exception:

MissingMethodException was unhandled by user code Method not found: 'Void IronPython.Runtime.Operations.Ops.UpdateTraceBack(IronPython.Runtime.Calls.ICallerContext, System.String, Int32, System.String, Boolean ByRef)'.

Stack Trace: at Program.add$f5(Object x, Object y)
at IronPython.Runtime.Calls.Function2.Call(ICallerContext context, Object arg0, Object arg1)
at IronPython.Runtime.Operations.Ops.CallWithContext(ICallerContext context, Object func, Object arg0, Object arg1)
at Program.Initialize() in Program.py:line 6
at IronPython.Runtime.Operations.Ops.ExecuteCompiled(InitializeModule init)

If I simply save the file and run it using ipy, the code works just fine. I just posted this in the discussions forum at CodePlex, so we'll see what comes of it.
Published Tue, Feb 26 2008 3:54 PM by dhawley

Leave a Comment

(required) 
(required) 
(optional)
(required)