1

Closed

ipy 2.7.3 console crashes immediately

description

When I try to run either ipy.exe or ipy64.exe, every time I get an immediate crash and this error output:
 
Unhandled Exception: System.MissingMethodException: Method not found: 'Boolean IronPython.Hosting.Py
thonConsoleOptions.get_BasicConsole()'.
at PythonConsoleHost.CreateConsole(ScriptEngine engine, CommandLine commandLine, ConsoleOptions o
ptions)
at Microsoft.Scripting.Hosting.Shell.ConsoleHost.RunCommandLine()
at Microsoft.Scripting.Hosting.Shell.ConsoleHost.ExecuteInternal()
at PythonConsoleHost.ExecuteInternal()
at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Execute()
at Microsoft.Scripting.Hosting.Shell.ConsoleHost.Run(String[] args)
at PythonConsoleHost.Main(String[] args)
 
I'm on Windows 7 Pro x64. Previous version of IronPython (2.7.2.1) console ran without any issues on my machine.
Closed Jul 7, 2012 at 6:27 PM by slide_o_mix
The issue is that ipy.exe was finding the IronPython assemblies in the GAC and they did not have the necessary classes/methods.

comments

slide_o_mix wrote Jul 7, 2012 at 2:57 PM

Is 2.7.2.1 still installed? Did you install using the installer or binaries?

loocas wrote Jul 7, 2012 at 5:29 PM

Hi, slide_o_mix,

yes, I have 2.7.2.1 on my system, but I've never installed it, per se. I only downloaded and copied the binaries to my custom folder structure.

However, I had 2.6.1 installed properly and after uninstalling it, it works!!!

Thank you!

loocas wrote Jul 7, 2012 at 9:52 PM

I only copied 2.7.2.1 from the binary download. I don't like installers as I put all of my tools in specific folders and have to make them run without installation anyways on many machines.

Thanks for the tip with the GAC, though, I actually didn't know about it until now. :)