DynamoDS / Dynamo

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

Dynamo 2.17.0.3472 - Civil 3d - Loading times excruciatingly long #14011

Open ottoxinauzer opened 1 year ago

ottoxinauzer commented 1 year 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

2.17.0.3472

Operating system

Windows 11

What did you do?

Opened Dynamo using launchdynamo command

What did you expect to see?

software ready to be used

What did you see instead?

7 minutes loading time, then again 7 minutes to open the selected graph... I have attached a log from Civil3d as well, I can read something related to AeccDesktopConnector.DesktopConnectorException, I don't know if it has something to do with the errors or not. dynamoLog_2ad513f0-8b1b-4428-b5f2-53a7354c5931.txt dynamoLog_56c71644-3f3a-4cf7-bf86-a67d2b43f76a.txt

Attached are two logs reports. One from a session that worked fine, and the other one from one of the many try-outs to have it loaded. AeccLog-2023-05-19.log

github-actions[bot] commented 1 year ago

Thank you for submitting the issue to us. We are sorry to see you get stuck with your workflow. While waiting for our team member to respond, please feel free to browse our forum at https://forum.dynamobim.com/ for more Dynamo related information.

Amoursol commented 1 year ago

@ottoxinauzer this is indeed a wild amount of time to open a graph. If it manual mode it should be ~16 seconds to open right now. We will look into this.

mjkkirschner commented 1 year ago

what version of Civil3d is this?

scott-sun-autodesk commented 1 year ago

@ottoxinauzer From the log, Dynamo was always trying to save and backup the following file because of some python code errors. C:\Users\raphael.pontes.GOLDBECKSOLAR\AppData\Roaming\Autodesk\C3D 2024\Dynamo\backup\numberingpiles-DOUBLE.dyn Could you remove that backup file to see if that helps solve the problem?

ottoxinauzer commented 1 year ago

@ottoxinauzer From the log, Dynamo was always trying to save and backup the following file because of some python code errors. C:\Users\raphael.pontes.GOLDBECKSOLAR\AppData\Roaming\Autodesk\C3D 2024\Dynamo\backup\numberingpiles-DOUBLE.dyn Could you remove that backup file to see if that helps solve the problem?

yep, this solved the issue! Thanks for your insight Scott!

QilongTang commented 1 year ago

@scott-sun-autodesk Other than removing the backup file, is there any change we should make to Dynamo4C3D or DynamoCore?

scott-sun-autodesk commented 1 year ago

@scott-sun-autodesk Other than removing the backup file, is there any change we should make to Dynamo4C3D or DynamoCore?

@QilongTang I believe that there must be something wrong with backup logic in DynamoCore when the script contains some errors, which will result in saving and backing up same file again and again.

@ottoxinauzer I'm not sure if it's possible for you to share the script file - numberingpiles-DOUBLE.dyn so that we can reproduce this issue and fix it in DynamoCore to avoid this happen again.