did you come to any conclusion on this? I’m having some errors with newtonsoft.json and the ResthopperEndpointsModule.Grasshopper on my personal project. So I went to test this py example and I get the above error. I must be missing something. At least I am seeing the responses in the rhino.compute window locally.
I can’t get it to work either. I don’t think the inputs RH_IN: are receiving any data which is where the problem might be. If given a default value, they take the default value and the script isn’t changing them.
Made my own simple test where also the inputs do not seem to be receiving data.
I tried your script and gh def, as is, and switching to context bake and everything works as expected. I switched from “linear” and “courtyard” and got different kinds of points.
I am not sure which version of the compute server I am using since this isn’t a machine I set up and for some reason I cannot hit the /version end point, but will report back on that.
The Rhino.Compute server version: {"rhino":"7.27.23032.13001","compute":"1.0.0.0","git_sha":"25466b44"}