-
Notifications
You must be signed in to change notification settings - Fork 636
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
Dynamo DesignScript graphs become unresponsive due to class clash with Archi-lab package #7697
Comments
Definitely not exclusive to ArchiLAB. I've seen similar things with other zero touch libraries as well. I won't name them here as to not call anyone out. That being said, I agree that this is something that needs remedied because I have seen it be an issue in a Dynamo workshop at AU2015. |
@ThomasMahon is this the |
For associative language (i.e. code outside the More importantly I just realized that adding the fully resolved name for the class doesn't work AT ALL inside imperative language blocks and has been an issue all along!
Unfortunately I can't think of a workaround right now. @riteshchandawar @kronz this is MAJOR and must be addressed. |
@monikaprabhu could you log this? |
@aparajit-pratap yes, @sixtysecondrevit this is an issue with classes conflicting (ambiguous references) with DS, not a package issue (package was only mentioned to describe the problem). The same thing happens in certain cases when writing Python nodes that call methods from the |
There's 2 issues here, each of which we are addressing in Dynamo 2.0. |
@kronz are you suggesting we should incorporate this idea of having privileged namespaces? As you mentioned, right now we do not, and there were certain reasons why we decided not to go ahead with the idea of giving privileged status to out of the box namespaces. Other than currently lacking the support for automatic namespace resolution inside imperative blocks, I do not see any other issues we have with conflicting namespaces; do we have any? In other words I feel confident of the robustness of the current namespace resolution strategy we have in place so would be interested to learn of cases where it fails. I'll understand if it is a little confusing or hidden for users since the only way to recognize if there are namespace conflicts right now are using autocomplete in CBN's. This is only to raise more points for our discussion next week. |
I was facing the same issue. Another thing I noticed is that the autocomplete feature is buggy and a few functions don't show up while typing, but they do work when you completely type them out.
|
Tracked internally as QNTM-5647. |
Fixed in #9252. Please verify and close. |
Does this mean this issue has been fixed? -Thanks |
Next release. Keep an eye out on http://dynamobuilds.com/ |
Dynamo version
1.2.1
Operating system
Win 10
What did you do?
Ran a script with approx 2k lines of Imperative DesignScript.
What did you expect to see?
The script to execute (its been in use successfully for months)
What did you see instead?
The graph is completely unresponsive and the cause is a clash with Archi-labs
List
class. This is what I narrowed it down to, and so I added DSCore.List to allList
objects in my DS. It still doesn't solve the problem. My only option is to completely uninstall Arch-lab package, but its distributed across my clients office and relied upon by a number of their users so I can't use this as my solution.Considering these clashes cripple Dynamo graphs, the purpose of reporting this issue is to suggest a more robust approach to DesignScript libraries and third-party libraries to prevent this from happening.
If you need the example DYN to run tests, I can provide one.
The text was updated successfully, but these errors were encountered: