Grasshopper

algorithmic modeling for Rhino

Hi There,

I'm testing Rhino 6 which comes with Gh version 1 (Build 1.0.004) and for soem reason HB and LB does not run properly. Most of all other plug-ins for GH runs smoothly on GH 1. This is the error that I get :

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 8, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py"
line 12, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\ntpath.py"
line 63, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py"
line 7, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\shutil.py"
line 68, in script

Cheers

Views: 2653

Replies are closed for this discussion.

Replies to This Discussion

Hi Claudio,

Thank you for reporting this. Which component gives you this error? If it is Ladybug_ladybug, can you comment line 68 rc.Runtime.HostUtils.DisplayOleAlerts(False). I assume there have been changes to RhinoCommon API.

Mostapha

Hi Mostapha and sorry for the delay, super busy.

Actually the problems are caused by Honeybee_HoneyBee and LadyBug_LadyBug as the image bellow

To answer your question there is no more data coming from the components other than the ones you see in the image.

HoneyBee:

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 8, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py"
line 12, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\ntpath.py"
line 63, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py"
line 7, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\shutil.py"
line 68, in script

LadyBug:

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 8, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\warnings.py"
line 12, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\ntpath.py"
line 63, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\os.py"
line 7, in <module>, "C:\Program Files\Rhino WIP\Plug-ins\IronPython\Lib\shutil.py"
line 61, in script

Hope it helps

cheers

Hi,

Just wanted to report that in my machine it runs fine. So this is a local issue i believe.

-A.

Hmm that sounds bad. I did an update on Rhino WIP and LB and HB. And I get the same result.

Any ideas...

cheers

What is the version of IronPython in your Rhino WIP installation? The issue is happening in shutil.py and doesn't have to do anything specific with Ladybug or Honeybee.

Well it looks that Rhino 6 WIP its running an earlier version of Phyton at lest in my machine. I dont know how Abraham manages to make it work. Is there a way to update manually IronPhyton? I guess thats a question for an other forum.

Thanks for the follow up

cheers

After running the version check  on my Rhino 6 WIP I get this 

2.7.5 (IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.42000 (64-bit))

BTW I do have the latest version of rhino 6 wip

Rhino 5 latest SR gives me this version:

2.7.3 ()

Ok good News and bad news.

I updated to the lastest IronPhyton from this site 

http://ironpython.net/

And now HB and LB works on RH-6 but makes RH-5 to crash...Anyhow I'll stick to RH-6 from now on

Thank you all

Don't know what's going on but i can run both 5 and 6 together.

I have IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.42000 (64-bit))

So i believe something else is in conflict with Rhino.

-A.

Hi Abraham and Mostapha.

I just change my work sattion for a newr one. And I get the same error as before. I did update Python to the latest version. And still have the same problem.

I also have this issue but I didn't try to fix it. Still using version 5.

To find the version open a GHPython component and type:

import sys

print sys.version

If you have Dynamo installed then you have another version of IronPython installed under Program Files folder. You can find the version like this:

As far as I read in other discussions the version of IronPython should be the same as the version of IronPython on Rhino 6. I will test this at some point myself and report back here. If you don't use IronPython in Dynamo just uninstall the IronPython which is installed in Program Files folder and everything should work fine.

Hope it helps.

Mostapha

I also try with Rhino 5 and the latest GHPython Component. And I get this results:

Ladybug:

Runtime error (ImportException): No module named Grasshopper
Traceback:
line 58, in script

HoneyBee:
Runtime error (ImportException): No module named Grasshopper
Traceback:
line 63, in script

I must say that I have 2 versions of Python 2.7.13 and 3.6.0 (the executor of the latest has being renamed python3.exe in order to differentiate them. I need 2.7.7) 

this is what I get from RHINO 6 WIP:

2.7.5 (IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.42000 (64-bit))

And Rhino 5 64bit:

2.7.3 () nothing on the .NET

Here is a screenshot of Rhino 5.

ARRRRRRRGGGGG!!!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service