Over the weekend it seems like something has happened, because now I cannot open any of the python scrips / nodes in grasshopper to edit anymore. Normally I double click, that is not working, right click and open script editor is not working either. Still, everything seems to run as normal. Seems a bit drastic to reinstall everything, so is there something I can try first?
In a quick test here in a new file, I was experiencing the same thing.
I then ran the Rhino ScriptEditor command and let that initialize things.
When that was done, I dropped a new Py3 component on the canvas and when double-clicking that one, the editor opened as expected.
Could you give that a try?
-wim
@wim I tried running ScriptEditor in the Rhino Command window, but it does not seem like anything is happening, but perhaps that is normal. Anyway, still did not work to open a new Py3 node after. I saw there was an update available, so I installed that too, but that did not fix the issue either
There are no monitors attached to this device. Laptop lid is probably closed
OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)
Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High
Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 5-30-2023
Driver Version: 31.0.15.2908
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB
@wim Seems like the issue may be related to rhino inside revit, at least, if I open Rhino normally (not rhino inside revit), and create a python node in grasshopper, then the editor opens. But the problem still remains when I use rhino inside revit and try to edit my python nodes.
This could be a plugin conflict with a Revit app using a different python version that installed before RiR (first to load wins, although Revit 2025+ is better at handling these conditions)
Thank you @Japhy , if I run without other revit addins like you suggested, it works! So it seems like you hunch may be correct. However, it is not clear to me what I can do to fix the issue, other than identifying and uninstall the addin causing the problem. But is there anything I can do if I need the addin as well?
Not sure if this is helpful, but running in verbose mode, script editor is still not opening and this is the log: Rhino debugging error dialogs enabled. Use the “TestErrorCheck” command to adjust settings.
(0.0000) - Since Last Record = 0.0000 (%0.00) - Create Stopwatch
(0.8950) - Since Last Record = 0.8950 (%10.71) - after create and load AppSettings
(0.8960) - Since Last Record = 0.0010 (%0.01) - before CRhWGLExtensions::InitWGLExtensions()
(1.8450) - Since Last Record = 0.9490 (%11.36) - after CRhWGLExtensions::InitWGLExtensions()
(2.0040) - Since Last Record = 0.1590 (%1.90) - construct CMainFrame
(2.9200) - Since Last Record = 0.9160 (%10.97) - after load CMainFrame
(4.1760) - Since Last Record = 1.2560 (%15.04) - after initialize license manager
(4.1960) - Since Last Record = 0.0200 (%0.24) - after log events
(4.2520) - Since Last Record = 0.0560 (%0.67) - after registering shell file types
(4.2700) - Since Last Record = 0.0180 (%0.22) - before loading of cursor resources
(4.3260) - Since Last Record = 0.0560 (%0.67) - after loading of cursor resources
(4.3880) - Since Last Record = 0.0620 (%0.74) - after RegisterBuiltInCommands()
(5.3650) - Since Last Record = 0.9770 (%11.70) - Pre auto load plugins
(5.4340) - Since Last Record = 0.0690 (%0.83) - Toolbars
(5.4610) - Since Last Record = 0.0270 (%0.32) - RDK:CRhRdkRhinoPlugIn CTOR
(5.4620) - Since Last Record = 0.0010 (%0.01) - RDK:OnLoadPlugIn
(5.4660) - Since Last Record = 0.0040 (%0.05) - RDK:Initialize: start
(5.4660) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after default registered properties
(5.4790) - Since Last Record = 0.0130 (%0.16) - RDK:Initialize: after default post effect plug-in factories
(5.4790) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after adding internal extensions
(5.4790) - Since Last Record = 0.0000 (%0.00) - RDK:Initialize: after conduits
(5.4950) - Since Last Record = 0.0160 (%0.19) - RDK:Initialize: end
(5.4950) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK Initialize
(5.4950) - Since Last Record = 0.0000 (%0.00) - RDK:OnLoadPlugIn: after RDK OnLoadRhinoPlugIn
(5.5000) - Since Last Record = 0.0050 (%0.06) - RDK:OnLoadPlugIn - end
(5.5520) - Since Last Record = 0.0520 (%0.62) - Renderer Development Kit
(5.8190) - Since Last Record = 0.2670 (%3.20) - Commands
(5.8610) - Since Last Record = 0.0420 (%0.50) - Snapshots
(5.8960) - Since Last Record = 0.0350 (%0.42) - Rhino Render
(5.9890) - Since Last Record = 0.0930 (%1.11) - RDK_EtoUI
(6.0390) - Since Last Record = 0.0500 (%0.60) - MeshCommands
(6.2660) - Since Last Record = 0.2270 (%2.72) - RhinoCycles
(6.3600) - Since Last Record = 0.0940 (%1.13) - 3Dconnexion 3D Mouse
(6.3940) - Since Last Record = 0.0340 (%0.41) - Displacement
(6.4400) - Since Last Record = 0.0460 (%0.55) - SectionTools
(6.4410) - Since Last Record = 0.0010 (%0.01) - Start of C# Rhino.UI.TabPanels.NamedCallbacks.RestoreTabPanelCollections
(6.4410) - Since Last Record = 0.0000 (%0.00) - End of C# Rhino.UI.TabPanels.NamedCallbacks.RestoreTabPanelCollections
(6.4420) - Since Last Record = 0.0010 (%0.01) - after create TabbedDockBarCollection
(6.5030) - Since Last Record = 0.0610 (%0.73) - after load default render engine
(6.5820) - Since Last Record = 0.0790 (%0.95) - after CloseAllDocuments
(6.7440) - Since Last Record = 0.1620 (%1.94) - before LoadToolBarsAndRestoreDockBarPositionAndStates
(6.7440) - Since Last Record = 0.0000 (%0.00) - before RunLoadToolbars
(6.9020) - Since Last Record = 0.1580 (%1.89) - after RunLoadToolbars
(7.5090) - Since Last Record = 0.6070 (%7.27) - after LoadToolBarsAndRestoreDockBarPositionAndStates
(7.5310) - Since Last Record = 0.0220 (%0.26) - before Process Shell Commands
(8.3050) - Since Last Record = 0.7740 (%9.27) - after Process Shell Commands
(8.3530) - Since Last Record = 0.0480 (%0.57) - CRhStopWatch::ShowReport()
@Japhy Thanks, I managed to identify the addin, so for now it is disabled and the script editor is working again. Can talk to the developers as it is an internal addin. Thank you so much for the help!