Python Bug Grashopper

Hi every one,
i’m having some trouble with grasshopper, the thing is that the window for Python script does not work at any component for editing or writing. May be you could help me

I shear a sreen shot of my problem as well as info of my system.

From the error

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 () [0x00033] in <77e8364d23554eee9c1bb6f73e4a71d5>:0
at RhinoMac.Runtime.EtoStyles+<>c.b__0_6 () [0x00000] in :0
at Eto.Widget…ctor () [0x0006a] in <79d4fa420dbc462a8d3367bf88727ecc>:0
at Eto.Forms.BindableWidget…ctor () [0x00000] in <79d4fa420dbc462a8d3367bf88727ecc>:0
at Eto.Forms.Control…ctor () [0x00000] in <79d4fa420dbc462a8d3367bf88727ecc>: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 <617794a618c548758f2c97a66d06f505>:0
at GhPython.MacForms.EtoScriptForm…ctor (GhPython.Component.ScriptingAncestorComponent parent) [0x00413] in :0
at GhPython.Component.PythonComponentAttributes.OpenEditor () [0x0002a] in :0

System Info

Rhino 7 SR5 2021-3-30 (Rhino 7, 7.5.21089.05002, Git hash:master @ 8c08ab365205eddee74c2829591c23a839506d31)
License type: Evaluation, build 2021-03-30
License details: Stand-Alone
Expires on: 2021-06-14

Apple Intel 64-bit macOS Version 11.2.3 (Build 20D91) (Physical RAM: 16Gb)
Mac Model Identifier: MacBookPro11,2
Language: en

Intel Iris Pro OpenGL Engine (OpenGL ver:4.1 INTEL-16.1.12)

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

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

Vendor Name: Intel 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: 1536 MB
Graphics: Intel Iris Pro
Displays: Color LCD (221dpi 2x), ASUS VA24E (93dpi 1x)

Graphics processors
Intel Iris Pro (1536 MB)
Color LCD (1440 x 900)
ASUS VA24E (1920 x 1080 @ 60.00Hz)

USB devices
Apple Inc.: Apple Internal Keyboard / Trackpad
Apple Inc.: Bluetooth USB Host Controller

Bluetooth devices
Broadcom: Magic Mouse 2

Third party kernel extensions
None

Third party plugins
/usr/lib/swift/libswiftAppKit.dylib
/usr/lib/swift/libswiftCloudKit.dylib
/usr/lib/swift/libswiftContacts.dylib
/usr/lib/swift/libswiftCore.dylib
/usr/lib/swift/libswiftCoreData.dylib
/usr/lib/swift/libswiftCoreFoundation.dylib
/usr/lib/swift/libswiftCoreGraphics.dylib
/usr/lib/swift/libswiftCoreImage.dylib
/usr/lib/swift/libswiftCoreLocation.dylib
/usr/lib/swift/libswiftDarwin.dylib
/usr/lib/swift/libswiftDispatch.dylib
/usr/lib/swift/libswiftFoundation.dylib
/usr/lib/swift/libswiftIOKit.dylib
/usr/lib/swift/libswiftMetal.dylib
/usr/lib/swift/libswiftObjectiveC.dylib
/usr/lib/swift/libswiftQuartzCore.dylib
/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib
/usr/lib/swift/libswiftXPC.dylib
/usr/lib/swift/libswiftos.dylib
/usr/lib/swift/libswiftsimd.dylib
/usr/lib/swift/libswiftAccelerate.dylib
/usr/lib/log/liblog_network.dylib

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
/Applications/Rhino 7.app/Contents/PlugIns/NamedSnapshots.rhp “Snapshots” 7.5.21089.1002
/Applications/Rhino 7.app/Contents/PlugIns/PanelingTools.rhp “PanelingTools” 7.5.21089.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhMaterialEditor.framework “Renderer Development Kit” 7.5.21089.1002
/Applications/Rhino 7.app/Contents/PlugIns/Displacement.rhp “Displacement” 7.5.21089.1002
/Applications/Rhino 7.app/Contents/PlugIns/RhinoRender.rhp “Legacy Rhino Render” 7.5.21089.1002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Commands.rhp “Commands” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_OBJ.rhp “Import_OBJ” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_XAML.rhp “export_xaml” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/QuadRemesh.rhp “QuadRemesh” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_OBJ.rhp “export_OBJ” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RDK_EtoUI.rhp “RDK_EtoUI” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_SVG.rhp “Export SVG” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/MeshCommands.rhp “MeshCommands” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_DAE.rhp “Export_DAE” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PDF.rhp “PDF Export” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_IGES.rhp “IGES Export Plug-in” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_SVG.rhp “Import_SVG” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/BlockEdit.rhp “BlockEdit” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Export_AMF.rhp “Export_AMF” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoRenderCycles.rhp “Rhino Render” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/import_DST.rhp “Import_DST” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/export_PLY.rhp “PLY - Polygon File Format Export” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/Import_AMF.rhp “Import_AMF” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoCycles.rhp “RhinoCycles” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/RhinoDLR_Python.rhp “IronPython” 7.5.21089.5002
/Applications/Rhino 7.app/Contents/Frameworks/RhCore.framework/Resources/ManagedPlugIns/GrasshopperPlugin.rhp “Grasshopper” 7.5.21089.5002

@piac - the error message says this one is for you!

-Pascal

Thanks @pascal , this is known and tracked also in this other discussion:

and on YouTrack, at RH-63586.

1 Like

Thanks.

-Pascal

Thank you!