algorithmic modeling for Rhino
GhPython component will not load in Rhino 5 and produces the following security error message:
An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
I followed the MS recommendations per the link in the above error message and unblocked the GhPython file and added the recommended configuration file, rhino.exe.config in the Rhino System directory but the component still does not load although the security error is no longer reported.
Visual Studio Shell 2010 and IronPython are installed so there may be a conflict.
There is no problem running the Rhino 5 Python environment.
Tags:
Hi Peter,
Which iteration of Python component are you using? 0_5_1_0?
You can download it from the link below: (https://github.com/downloads/mcneel/ghpython/GhPython_0_5_1_0.zip)
Mostapha
Hi Peter
that message, to my knowledge, appears when the .gha file is blocked or on a network drive.
Are you by any chance unblocking a copy, and not the file that is being loaded?
Just a thought,
Giulio
--
Giulio Piacentino
Weaverbird developement
GhPython Details:
According to Microsoft documentation the file is marked as blocked by Windows OS when the file is downloaded.
My take is that the problem is related to the fact that I have another Visual Studio Shell 2010/ IronPython development environment installed.
Solved - reinstalled the latest version of Grasshopper - had assumed that since I had installed the latest version of Rhino 5 that GH was automatically updated as well.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by