Eto not working in rhino 8 beta

Eto not working in rhino 8 beta.

I am creating a plugin using python 3 on rhino 8 beta. I’m trying to use Eto as UI, and I’m referring to Sample.

However, it doesn’t work with the following error.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Rhino.Runtime.Code.Languages.PythonNet.CPythonCode.Execute(RunContext context)
   at Rhino.Runtime.Code.Code.ExecTry(RunContext context, IPlatformDocument& doc, Object& docState)
   at Rhino.Runtime.Code.Code.Run(RunContext context)

Listen to me and avoid taking ten years of detours

Add the following code to the first line of def init(self):

super().__init__()

Done

4 Likes

Thank you. I appreciate it !!

My pleasure.