error during runnin...
 
Notifications
Clear all

error during running: "The type initializer for 'LibGit2Sharp.Core.NativeMEthodes' threw an exception.

5 Posts
2 Users
0 Likes
445 Views
(@rolv1830)
Posts: 3
Active Member
Topic starter
 

"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.

 

 
Posted : 24/06/2024 11:39 am
 PARA
(@para)
Posts: 24
Member Admin
 

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:

  1. Rhino Version: Which version of Rhino are you using? (e.g., Rhino 6, Rhino 7, etc.)
  2. Grasshopper Version: Which version of Grasshopper are you running?
  3. Operating System: Which operating system are you using? (e.g., Windows 10?)
  4. Git Version: do you already have an instance of GIT running on your machine ?
  5. 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.
  6. Environment Variables: Have you set any specific environment variables related to Git or LibGit2Sharp?
  7. 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!

 
Posted : 25/06/2024 7:45 am
(@rolv1830)
Posts: 3
Active Member
Topic starter
 

@para 

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)

 
Posted : 27/06/2024 7:40 am
 PARA
(@para)
Posts: 24
Member Admin
 

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.

 

 
Posted : 27/06/2024 8:04 am
(@rolv1830)
Posts: 3
Active Member
Topic starter
 

@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.

 
Posted : 28/06/2024 9:13 am
Share: