One of my coworkers has this weird problem that after installing Dynamo he cannot run any python nodes (not even from custom packages like Lunchbox or Modelical). They all present the error:
IronPythonEvaluator.EvaluateIronPythonScript operation failed
Traceback (most recent call last):
File “”, line 2, in
IOError: System.IO.IOExecption: Could not add reference to assembly ProtoGeometry at IronPython.Runtime.ClrModule.AddReference(CodeContext context, String name)
…
The traceback differs per python script, but as far as I can see is always the IOError.System.IO.IOException.
So far we’ve reinstalled Dynamo, reinstalled Revit, tried different versions of dynamo & Revit.
Looked up on this forum and found a similar problem someone had (can’t find this post anymore). This person had IronPythonShell 2.7.2 and 2.7.3 installed. I’ve verified that on this PC only 2.7.3 is installed.
All the OOTB nodes provided with Dynamo work flawlessly, but as soon as I use Python I get this error message and the script outputs a null value.
What is causing this problem and more important how can I solve this issue?
can you try removing all packages and try again with a clean dynamo?
Also if you have sandbox installed in your DynamoCore folder try from there as well.
@Kulkul
Hi, I have same problem now.
And as you suggested, I have only the folder Dynamo Core 1.3
But I am using Dynamo core 2.6.1 / Dynamo Revit 2.6.1
What do I have to do?