I get this crash log when trying to edit a ghPython component in Rhino.
System::Windows::Forms::Application::ThreadException event occurred
SENDER: System.Threading.Thread
EXCEPTION: System.MissingMethodException
MESSAGE: Method not found: 'System.Windows.Forms.Control Rhino.Runtime.PythonScript.CreateTextEditorControl(System.String, System.Action`1<System.String>)'.
SOURCE: "GhPython"
CALL STACK
at GhPython.Component.ScriptingAncestorComponent.CreateEditorControl(Action`1 helpCallback)
at GhPython.Forms.PythonScriptForm..ctor(ScriptingAncestorComponent linkedComponent)
at GhPython.Component.PythonComponentAttributes.OpenEditor()
at GhPython.Component.ScriptingAncestorComponent.<AppendMenuItems>b__d(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This is on Rhino 6 that seems to be using a Iron Python 2.7.8
I do have IronPython 2.7.3 installed but I followed the directions from @piac and disabled the GAC per these instructions: http://dynamobim.org/dynamo-and-ironpython/
At this point my Dynamo Python works fine, but Rhino 6 fails miserably.
Ideas? Cheers!
Ps. Worth noting is that the actual components execute code just fine. So for example a Ladybug ghPython components when placed on canvas will run just fine. It’s the editor that will not boot up.