Grasshopper

algorithmic modeling for Rhino

Hi. I have a problem loading the plugin.

I don't get this, because it seems that Rhino can load the plugin, but after it is "successfully loaded" it is "unable to load Grasshopper". The command history sais this:

Command: Grasshopper

Rhino.NET plug-in: C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp

- referenced assembly count: 5

   - Rhino_DotNet

   - mscorlib

   - System.Windows.Forms

   - Grasshopper

   - System

- plug-in passes RhinoDot_NET.DLL reference version check

- loading assembly using Reflection::Assembly::LoadFrom

- attempting to find definition of MRhinoPlugInAttributes subclass

   - 12 exported types

Rhino.NET successfully loaded C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp

Unable to load GrasshopperPlugin.rhp plug-in: application initialization failed.

 

Thanks!

Børge

Views: 4570

Replies to This Discussion

Hi Børge,

 

sounds like Grasshopper is loaded ok, but then probably crashes while setting up some initial stuff. The only things that should happen inside the loading routine are:

 

  • Initializing RhinoCommon SDK (lot going on here).
  • Enforcement of the Invariant Culture, so commas and decimals are consistent.
  • License Agreement test.
  • Loading of the current skin.

Did you ever accept a license agreement?

Which exact version of Rhino4 do you have, or are you trying to load it in Rhino5?

 

Just in case the error is not caused by the loading routine (of which I'm very sceptical, but hey, I could be wrong), can you try running a different command first, say _GrasshopperDeveloperSettings?

 

I'm pretty close to releasing a new version, at which point I can give you a special copy that may help narrow down where exactly it fails.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Thanks for your reply David!

 

I have rhino 4 with service release 8

Do you mean the license agreement when installing grasshopper? If so i did.

_GrasshopperDeveloperSettings is an unknown command, so is grasshopper

 

Børge

Hi Børge,

 

I've had a case where a user couldn't run Grasshopper until they updated to Rhino4 SR9. Can you update to see if that works?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Now, I've installed SR9 and I still have the same problem. When I try to load grasshopper plugin I get this message:

Rhino.NET error: C:\Program Files (x86)\Rhinoceros 4.0\Plug-ins\Grasshopper\GrasshopperPlugin.rhp

plug-in already loaded

Command: Grasshopper

Unknown command: Grasshopper

 

Here's a screenshot of the error message
Attachments:

Thanks for your help David. I just got it to work. It was a problem caused by a 64-bit version of vcredist_x86.EXE. Took me a long time to figure that out. Thanks tho!

Phew, thanks for letting me know.

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

How exactly did you fix this, I have the exact same problem... sr9 win 7

 

Well, this is what happened to me. The first time I tried to install grasshopper for some reason I couldn't load the link from the Grasshopper Download site to Microsofts website. So I googled the filename. That was the only way I could find it. The problem then was that google sent me to a similar page with a file with the exact same filename, this one:

http://www.microsoft.com/download/en/details.aspx?displaylang=en&am... (don't use this!!)

Now, today I tried the link again and for some reason it worked. It led me to the correct site, which is the one I should have gotten to in the first place:

http://www.microsoft.com/download/en/details.aspx?id=26347

To solve it I just downloaded the right one, installed it and when I launched Rhino again it worked.

Thanks Borge,

Although my error message didn't look anything like yours, (see attached image) your remedy worked for me. It's maybe since I'm running Parallels v5 OSX 10.6.8 with W7 as my virtual machine...but it's up and running now. Thank you!

Attachments:

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service