I have been using rhino WIP with grasshopper on mac 10.12.5. Every time I try and save either the Rhino or the Grasshopper file it crashes with this message:
System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: startIndex
at System.String.Substring (Int32 startIndex) [0x00000] in :0
at System.IO.KqueueMonitor.PostEvent (FileAction action, System.String path, System.String newPath) [0x00000] in :0
at System.IO.KqueueMonitor.Monitor () [0x00000] in :0
at System.IO.KqueueMonitor.DoMonitor () [0x00000] in :0
StackTrace:
at System.String.Substring (Int32 startIndex) [0x00000] in :0
at System.IO.KqueueMonitor.PostEvent (FileAction action, System.String path, System.String newPath) [0x00000] in :0
at System.IO.KqueueMonitor.Monitor () [0x00000] in :0
at System.IO.KqueueMonitor.DoMonitor () [0x00000] in :0
Thanks for submitting the report and the file. That file takes quite a while to load on my computer, but it does not crash during a save operation here. Can you please post the system information you find when you navigate to RhinoWIP > About Rhinoceros > More info… > Copy to Clipboard ?
Thanks. I don’t see anything there that would cause concern. What is the full path to the location you are trying to save the file? Does the same crash happen when you attempt to save to ~/Desktop?
I took a look into this as well, and we may not be able to replicate the issue because we don’t have the associated .3dm file that the .gh file references. Would you be able to attach that as well? This is also consequently why it takes many minutes to load for us, but could also be part of the saving problem.
I found and fixed three problems that came up with this file. The long wait however is probably just due to 70,000 expressions all running and throwing exceptions because one of the inputs is null. Expressions aren’t too quick in GH1 so 70,000 of them will take some time to complete even on a good day. However I did adjust some of the warning UI so that the ID of a missing Rhino object is no longer included in warning messages, meaning that only a single warning will be logged now instead of 70,000 slightly different ones.
There was a problem with saving the Image Sampler object, something to do with storing relative paths in the *.gh file. This has been fixed on Windows, but I do not know when those fixes will get ported to Mac.
There was another problem with iterating over data trees that contained a large amount of consecutive nulls. This was a recursion stack overflow problem. Again, it’s been fixed, but on Windows only until GH for Mac gets updated.