Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4120

Scripteditor crashes Rhino8 when C# scriipt is changed from VisualStudio

$
0
0

I noticed that while a C# script file is open in ScriptEditor, when that same file is changed from VisualStudio, this causes a crash. It only seems to happen with VisualStudio, not with another editor.

[ERROR] FATAL UNHANDLED EXCEPTION: Rhino.Runtime.Code.Storage.StorageException: Error loading from file:///G:/IShape/IShapeCreator3/IShapeProducer/Scripts/MakeBatch.cs~RFd496c67.TMP
 ---> Rhino.Runtime.Code.Storage.StorageException: File does not exist at G:\IShape\IShapeCreator3\IShapeProducer\Scripts\MakeBatch.cs~RFd496c67.TMP
   at Rhino.Runtime.Code.Storage.Local.FileStorage.LoadData()
   at Rhino.Runtime.Code.Storage.Storage.Load()
   --- End of inner exception stack trace ---
   at Rhino.Runtime.Code.Storage.Storage.Load()
   at Rhino.Runtime.Code.Code.get_StoredStatus()
   at RhinoCodeEditor.Editor.Panels.Codes.CodeTabs.Tab.get_ShowMarker()
   at RhinoCodeEditor.Editor.Panels.Codes.CodeTabs.DrawTab(DrawInfo di, Tab tab, DrawStyle style)
   at RhinoCodeEditor.Editor.Panels.Codes.CodeTabs.Refresh(PaintEventArgs e)
   at Eto.Forms.Drawable.Callback.OnPaint(Drawable widget, PaintEventArgs e) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto\Forms\Controls\Drawable.cs:line 178
   at Eto.Wpf.Forms.Controls.DrawableHandler`3.EtoMainCanvas.OnRender(DrawingContext dc) in D:\BuildAgent\work\dujour\src4\DotNetSDK\Eto\src\Eto.Wpf\Forms\Controls\DrawableHandler.cs:line 78
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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]

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles