OK - this is a strange but slightly slightly ongoing problem that one of my DKUI users is having.
SOME DKUI components - which are all built in GH Python3 and compiled with the Script Editor - have not worked on his machine or sometimes work on his machine. The errors codes are not much help and I’ve not been able to replicate the issue at ALL on my own machine.
import urllib.parse
import rhinoscriptsyntax as rs
import scriptcontext as sc
import ghpythonlib.components as ghlib
import Grasshopper as gh
So apart from urllib.parse nothing that is not shipped with Rhino.
TODAY, the user rang to say that DKUI is now crashing is Rhino when he opens his GH code - even with the solver turned off??!!
With DKUI uninstalled he can open his GH file, but of course all the DKUI components are missing.
I did a tiny update to DKUI yesterday, in a component he is not using, but now even going back to the older DKUI version, Rhino crashes on opening his GH file.
Another strange symptom - his Rhino now has too many Script menus:
OK, I have an example file from the user that is showing the issue on my Windows machine.
ie Open the GH file with the solver locked and Rhino/GH closes after about 5 secs with no error dialogue.
Interestingly I can open the file on my Intel MacOS machine without issue.
Ive PM’d the file to @jesterking but if any other McNeel dev would like to have a look please DM me.
I spent a big part of today trying to isolate the issue, but removing pretty much ANY part of the file has it opening fine, it just seems to this total size/connection that crash.
Just bumping this back up - any McNeel dev able to open the GH file in there debugger for me today? I would just like a heads up on where to look for this issue.
That file in the above post is from him - it s a “cut down” file that shows the symptom.
It was the first thing he could provide me that would crash my Rhino/GH on opening with the solver locked - on windows only, MacOS does not show the issue.
@cerfdude is the client - he might be able to supply more info.
If I open the file you posted above, I get a warning of missing plugins, but after that the file opens without issues (as in: no crashing) in both Rhino 8 and 9
You are correct, without DKUI installed this file opens ok.
The problem is with DKUI installed it crashes. And this has become my problem to fix. However I suspect it is interaction with the AI coded python components in this file, as I have no other similar reports from my other 2000 DKUI users.