Problems with an old scripts-Windows 10

Hi everyone,
Maybe some of you had to deal with the same problem like I do right now.
I got the new computer at work with the operating system windows 10.
Now I have a problems with openning the dynamo scrips.
I got info like on the picture below12366
Before I had WIndows 7 and everything was working fine.
I have installed 3 Revit version 2017,2018,2019 and Dynamo version 1.3.3.4111
Thanks for help in advance.
Aleksandra

Can you post the log files associated with one of those attempts? The default location for these is AppData\Roaming\Dynamo\Dynamo Revit\1.3.

Hi sure,
I see there “unexpected error code 50”.
I have also problems with saving the new file, even though it is empty.
I couldn’t appload the file so I pased it here:
Dynamo log started 2018-11-22 07:18:57Z

2018-11-22 07:18:58Z : Dynamo – Build 1.3.3.4111

2018-11-22 07:18:59Z : Duplicate migration type registered for SunPathDirection

2018-11-22 07:18:59Z : Dynamo will use the package manager server at : https://www.dynamopackages.com

2018-11-22 07:18:59Z : Failed to delete package directory at "C:\Users\axxxxxxxxxxx\AppData\Roaming\Dynamo\Dynamo Revit\1.3\packages\Structural Design", you may need to delete the directory manually.

2018-11-22 07:19:00Z : System.InvalidOperationException:

2018-11-22 07:19:00Z : There already exists an AlsoKnownAs mapping for Fill Pattern Targets.

2018-11-22 07:19:00Z :

2018-11-22 07:19:00Z : System.InvalidOperationException:

2018-11-22 07:19:00Z : There already exists an AlsoKnownAs mapping for Fill Patterns.

2018-11-22 07:19:00Z :

2018-11-22 07:19:00Z : System.InvalidOperationException:

2018-11-22 07:19:00Z : There already exists an AlsoKnownAs mapping for Schedule Type.

2018-11-22 07:19:00Z :

2018-11-22 07:19:01Z : DynamoPackageManager (id: FCABC211-D56B-4109-AF18-F434DFE48139) extension is added

2018-11-22 07:19:01Z : Backup files timer is started with an interval of 60000 milliseconds

2018-11-22 07:19:01Z : SYSTEM:Environment Path:C:\Program Files\Autodesk\Revit 2018\en-US;C:\windows;C:\windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\IntelÂŽ Management Engine Components\iCLS;C:\Program Files\Intel\IntelÂŽ Management Engine Components\iCLS;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\IntelÂŽ Management Engine Components\DAL;C:\Program Files\Intel\IntelÂŽ Management Engine Components\DAL;C:\Program Files (x86)\Enterprise Vault\EVClient;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files (x86)\Autodesk\Backburner;C:\Program Files\Common Files\Autodesk Shared\Advance;C:\Users\axxxxxxxxxxx\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Autodesk\Revit 2018;C:\Program Files\Autodesk\Revit 2018;C:\Program Files\Autodesk\Revit 2018\AddIns\SteelConnections;C:\Program Files\Dynamo\Dynamo Core\1.3\

2018-11-22 07:19:01Z : RENDER : Rendering Tier: 2

2018-11-22 07:19:01Z : RENDER : Pixel Shader 3 Supported: True

2018-11-22 07:19:01Z : RENDER : Pixel Shader 4 Supported: False

2018-11-22 07:19:01Z : RENDER : Software Effect Rendering Supported: True

2018-11-22 07:19:01Z : RENDER : Maximum hardware texture size: 16384,16384

2018-11-22 07:19:02Z : RENDER : Rendering Tier: 2

2018-11-22 07:19:02Z : RENDER : Pixel Shader 3 Supported: True

2018-11-22 07:19:02Z : RENDER : Pixel Shader 4 Supported: False

2018-11-22 07:19:02Z : RENDER : Software Effect Rendering Supported: True

2018-11-22 07:19:02Z : RENDER : Maximum hardware texture size: 16384,16384

2018-11-22 07:19:02Z : DynamoManipulationExtension (id: 58B0496A-E3F8-43D9-86D2-94823D1D0F98) view extension is added

2018-11-22 07:19:02Z : NotificationsExtension (id: ef6cd025-514f-44cd-b6b1-69d9f5cce004) view extension is added

2018-11-22 07:19:02Z : Welcome to Dynamo!

2018-11-22 07:19:02Z : 00:00:00.4521840 elapsed for loading Dynamo main window.

2018-11-22 07:19:03Z : WPF Render Mode: SoftwareOnly

2018-11-22 07:19:09Z : Original file ‘Numbers.dyn’ gets backed up at ‘H:\Desktop\Moje\Ex_Files_Dynamo_Revit_Python_Scripting\Ex_Files_Dynamo_Revit_Python_Scripting\Exercise Files\02_02\End\backup\Numbers.dyn.1.backup’

2018-11-22 07:19:09Z : notification:Error Opening File:

Unknown error opening file: H:\Desktop\Moje\Ex_Files_Dynamo_Revit_Python_Scripting\Ex_Files_Dynamo_Revit_Python_Scripting\Exercise Files\02_02\End\Numbers.dyn:

System.InvalidOperationException: 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.Graph.Workspaces.WorkspaceModel…ctor(IEnumerable1 nodes, IEnumerable1 notes, IEnumerable1 annotations, WorkspaceInfo info, NodeFactory factory, IEnumerable1 presets, ElementResolver resolver)

at Dynamo.Graph.Workspaces.HomeWorkspaceModel…ctor(EngineController engine, DynamoScheduler scheduler, NodeFactory factory, IEnumerable1 traceData, IEnumerable1 nodes, IEnumerable1 notes, IEnumerable1 annotations, IEnumerable`1 presets, ElementResolver resolver, WorkspaceInfo info, Boolean verboseLogging, Boolean isTestMode)

at Dynamo.Models.DynamoModel.OpenHomeWorkspace(XmlDocument xmlDoc, WorkspaceInfo workspaceInfo, WorkspaceModel& workspace)

at Dynamo.Models.DynamoModel.OpenFile(WorkspaceInfo workspaceInfo, XmlDocument xmlDoc, WorkspaceModel& workspace)

at Dynamo.Models.DynamoModel.OpenFileFromPath(String xmlPath, Boolean forceManualExecutionMode)

at Dynamo.Models.DynamoModel.ExecuteCommand(RecordableCommand command)

at Dynamo.ViewModels.DynamoViewModel.Open(Object parameters)

2018-11-22 07:20:01Z : Saving C:\Users\axxxxxxxxxxx\AppData\Roaming\Dynamo\Dynamo Revit\backup\backup.DYN …

2018-11-22 07:20:01Z : Backup file is saved: C:\Users\axxxxxxxxxxx\AppData\Roaming\Dynamo\Dynamo Revit\backup\backup.DYN

Looks like a permissions issue. Move the files to your C drive and see if that clears it up.

1 Like

Hi,
That actually helped:)
Thank you :star_struck:

1 Like