-
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
Migration issue: Namespace collisions #4821
Comments
@andydandy74 thanks for pointing this out. Will take a look and reply to you shortly. |
@andydandy74 I'm unable to reproduce this bug with the Clockwork package installed. Could you describe the steps to reproduce in more detail? Also which are the packages you have installed on your system. Perhaps it is some other package that is conflicting that I should try out. Thanks. |
Okay, I know why this is happening. The Clockwork package was created using code block nodes prior to the introduction of the namespace resolution work. In the absence of any conflicting DLL's if in the current version of Dynamo (or other post 0.8.0 version), you recreate any one of the Clockwork custom nodes, say
Observe the extra In the absence of this mapping information (such as in the older Clockwork DYF files) however, there is no way to resolve the nodes as the system cannot decide which namespace (among a conflicting set) to use for the node. You may then ask that if someone needs to create a new package of custom nodes using CBN's, will they always have to uninstall all conflicting packages first. The answer is no, because in such a case, the moment you try creating a CBN, the autocomplete will kick in and prompt for all the namespaces having In the case of Clockwork package, the only suggestion I can think of right now is to manually update all the DYF's in the package with the following XML:
as shown in the sample XML file above, and then to update the package on the package manager. |
@aparajit-pratap - thanks for looking into it. Since this is - if I understand you correctly - a legacy issue, I will close it. |
Either way should be fine. |
@aparajit-pratap - (if I understood you correctly) at the end of the discussion regarding #3208 you were saying that namespace collisions would no longer occur in existing custom nodes that use code blocks, i.e. they would automatically default to Dynamo's built-in namespaces. I recently tried running some of the Color nodes in package Clockwork and it looks as though namespace collisions are not resolved automatically (any more?).
I am not sure which package is interfering but I now have to call
Color.ByARGB()
asDSCore.Color.ByARGB()
...0.8.1 RC 2
The text was updated successfully, but these errors were encountered: