Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Script Crashes Revit and Dynamo. Reproducible Sample Script. #15090

Open
NonicaTeam opened this issue Apr 5, 2024 · 2 comments
Open
Labels
crash Related to a crash. tracked

Comments

@NonicaTeam
Copy link

NonicaTeam commented Apr 5, 2024

Dynamo Version

3.0.3
version

Host

Revit 2025. This only happens in Revit 2025. I tested in other versions and it seems to not happen there.

Operating System

Windows 10

What did you do?

Open a script and hit run. I disabled external Revit Addins and same error appears. Attached you the script causing the crash.

What did you expect to see?

Warnings and errors in the execution of the script. Image before running.
before running

What did you see instead?

Revit crashes completely. I debugged it and this is the error I get.
after running

What packages or external references (if any) were used?

packages

Stack Trace

Attach you link to download Dynamo script:
https://nonica.io/wp-content/uploads/2024/04/3.-Clash-Detection.dyn

Details

Recent logs:
dynamoLog_2c4c6a98-1465-4c08-8175-42a7a684fbed.txt
dynamoLog_19d3eef8-344e-444c-aae3-420719836b00.txt
dynamoLog_0fdfe960-92ea-404f-9276-a95c7e738e46.txt
dynamoLog_213fa9e0-0ad5-4287-a0ad-64be7f97e21e.txt
dynamoLog_e14517e5-8475-413c-b571-3a83b520f351.txt

@avidit avidit added tracked crash Related to a crash. labels Apr 5, 2024 — with Slack
@johnpierson
Copy link
Member

johnpierson commented Apr 8, 2024

Hi @NonicaTeam, I have a few questions that might help us get to the bottom of this.

  • Are you running this graph in Dynamo UI, or is this in a "headless" state using NonicaTAB?
  • Have you tested all the packages used in this graph with Dynamo 3.0.x and Revit 2025? (on their own external to this graph)
    • With Revit 2025 being as new as it is, I wonder if all the packages used have been able to be updated and tested. I am particularly curious about Data-Shapes and BIMorph nodes.

@NonicaTeam
Copy link
Author

NonicaTeam commented Apr 8, 2024

Hey John,
Sure, no problem!
1.-This issue came when running through the standard Dynamo UI. I fully uninstalled it to check if the issue was coming from our side.
2.-Indeed, some of the packages included in the script are not updated to Revit 2025 (Core) and are suitable for previous versions of Revit.
Nonetheless, I think that Dynamo shouldn´t crash Revit in that scenario, in my opinion, it should be able to manage such exceptions.
I hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Related to a crash. tracked
Projects
Status: Todo
Development

No branches or pull requests

3 participants