GhPython Script Editor Broken In Latest update on MacOS

Since I updated today to version 7.12.21306.15002 (2021-11-02) on MacOS, I’m getting this pop-up every time I try to open the ghpython script editor:

I emailed this info to giulio@mcneel.com as the dialog box says. Figured I would post it here as well

I checked a few of my older scripts and they seem to run ok, just can’t access the script editor.

Here’s the full text from the message box:

Error Message Text

System.TypeLoadException: Could not resolve type with token 0100003a from typeref (expected class ‘ObjCRuntime.NativeObjectExtensions’ in assembly ‘Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065’)
at Eto.CodeEditor.CodeEditorHandler…ctor () [0x00034] in :0
at RhinoMac.Runtime.EtoStyles+<>c.b__0_6 () [0x00000] in :0
at Eto.Widget…ctor () [0x00051] in :0
at Eto.Forms.BindableWidget…ctor () [0x00000] in :0
at Eto.Forms.Control…ctor () [0x00000] in :0
at Eto.CodeEditor.CodeEditor…ctor (Eto.CodeEditor.ProgrammingLanguage language, System.Boolean darkMode, System.Func4[T1,T2,T3,TResult] getCompletions, System.Action1[T] logger) [0x0000e] in :0
at GhPython.MacForms.EtoScriptForm…ctor (GhPython.Component.ScriptingAncestorComponent parent) [0x00413] in :0
at GhPython.Component.PythonComponentAttributes.OpenEditor () [0x0002a] in :0

Here is my SystemInfo:

My SystemInfo

Rhino 7 SR12 2021-11-2 (Rhino 7, 7.12.21306.15002, Git hash:master @ 5b29f2d5cf917d92f3e5e04559fbfbfdd15696ac)
License type: Commercial, build 2021-11-02
License details: Cloud Zoo

Apple Intel 64-bit macOS Version 11.6 (Build 20G165) (Physical RAM: 32Gb)
Mac Model Identifier: iMac15,1
Language: en-US (MacOS default)

AMD Radeon R9 M295X OpenGL Engine (OpenGL ver:4.1 ATI-4.6.20)

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: ATI Technologies Inc.
Render version: 4.1
Shading Language: 4.10
Maximum Texture size: 16384 x 16384
Z-Buffer depth: n/a
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB
Graphics: AMD Radeon R9 M295X
Displays: iMac (173dpi 2x)

Graphics processors
AMD Radeon R9 M295X (4 GB)
iMac (2048 x 1152)

USB devices
Apple Inc.: Bluetooth USB Host Controller
Apple Inc.: FaceTime HD Camera (Built-in)
Hewlett-Packard: HP LaserJet P1006
Wacom Co.,Ltd.: Wacom Wireless Receiver

Bluetooth devices
Apple: Apple Wireless Keyboard
Apple: Apple Wireless Trackpad
Apple: Apple Magic Mouse

Third party kernel extensions
None

Third party plugins
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftOSLog.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftAppKit.dylib
/usr/lib/swift/libswiftCloudKit.dylib
/usr/lib/swift/libswiftContacts.dylib
/usr/lib/swift/libswiftCoreData.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/Users/Kevin/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/KeyShot9Plugin.rhp/libkeyshot_rhino_plugin.dylib
/usr/lib/log/liblog_network.dylib

Rhino plugins that do not ship with Rhino
/Users/Kevin/Library/Application Support/McNeel/Rhinoceros/MacPlugIns/KeyShot9Plugin.rhp “KeyShot9RhinoPlugin” 1.0.0.0
/Users/Kevin/Library/Application Support/McNeel/Rhinoceros/packages/7.0/ProRender/1.0.1.0/ProRender.Mac.V7.rhp “ProRender” 1.0.1.0
/Users/Kevin/Library/Application Support/McNeel/Rhinoceros/packages/7.0/EleFront/4.2.2/ElefrontProperties.rhp “ElefrontProperties” 1.0.0.0
/Users/Kevin/Library/Application Support/McNeel/Rhinoceros/packages/7.0/AMDDenoiser/0.5.2/AMDDenoiser.Mac.rhp “AMDDenoiser.Mac” 1.0.0.0

