Feb 10, 2011 at 12:19 PM
Edited Feb 10, 2011 at 1:00 PM
I tried to install the ironpythonstudioisolatedsetup file - it failed the first 2 times with "files not found", then the third time it appeared to install ok.
When I tried to run it, I got the same "files not found" error. So, I uninstalled it.
Since then my Visual Studio project - which used IronPython and the Scripting engine now returns "An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)" every time I try to run or compile.
" at Microsoft.Scripting.Actions.Calls.MethodCandidate.Caller.CallWithInstance(Object args, Boolean& shouldOptimize)\r\n at IronPython.Runtime.Types.BuiltinFunction.BuiltinMethodCaller`1.Call0(CallSite site, CodeContext
context, TFuncType func)\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)\r\n at onTickSensorCheck$4(Closure , PythonFunction , Object , Object , Object )\r\n at IronPython.Compiler.PythonCallTargets.OriginalCallTarget3(PythonFunction
function, Object arg0, Object arg1, Object arg2)\r\n at IronPython.Runtime.PythonFunction.FunctionCaller`3.Call3(CallSite site, CodeContext context, Object func, T0 arg0, T1 arg1, T2 arg2)\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite
site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)\r\n at CallSite.Target(Closure , CallSite , Object , Object , EventArgs )\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2
arg2)\r\n at _Scripting_(Object , Object , EventArgs )\r\n at System.Windows.Forms.Timer.OnTick(EventArgs e)\r\n at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)\r\n at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n at System.Windows.Forms.SafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type)\r\n at System.Windows.Forms.MessageBox.ShowCore(IWin32Window owner, String
text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, Boolean showHelp)\r\n at System.Windows.Forms.MessageBox.Show(String text)\r\n at WindowsFormsApplication1.Program.Main()
in E:\\SVN Attempt 4\\SegmentControl\\WindowsFormsApplication1\\Program.cs:line 23\r\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String args)\r\n at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ThreadHelper.ThreadStart()"
I've now wasted a day reinalling/uninstalling anything python related (although a reinstall of IronPython 2.6 wouldn't let me as it claims I have the dot net 4.0 framework - which I don't), the IronPython 2.7 won't let me install it as it thinks I DON'T
have the dot net 4.0 framework. Catch 22.
I had people arrive this morning from Canada who were to look at this project. They fly back on Sunday. It's starting to look very much like they won't get to see this, so their flights were wasted.
Just a friendly warning to others NOT to install this. It WILL be painful.