-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Labels
2.xIssues related to 2.x versions of Dynamo.Issues related to 2.x versions of Dynamo.crashRelated to a crash.Related to a crash.error/warning/crashIssues mentioning a Dynamo error, warning or crash messageIssues mentioning a Dynamo error, warning or crash messagegood first issuetracked
Description
Dynamo version
2.0.2
Operating system
Windows 10
What did you do?
Edit a custom node (any custom node with python) with Python, leave python window open, go back to non-custom node workspace, save the python script. GIF Below:

What did you expect to see?
To be completely honest, I did not expect this to work or allow the changes. It was something I was curious about. I really do love the feature of having the Python window open between DYF and DYN, but I think there is something that can be in place to prevent the crash.
What did you see instead?
This crash:
UpdateModelValue: Model not found
at Dynamo.Graph.Workspaces.WorkspaceModel.UpdateModelValue(IEnumerable`1 modelGuids, String propertyName, String value)
at Dynamo.Models.DynamoModel.UpdateModelValueImpl(UpdateModelValueCommand command)
at Dynamo.Models.DynamoModel.ExecuteCommand(RecordableCommand command)
at PythonNodeModelsWpf.ScriptEditorWindow.UpdateScript(String scriptText)
at PythonNodeModelsWpf.ScriptEditorWindow.OnSaveClicked(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
2.xIssues related to 2.x versions of Dynamo.Issues related to 2.x versions of Dynamo.crashRelated to a crash.Related to a crash.error/warning/crashIssues mentioning a Dynamo error, warning or crash messageIssues mentioning a Dynamo error, warning or crash messagegood first issuetracked