I installed Rhino WIP and started it up. Ran RhinoCode, let it install Python. I then tried to run Example 2 (Python), which resulted in it crashing immediately.
Tried running again, crashes immediately on startup after the splash screen. No luck with safe mode. Reinstalling did not solve the issue either.
Hi Mohamed -
Could you post the SystemInfo data from Rhino 7?
Apart from that, I would look for the RhinoCode plug-in in Windows explorer and rename the rhp file (changing the extension) and see if that does anything.
-wim
My Rhino WIP is also crashing immediately on startup.
After reading this post I do recall using RhinoCode editor after the update which crashed Rhino WIP. I then tried to repair Rhino WIP with no effect also.
The schemes without “Plug-ins” key are crashing on startup while the others do not.
RhinoCode is now crashing when creating a new script:
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.
at Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment)
at Ed.Eto.Wpf.EdHandler.<InitializeAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[END ERROR]
Not sure if the scheme and RhinoCode problems are related but directly after the most recent auto-update creating new schemes for Rhino WIP stopped working and RhinoCode is crashing when creating new scripts.
To clarify I am not currently using Citrix, I am logged in directly to the machine.
Rhino 6/7 also worked perfectly fine through Citrix when I was working from home. Note that when I say Citrix, its actually my own work PC, but somehow routed through Citrix; the details of this I am not on top of. It is not a Citrix virtual machine.
Spoke too soon. Trying to open a script in RhinoCode will still crash, with the following RhinoDotNet.txt
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.
at Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment)
at Ed.Eto.Wpf.EdHandler.<InitializeAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[END ERROR]