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

Crash report from Dynamo 2.16.4.10216 #3141

Open
Semamzadehei opened this issue Feb 10, 2025 · 4 comments
Open

Crash report from Dynamo 2.16.4.10216 #3141

Semamzadehei opened this issue Feb 10, 2025 · 4 comments

Comments

@Semamzadehei
Copy link

Issue Description

Please fill in the following information to help us reproduce the issue:

Dynamo version

Dynamo: 2.16.4.10216

Operating system

OS: Microsoft Windows NT 10.0.19045.0

What did you do?

(Fill in here)

What did you expect to see?

(Fill in here)

What did you see instead?

(Fill in here)

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

Stack Trace

(From the Dynamo crash window select 'Details' -> 'Copy' and paste here)

CLR: 4.0.30319.42000

@Semamzadehei
Copy link
Author

It keeps happening! its getting annoying.

Copy link

Hello Semamzadehei, thank you for submitting this issue! We are super excited that you want to help us make Dynamo all that it can be. However, we need some more information in order for the Dynamo team to investigate any further.

Can you please fill in the following to the best of your ability:

  • What did you do?
  • What did you expect to see?
  • What did you see instead?.

Additional information:

  • Filling in of the provided Template (What did you do, What did you expect to see, What did you see instead, What packages or external references (if any) were used)
  • Attaching the Stack Trace (Error message that shows up when Dynamo crashes - You can copy and paste this into the Github Issue)
  • Upload a .DYN file that showcases the issue in action and any additional needed files, such as Revit (Note: If you cannot share a project, you can recreate this in a quick mock-up file)
  • Upload a Screenshot of the error messages you see (Hover over the offending node and showcase said errors message in the screenshot)
  • Reproducible steps on how to create the error in question.

@Semamzadehei
Copy link
Author

I am trying to open models in Dynamo background. I wrote a python code that would do that and get the elements I want out of each model but most of the time it crashes!

@johnpierson
Copy link
Member

Hi there, @Semamzadehei , are you opening Revit models in the background?

You will need to ensure to run Dynamo in "manual run mode" and not close the documents during your active session. If you can, please share sample files for us to test.


Background documents are very difficult to work with in Dynamo and something that I have quite a bit of experience with as the author of the Rhythm package. I would say to keep the following in mind:

  1. Once you open a Revit file in the background, do not close it, until you are done using it downstream.
  2. Once closed, you will need to close your Dynamo graph and reopen or you will run into an error because the document is lost.
  3. If possible, do all of your actions in one node, in your case Python. If you do the open action along with any queries or changes, then close the file in one python node, it should not crash.

@johnpierson johnpierson transferred this issue from DynamoDS/Dynamo Feb 11, 2025
@github-actions github-actions bot added the Crash label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Status: Triage
Development

No branches or pull requests

3 participants