Grasshopper

algorithmic modeling for Rhino

When calling the new lib with "import ghpythonlib.components as ghcomp", I am getting this error:

Runtime error (MissingMemberException): 'LightException' object has no attribute 'components'

Long story short: I am not able to test the new Node in Code functionality. Any tips on hwo to resolve this?

Views: 1586

Replies to This Discussion

I would check to make sure all the necessary pieces are up to date

1 Most recent SR of Rhino 5 (SR7 at the time of this writing)

2 Most recent release of Grasshopper (0.9.0066 at the time of this writing)

3 Most recent release of ghPython (at least version 0.6.0.3)

SR7 did it. Thanx. And sorry for the late answer.

Testing this in the current WIP for Rhino 6 and getting the following error: (Is there a change in how the library is imported/called? I'm using import ghpythonlib.components as ghcomp)

Runtime error (MissingMethodException): Method not found: 'Void Microsoft.Scripting.Utils.ExceptionUtils.RemoveData(System.Exception, System.Object)'.

Traceback:
line 67, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\types.py"
line 115, in __build_module, "C:\Users\chanley\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonlib\components.py"
line 150, in <module>, "C:\Users\chanley\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\ghpythonlib\components.py"
line 14, in script

i am also getting this exception running grasshopper on RhinoWIP for mac - is there something i can do about it? i can't find the recommended releases for the mac version 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service