DynamoDS / Dynamo

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

Dynamo Crash when I try To open a long script #10647

Open LuisaCPBR opened 4 years ago

LuisaCPBR commented 4 years ago

If this issue is with Dynamo for Revit, please post your issue on the Dynamo for Revit Issues page.

If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.

Dynamo version

Dynamo: 2.3.0.5885

Operating system

OS: Microsoft Windows NT 10.0.18362.0 CLR: 4.0.30319.42000

What did you do?

I was trying to open a heavy script

What did you expect to see?

I was expecting the document to open,

What did you see instead?

but it crashed insteead 20200513_143545

LuisaCPBR commented 4 years ago

P.s. I'm using remote access (VPN + Windows Remote access)

QilongTang commented 4 years ago

@LuisaCPBR Hi thanks for reporting! To help us diagnose this, if you check the Open in Manual Execution Mode checkbox, does that crash still happen? image

LuisaCPBR commented 4 years ago

Hello @QilongTang I tried this way and It apparently works! (But it's strange cause I always save all of my scripts in the manual mode)

Amoursol commented 4 years ago

@LuisaCPBR Glad to hear you now have it working! Does this solve your original graph open problem?

QilongTang commented 4 years ago

@LuisaCPBR @Amoursol I am not sure what happened in this case, I tested again that Dynamo file open should respect the run mode serialized in graph. The only case I can think of is if you are opening a Dynamo 1.3 graph in Dynamo 2.x which I am not covering testing here.

LuisaCPBR commented 4 years ago

@LuisaCPBR Glad to hear you now have it working! Does this solve your original graph open problem?

Yes, I have not had this problem with this file anymore. Obs. It was created in 2.3, so I think that's not the problem @QilongTang

Ps. Sorry for the slow response

LuisaCPBR commented 4 years ago

20200519_172042 Still having trouble :(

LuisaCPBR commented 4 years ago

apparently, if I open it through the browser in Dyno Browser it works fine

mjkkirschner commented 4 years ago

can you provide the script and revit file?

LuisaCPBR commented 4 years ago

sure, could you give me a mail? (the github do not acept my .rar)

mjkkirschner commented 4 years ago

Hi @LuisaCPBR can you try changing the file extension to .txt manually?

LuisaCPBR commented 4 years ago

BUG.zip I managed to turn it into a ZIP, so I can send it.

Some additional information:

I suspect that this problem has something to do with the order of execution of the nodes. I've been using dynamo for just over 6 months and I never quite know when I have to use a transaction.end or passthough (I even looked for a more consistent explanation but the use is still a little confusing for me). I don't remember getting this error even once when I run it after running in Dynamo Player or Dyno Browser. Another factor to be considered is that I always use remote access (and by the way I never use the background just because it doesn't work for remote access). Thanks in advance,

LuisaCPBR commented 4 years ago

Ps. the bug Crash report from Dynamo 2.3.0.5885 #10641 happened in the same file