"The type initializer for 'LibGit2Sharp.Core.NativeMEthodes' threw an exception"
Does anyone know how to get rid of this error? I tried to reinstall, on different grasshopper files but nothing worked so far.
Hi there,
I'm sorry to hear that you're experiencing issues with the SwarmSync plugin. To help diagnose the problem, could you please provide the following information:
- Rhino Version: Which version of Rhino are you using? (e.g., Rhino 6, Rhino 7, etc.)
- Grasshopper Version: Which version of Grasshopper are you running?
- Operating System: Which operating system are you using? (e.g., Windows 10?)
- Git Version: do you already have an instance of GIT running on your machine ?
- Error Details: Are there any additional error messages or stack trace details that you can share? If you hover over the message box, do you see any more details? If so, please include those as well.
- Environment Variables: Have you set any specific environment variables related to Git or
LibGit2Sharp
? - Other Plugins: Are there other plugins installed in Rhino that might conflict with SwarmSync?
Providing this information will help us better understand the context and hopefully lead us to a solution more quickly.
Thank you for your patience and cooperation!
Thanks a lot for your reply. Find below the requested info.
Rhino Version: Rhino 8
Grasshopper Version: Grasshopper version Build 1.0.0008
Operating System: Windows 10 pro version 10.0.19045 Build 19045
Git Version: 2.42.0.windows.2
Error Details: I do not see more error detail then I already shared, but I don't know where I could find more.
Environment Variables: I do not have set any specific environmental variable related to git or Libgit2sharp. I never installed ligbit2harp actively that is not necessary right? It included in de swamsync right?
Oher plugins: work with are honey bee energy, ladybug, and ttoolbox but I not sure if they can conflict with SwarmSync
A colleague just tried to make SwarmSync work and he run into the same problem. Also with rhino 8 (evaluation version in this case)
thanks for your reply, would it be possible for you to run the Rhino 8 on .Net FrameWork instead of .Net Core. you can see how to in this link.
https://www.rhino3d.com/en/docs/guides/netcore/
if that solves your issue we will take care of this matter in the next update to make sure swarmsync works on .NetCore as well.
@para That worked, great!, stil have to see how it exactly works. I wasn't able to click for a private repository. But a repo was created on my github. So thanks a lot for helping out.