Rhino plugins that ship with Rhino
/Applications/Rhino 7.app/Contents/PlugIns/export_SAT.rhp “ACIS Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_CD.rhp “Cult3D Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_CSV.rhp “Comma Separated Value Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_SKP.rhp “SketchUp Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_STL.rhp “STL Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_ACAD.rhp “AutoCAD file import: import_ACAD” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_SolidWorks.rhp “Solidworks Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_XGL.rhp “XGL Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/MPlane.rhp “MPlane” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_STEP.rhp “STEP Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_STL.rhp “STL Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_SKP.rhp “SketchUp Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_ACAD.rhp “AutoCAD file export : export_ACAD” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/AnimationTools.rhp “AnimationTools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_RAW.rhp “RAW Triangle Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_Points.rhp “Points Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_PLY.rhp “PLY - Polygon File Format Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_RAW.rhp “Raw Triangles Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_GTS.rhp “GTS Triangle Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_WAMIT.rhp “WAMIT import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_DGN.rhp “MicroStation file import: import_DGN” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/CreaseAngle.rhp “CreaseAngle” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_VRML.rhp “VRML Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_LWO.rhp “Lightwave Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_AI.rhp “Adobe Illustrator Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/RhinoLabsTools.rhp “Rhino Labs Tools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/NamedPositions.rhp “Named Position” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_STEP.rhp “STEP Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/SolidTools.rhp “SolidTools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_GTS.rhp “GTS Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_PDF.rhp “PDFReader” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_OFF.rhp “OFF Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_X.rhp “X Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_SLC.rhp “SLC Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_X_T.rhp “Parasolid Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/MeshTools.rhp “MeshTools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_FBX.rhp “Import_FBX” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_LWO.rhp “Lightwave Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_3MF.rhp “import_3MF” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_Points.rhp “Points Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/MeshFromPoints.rhp “MeshFromPoints” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/RhinoBonusTools.rhp “Rhino Bonus Tools” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_VDA.rhp “VDA Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Displacement.rhp “Displacement” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_IGES.rhp “IGES Import Plug-in” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_RIB.rhp “Renderman Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_WAMIT.rhp “WAMIT Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_SLC.rhp “SLC Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_X.rhp “X Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_POV.rhp “POV-Ray Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_VRML.rhp “VRML/X3D Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Export_UDO.rhp “Moray Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_3DS.rhp “3D Studio Export” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Squish.rhp “Squish” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_FBX.rhp “Export_FBX” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/import_VDA.rhp “VDA Import” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/export_3MF.rhp “export_3MF” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/PlugIns/Import_M.rhp “Import_M” 7.12.21306.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_OBJ.rhp “Import_OBJ” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_XAML.rhp “export_xaml” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/QuadRemesh.rhp “QuadRemesh” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_OBJ.rhp “export_OBJ” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_SVG.rhp “Export SVG” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_DAE.rhp “Export_DAE” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PDF.rhp “PDF Export” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_IGES.rhp “IGES Export Plug-in” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_SVG.rhp “Import_SVG” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/BlockEdit.rhp “BlockEdit” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_AMF.rhp “Export_AMF” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/import_DST.rhp “Import_DST” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PLY.rhp “PLY - Polygon File Format Export” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_AMF.rhp “Import_AMF” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 7.12.21306.15002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 7.12.21306.15002

Edit: C# editor and VB editor also aren’t working in grasshopper - no error message, the editors just don’t open. _EditPythonScript command isn’t working in Rhino as well.

-Kevin

1 Like

Yep, again… :roll_eyes:

@piac, quick fix, please!!!

With peace and love, but can’t you guys run a quick test before rolling these updates out?

1 Like

bump

1 Like

I guess Rhino needs a newer Xamarin

Hi guys. @Alain could you please have a look?

Did anyone find a temporary solution (via rolling back the install version)?

I just re-downloaded the latest, stable release from the McNeel website and replaced the broken installation.

Same solution here.

You could also use the V8 WIP, the latest version doesn’t have this problem.

-Kevin

Going with the service release candidates of Rhino 7 is already beta-testy enough for me. :wink:

Hi,
We’ll look at this issue right away.
Thanks

Fixed in 7.13.21313.11002, 2021-11-09! Thanks.