Open Cyril-Pop opened 2 weeks ago
Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.
Dynamo Version
3.2.2.5494
Host
DynamoSandbox
Operating System
Microsoft Windows NT 10.0.19045.0
What did you do?
print variable in Python engine (to DynamoStdOut )
What did you expect to see?
Variables printed in Dynamo Console
What did you see instead?
Error
image
image
What packages or external references (if any) were used?
None
Stack Trace
Traceback CPython3/PythonNet
Node Name: Python Script Original Node Name: Python Script Package: Core.Scripting Dynamo Version: 3.2.2.5494 Host: Messages: InvalidOperationException : The calling thread cannot access this object because a different thread owns it. at System.Windows.Threading.Dispatcher.gThrowVerifyAccess|7_0()
at Microsoft.Web.WebView2.Wpf.WebView2.get_CoreWebView2()
at Dynamo.UI.Views.HomePage.DynamoViewModel_PropertyChanged(Object sender, PropertyChangedEventArgs e)
at Dynamo.ViewModels.DynamoViewModel.Instance_PropertyChanged(Object sender, PropertyChangedEventArgs e)
at Dynamo.Logging.DynamoLogger.Log(String message, LogLevel level, Boolean reportModification)
at DSCPython.CPythonEvaluator.<>cDisplayClass20_0.b__0(String msg)
at InvokeStub_Action", line 4, in \n', ' File "", line 10, in write\n']
State: Warning
1.Invoke(Object, Span
1) at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) [' File "Traceback IronPython2/3
Node Name: Python Script Original Node Name: Python Script Package: Core.Scripting Dynamo Version: 3.2.2.5494 Host: Messages: PythonEvaluator.Evaluate operation failed. Traceback (most recent call last): File "", line 4, in
File "", line 9, in write
SystemError: The calling thread cannot access this object because a different thread owns it.
State: Warning
Details
CLR: 8.0.0
code to reproduce