currently i am trying to get the data-shapes package working on my Dynamo. Although it is labeled as CPython3 in the Packagedetails, i still get this error, as soon as i use any of the data-shapes codeblocks:
I already tried installing the IronPython2.7 Package by Dynamo as proposed in this thread:
At this point, i dont know what to do anymore. I think the data-shapes should already be up to date and even if it wasn’t I installed the compatability package for Python 2 aswell. Any advice or ideas what it could be?
Oh, problem is: as soon as i open one of the files which contain any of the data-shapes package it breaks the file. All the codeblocks are overlapping in one spot in the center and it doesnt run at all.
I just did a fresh installation of Revit and entirely deleted the old one - still the same problem. I scouted all Addins folders for remnants but it looks clean to me. Any other ideas?
Post a journal and a Dynamo log so we can see some of what is going on. Otherwise we are attempting to blindly guide you to the nearest taco stand (yes it is lunch time here) without any clue where you’re starting from.
Enjoy lunch then! I hope the taco does it’s job!
I just did some more testing and when I remove the data-shapes package it works as intended, but for what i have to do i am heavily relying on it, so i’d rather not go without
According to the log-file it seems like you have multiple definitions for a "SunPathDirection’ node which are conflicting with eachother. What packages are you using, perhaps they are conflicting with each other.
I suggest manually deleting Custom Packages folder completely and to only reinstall Data-Shapes to see if that fixes it. (Or move the folder)
That is very akward because I’m not using that node at all nor is it present in my Library to use it. I have no other packages installed except GenerativeDesign and data-shapes.
I just tried, it happens as soon as i use any of the codeblocks provided by the data-shapes package, in any file. As long as i dont use any of the codeblocks provided, but the addon installed, nothing happens.
I have not linked the codeblock to any other nodes in this example. Also i keep getting the specific error that the codeblock “MultipleInputForm” is using the old Python version still.
It’s a Revit issue, not a Dynamo one. Leave your packages folder with just IronPython and Data-Shapes, and look elsewhere.
Then open the journal and do some searching. Any time you see this line in a journal you can guess you’ll have some issues in Dynamo:
’ 0:< API_ERROR { : Assembly version conflict in some references in *add in name* assembly
'Addin’s module Newtonsoft.Json of version 11.0.0.0 conflicts with same preloaded module of version 12.0.0.0 }
Newtonsoft.Json is what Dynamo uses to read the files; if that assembly breaks or loads in a different way, then Dynamo can’t read everything it needs when opening the file and you get the clustered mess.
Before digging into anything, make sure everything is updated. This includes interacting tools (ie: FormIt), as well as hosts (ie: Revit). I’m seeing you are on 'Branch: RELEASE_2023.0.1` from line 5 of the journal. That indicates you are missing 4 Revit updates. Get those installed as your first step. Then move onto FormIt and other applications which interact with Revit (Navisworks looks to show up in your add-in vendors, but that may be a misnomer from Revit consuming something the Navisworks team wrote). Then see if the issue persists.
Thank both of you so much for your time and effort! The updating of Revit did the trick, i thought because I just got a fresh install today it should be good - but I was wrong! I feel a bit stupid now but i suppose the result is what counts
10/10, very helpful and thanks again for your patience!