Closed dngud closed 3 years ago
Hi @dngud , This sounds like a corrupt installation or an incompatibility with another plugin. Could you please follow the instructions in #69 to get us the data we need to examine why this is occurring? That same issue lists a potential workaround which will cleanly install the Framework. If that doesn't help, I suggest looking at #22 for possible plugin clashes. Best, Sebastian
Thanks for fast reply! but those doesn't work for mine.....still every time I start GH that same message pop up and I do not see any of HAL functions.
@dngud Without the information requested in #69 under Help To Fix, there's not a lot we can do to work out why this is occurring on your machine.
I can't seem to reproduce this issue and need a bit more information, which is expected to be in every issue report, hence the template when you create a new issue. In particular here, I will need the OS version info, including the actual version number e.g. Windows 10 1809 (which on WIn10 you can find under Settings -> System -> About).
Please also let us know which version of Rhino you're using and which other Rhino and Grasshopper plugins you have installed. Thanks
Closing as stale. Please reopen if this problem persists
Zip File: [https://drive.google.com/drive/folders/1Mg1i_7-EbX9RloY4PExrekLIEzydAp-4?usp=sharing]
OS: Windows 10 Home v2004
Versions: HAL.McNeel V5 1.3.32-beta HAL.ABB 1.3.42 beta Rhino 7
Errors: HAL: Method not found: 'Unity.IUnityContainer Prism.Unity.Ioc.UnityContainerExtension.get_Instance()'.
@keshang-ctrl Thanks for providing the requested files and sorry you're having issues. This loads absolutely fine on our dev PC so this is likely to either be a clash between something you have installed and the HAL Robotics Framework, or an assumption we made about the installation on all client PCs that doesn't hold true. A couple of things that might get us closer to a solution:
With these we should be able to get a better handle on what might be causing this issue for you and hopefully get you back up and running asap.
@sebandraos I had tried to install the .NET Framework before because I saw it on another thread about this same issue but I do already have that installed.
Here are the screenshots you asked for:
Thanks @keshang-ctrl , that's spot on and shows that this issue is actually a manifestation of issue #22 . In this case it is the files you see here called Prism.Wpf.dll
, Prism.Unity.Wpf.dll
and possibly System.Resources.Extensions.dll
that are causing issues. These appear to all come with ghODS-v0.2.2.gha
as I can't find where that comes from and have looked at your other plugins which don't include those .dll
files. Please try temporarily removing those files, incl. the .gha
from that folder and let's see if that solves the issue. If it does, there is some advice in the #22 issue that might help to find a more permanent fix but ultimately this means the two plugins could be incompatible because they rely on different versions of the same dependencies. Clearly our plugin won't work with the versions in your Components/Libraries folder but you might get lucky and ghODS...gha
might work with our versions. You can test this by removing only the .dll
files and checking whether both plugins work as expected.
EDIT
I have just found the that ghODS-v0.2.2.gha
is part of Swift and doesn't require those 3 problematic .dll
files. So I'm not sure where they came from and would just get rid of them and you should be up and running.
@sebandraos I removed the files, enabled COFF, and even did a fresh re-install of HAL but I still get the same error in rhino when i start grasshopper. HAL: Method not found: 'Unity.IUnityContainer Prism.Unity.Ioc.UnityContainerExtension.get_Instance()'.
@keshang-ctrl That's odd. Let's try and narrow down which plugin we've got compatibility issues with. Could you try disabling all your Rhino plugins and emptying your Grasshopper Libraries folder (except for the HAL file) and then restarting Rhino to see if that solves the issue? If it does then replace all the necessary files in the Grasshopper Libraries folder and try again. If that also works then it's likely to be one of your Rhino plugins causing the issue. Try reenabling them one at a time until we find which one causes the issue. Thanks
@sebandraos That worked! It turns out its my enscape plugin for rhino. Is there a way to work around this or will I have to disable enscape while I use HAL?
@keshang-ctrl For the time being I think that's the easiest solution. I tried installing Enscape this morning and immediately had the same issue so that definitely seems to be consistent. I have also had a bit of a dig around the Enscape dependencies and it seems like there's no guarantee we'll be compatible. We might get lucky and occasionally use the exact same version of Unity in which case we'll be fine but otherwise this is, as is stated in #22 , a problem all plugins potentially face and, unfortunately, there isn't very much we can do about it.
@sebandraos That's unfortunate but not a big deal. Thankyou for all of the help!
Does any of you guys recognize this error? 'Unity.IUnityContainer Prism.Unity.Ioc.UnityContainerExtension.get_Instance()'
after install it and I start my grasshopper this keep pop up and can not use HAL in GH.