DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.71k stars 628 forks source link

Crash Report 20170530 #7909

Open vykrum opened 7 years ago

vykrum commented 7 years ago

Dynamo version

1.3.0.875

Operating system

Windows 7

What did you do?

Last, added a comment in a code block

What did you expect to see?

Nothing, as the file was working alright. Actually made no significant alteration before the crash.

What did you see instead?

Crash window appeared during a period of inactivity 20170530-1

Method failed with unexpected error code 50.

   at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
   at System.Security.AccessControl.FileSystemSecurity..ctor(Boolean isContainer, String name, AccessControlSections includeSections, Boolean isDirectory)
   at System.Security.AccessControl.DirectorySecurity..ctor(String name, AccessControlSections includeSections)
   at DynamoUtilities.PathHelper.HasWritePermissionOnDir(String folderPath)
   at DynamoUtilities.PathHelper.IsReadOnlyPath(String filePath)
   at Dynamo.Controls.PathToFileNameConverter.Convert(Object value, Type targetType, Object parameter, CultureInfo culture)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   at MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
   at System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   at System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Microsoft.Practices.Prism.ViewModel.NotificationObject.RaisePropertyChanged(String propertyName)
   at Dynamo.ViewModels.WorkspaceViewModel.ModelPropertyChanged(Object sender, PropertyChangedEventArgs e)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Dynamo.Core.NotificationObject.RaisePropertyChanged(String propertyName)
   at Dynamo.Models.DynamoModel.<SaveBackupFiles>b__3b()
   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)
ksobon commented 7 years ago

It looks like a failure from the autosave functionality. Write access issue...how is that even possible since autosave files are saved to non-restricted path in users folder. Am i right?

QilongTang commented 5 years ago

@ksobon You are right, also seems related to https://github.com/DynamoDS/DynamoRevit/issues/1356 and https://forum.dynamobim.com/t/dynamo-cant-open-script-files-that-are-offline-file-versions/11614