Open cpupower opened 9 years ago
Strange, works on my machine here, windows 7 x64
Hm... I just noticed this issue: https://github.com/IronLanguages/main/issues/1194 I had IronPython 2.7 installed. After uninstalling, the issue was still there, but after rebuilding the solution in Visual Studio the script runs without crashing.
Unfortunately the issue is still open, so it seems that people having IronPython installed are forced to uninstall it (the old version).
Edit: I tried to install the newest version of IronPython (2.7.5) and it works, too. So it seems to be only caused by older versions of IronPython.
Could you please try to downgrade to 2.7.3 so that it crashes again,then copy the newer Microsoft.Dynamic assemblies to the FreePIE folder. This way it should not look in the GAC and it should work. If this works we should consider bundling the assemblies with FreePIE
edit: Hmm, we actually are bundlign Microsoft.Dynamic.dll and Microsoft.Scripting.dll, there must be a third assmebly that we do not bundle that causes this?
Can I close this?
I just got this problem too. I am uninstalling IronPython now.
I am still getting the error, what do you mean by rebuilding the solution in Visual Studio? @cpupower
Nevermind, I figured it out.
The solution is to uninstall IronPython and restart FreePIE.
Description
When launching a very simple script, like an empty one, or the following one, FreePIE does not find a method, handles the exception (TargetInvocationException) in the handler of ExecuteSafe and crashes afterwards with a MissingMethodException.
Platform
Operating System: Windows 7 64 bit FreePIE version: Latest installer (v1.9.611.0) and also latest master branch commit (72ec5b854b1f69883db7e097e62eb5dda729436e), compiled with VS 2013
Files
Script for testing:
FreePIE.log: