Cant launch Dynamo player/Dynamo for Revit 2021 suddenly

Hello,

I am trying to launch Dynamo for Revit in 2021 which stopped working today suddenly.
image

(@jacob.small apologies for the tag… You seem to be able to figure out what’s wrong very quickly, and my issue is time sensitive unfortunately…)

Below also my Log, it appears there are some issues with packages, so i deleted the entire folder but nothing changes. Ive updated Revit, cleared the settings but its not working, and new logs contain no text data at all.

Dynamo log started 2023-03-07 09:07:06Z
2023-03-07 09:07:06Z : Python template set to default.
2023-03-07 09:07:06Z : Dynamo – Build 2.6.2.15705
2023-03-07 09:07:06Z : Duplicate migration type registered for SunPathDirection
2023-03-07 09:07:08Z : Dynamo will use the package manager server at : https://www.dynamopackages.com
2023-03-07 09:07:08Z : Build error for library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll
2023-03-07 09:07:08Z : Can’t import System.Collections.Generic.Dictionary2+ValueCollection[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], ValueCollection is already imported as System.Collections.Generic.Dictionary2+KeyCollection[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], namespace support needed.
2023-03-07 09:07:08Z : Failed to load library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll
2023-03-07 09:07:08Z : notification:Dynamo.Exceptions.LibraryLoadFailedException: Failed to load library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll:
Failed to load library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll:
Build error for library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll
Can’t import System.Collections.Generic.Dictionary2+ValueCollection[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], ValueCollection is already imported as System.Collections.Generic.Dictionary2+KeyCollection[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], namespace support needed.
2023-03-07 09:07:08Z : Dynamo.Exceptions.LibraryLoadFailedException:
2023-03-07 09:07:08Z : Failed to load library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll
2023-03-07 09:07:08Z :
2023-03-07 09:07:08Z : Dynamo.Exceptions.LibraryLoadFailedException: Failed to load library: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\bin\itextsharp.dll
2023-03-07 09:07:08Z : Genius Loci contains the node library Package.customization, which has already been loaded by another package. This may cause inconsistent results when determining which package nodes from this node library are dependent on.
2023-03-07 09:07:08Z : System.InvalidOperationException:
2023-03-07 09:07:08Z : There already exists an AlsoKnownAs mapping for Sheets.
2023-03-07 09:07:08Z :
2023-03-07 09:07:08Z : System.InvalidOperationException:
2023-03-07 09:07:08Z : There already exists an AlsoKnownAs mapping for Roof Types.
2023-03-07 09:07:08Z :
2023-03-07 09:07:08Z : The folder ‘C:\ProgramData\Autodesk\RVT 2021\Dynamo\2.6\packages\GenerativeDesign\dyf’ does not exist
2023-03-07 09:07:09Z : The folder ‘C:\ProgramData\Autodesk\RVT 2021\Dynamo\2.6\packages\GenerativeDesign.Extension\dyf’ does not exist
2023-03-07 09:07:09Z : The folder ‘C:\ProgramData\Autodesk\RVT 2021\Dynamo\2.6\packages\GenerativeDesign.Revit\dyf’ does not exist
2023-03-07 09:07:10Z : DynamoPackageManager (id: FCABC211-D56B-4109-AF18-F434DFE48139) extension is added
2023-03-07 09:07:10Z : Backup files timer is started with an interval of 60000 milliseconds
2023-03-07 09:07:10Z : SYSTEM:Environment Path:C:\ProgramData\Autodesk\Revit\Addins\2021\InfraWorks;C:\Autodesk\Revit 2021\AddIns\SteelConnections;C:\Autodesk\Revit 2021\en-US;C:\Autodesk\Revit 2021;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft SQL Server\120\Tools\Binn;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files\dotnet;C:\Program Files\Common Files\Autodesk Shared\Advance;C:\Program Files (x86)\Common Files\Autodesk Shared\Advance;C:\Users\HarryB\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Common Files\Autodesk Shared\Advance;C:\Program Files (x86)\Common Files\Autodesk Shared\Advance;C:\Autodesk\Revit 2021\AddIns\DynamoForRevit;C:\Autodesk\Revit 2021\AddIns\DynamoForRevit;C:\Autodesk\Revit 2021\AddIns\DynamoForRevit
2023-03-07 09:07:10Z : notification:System.IO.FileLoadException:
Dynamo has detected a conflict with a dependency and may be unstable. If any issues are detected, please uninstall addins or packages and contact the provider.:
While loading assembly RhythmRevit, Version=2021.1.1.0, Culture=neutral, PublicKeyToken=null, Dynamo detected that the dependency AdWindows, Version=2018.11.1.0, Culture=neutral, PublicKeyToken=null was already loaded with an incompatiable version. It is likely that another Revit Addin has loaded this assembly, please try uninstalling other Addins, and starting Dynamo again. Dynamo may be unstable in this state.
It is likely one of the following assemblies loaded the incompatible version:
UIFrameworkInterop, UIFramework, UIFrameworkServices, AdApplicationFrame, FabricationPartBrowser, RevitAPIUI, Autodesk.Revit.CloudRendering.Application, ConnectedDesktopUI, ContentDelivery, DrxCommon, BrxCommon, RrxCommon
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\archi-lab.net\dyf\Get Built In Parameter.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\Document.ElementTypes.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\Element.Name+.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\archi-lab.net\dyf\Contains.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\Passthrough.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\Export DWG in Document.dyf
2023-03-07 09:07:11Z : Original file ‘Export DWG in Document.dyf’ gets backed up at ‘C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\backup\Export DWG in Document.dyf.264.backup’
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\Print PDF (multiple formats).dyf
2023-03-07 09:07:11Z : Original file ‘Print PDF (multiple formats).dyf’ gets backed up at ‘C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\backup\Print PDF (multiple formats).dyf.264.backup’
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\FilenameToFilePaths.dyf
2023-03-07 09:07:11Z : Original file ‘FilenameToFilePaths.dyf’ gets backed up at ‘C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\backup\FilenameToFilePaths.dyf.264.backup’
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\String.ReplaceIllegalFilenameCharacters.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\TurnIntoList.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\ReturnListOrSingleValue.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\spring nodes\dyf\Dictionary.ByKeysValues.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\Print Settings ByName.dyf
2023-03-07 09:07:11Z : Original file ‘Print Settings ByName.dyf’ gets backed up at ‘C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Genius Loci\dyf\backup\Print Settings ByName.dyf.264.backup’
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\archi-lab.net\dyf\Clear List.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\DropDown Data.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\RadioButtons Data.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\ElementType.ByName.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\ScopeIf+.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\SteamNodes\dyf\Tool.RunMe.dyf
2023-03-07 09:07:11Z : Original file ‘Tool.RunMe.dyf’ gets backed up at ‘C:\Dynamo\Dynamo Settings\Revit\2.6\packages\SteamNodes\dyf\backup\Tool.RunMe.dyf.264.backup’
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\TextBox Data.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\MultipleInputForm ++.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\Data.ExportCSV+.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\archi-lab.net\dyf\Current Document.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\Listview Data.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\spring nodes\dyf\Document.DeleteElements.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Clockwork for Dynamo 2.x\dyf\Booleans.AnyTrue.dyf
2023-03-07 09:07:11Z : Loading node definition for “Dynamo.CustomNodeInfo” from: C:\Dynamo\Dynamo Settings\Revit\2.6\packages\Data-Shapes\dyf\Number to Rounded String .dyf
2023-03-07 09:07:11Z : Active view is now Tekeningenlijst 150kV gebouw en situatie
2023-03-07 09:07:57Z : Active view is now Tekeningenlijst 150kV gebouw en situatie
2023-03-07 09:08:25Z : Active view is now Tekeningenlijst 150kV gebouw en situatie
2023-03-07 09:08:48Z : Clearing workspace…
2023-03-07 09:09:11Z : Backup file is saved: C:\Users\HarryB\AppData\Roaming\Dynamo\Dynamo Revit\backup\backup.DYN

Sadly this appears to be the analytics break which I am not sure how to fix, but it is impacting quite a few people of late. Best path forward: submit a support ticket for the Revit team so they can get you i. Touch with the right people and see if the larger collection of user issues can lead to a hotfix or repair tool. Do so via the accounts portal at manage.Autodesk.com.

Thank you Jacob, will do…

Would it be worthwhile to try and reinstall Revit?

Unlikely, as analytics is system wide. I’d tell you to try modifying settings manually outside of the application(s), but fear that might lock you out of more software, and I have client deadlines today so I can’t test for myself first. A different CPU might be the best bet in the near term; don’t transfer any user settings.

Just heard back from a developer - go to %appdata%/Analytics/ and delete or rename the file csharpanalytics-measurementqueue and csharpanalytics-measurementsession to something else and see if that fixes it.

Hi Jacob,

I renamed the files in the appdata/roaming/analytics folder, unfortunately nothing changed…

We use server profiles in our office, does this mean the affected user should not log into his server profile on a different computer?

I’m having the same issue for about 50 users. Hit everyone at the same time (today)

It hit my affected user as well today, 4 hours ago…

This seems like an incredibly urgent issue for Autodesk…

can you please show a screenshot of the stacktrace you get for your users.

Hi @Garbage_Collector so if this is the issue we think it is then it’s caused by a bug in Dynamo’s analytics code.

It happens when Dynamo engine is started, shutdown, and restarted in the same session of Revit - while analytics is enabled.

Player,GD, or other addins might start and shutdown Dynamo causing this issue - for example, Nonica, Dyno etc.

so some steps to try:

  1. Remove all addins that create and interact with Dynamo (Nonica, Dyno etc)
  2. try disabling analytics both GA and ADP - try disabling analytics from the dynamoSettings.xml file.
  3. try disabling ADP from Revit or from the ADP global config - set optin to 0 - this is in %appData% (AppData\Roaming\Autodesk\ADPSDK)

some questions:
A. when you see this issue, does it happen only after restarting Dynamo in a Revit session, or as soon as you launch a clean Revit?
B. Did you install anything recently?
C. Do you see other stack traces when starting Dynamo - one saying Null Reference IsOptedIN - this is another known analytics issue that should be addressed soon, but may be causing confusion for those in this thread as it also stops Dynamo from launching.

Hi Michael,

I will try these suggestions tomorrow.
Meanwhile, i also got a response from Autodesk, which suggested the same things:

Thank you very much for sharing the log and the screenshot of the message. As the first steps, please check the following:

  1. Disable add-ins for Revit.
  2. Move the installed packages from C:\Users%username%\AppData\Roaming\Dynamo\Dynamo Revit<version>\packages to a different folder.

Please check if any of the actions helped you to resolve the issue. In the meantime, I will reach out to our development team for further investigation of the issue. Thank you very much for your efforts and patience.

Autodesk is looking into this issue, when something works or Autodesk suggests anything else ill get back to you tomorrow.

2023-03-07_06-41-51
2023-03-07_09-15-36

Both started today.

@janaya thanks - can you confirm what version of the ADP binaries in this folder
%appData%\Roaming\Autodesk\ADPSDK\bin - properties-> details on ADPSDKCore.dll

@janaya please see: If you cannot launch Dynamo in Revit 2021 with NullReference IsOptedIn error

5 Likes

Similar, my dynamo doesn’t works

I think we have found a solution, at least temporarily.
It seems that you can just delete the Bin folder.

C:\AppData\Roaming\Autodesk\ADPSDK\bin

Revit recreates this folder upon startup, and it was exactly reproduced upon starting Dynamo.

After deleting it, Dynamo works again in version 2021.

We tested this on a bunch of PC’s - It seems that nothing is affected by this method.

1 Like

Hi @jacob.small

One of my users is unable to launch Dynamo now in any version of Revit. The error seems unrelated to the Analytics issue, however i didnt want to open a new thread for it.

Do you have an idea what could cause the following error:

This one is quite a bit different. Best to rule out an add-in conflict by disabling everything bolted onto Revit, and renaming all Dynamo package folders. From there see if the issue persists. If a Dynamo log is generated posting that would be good to.

1 Like