Python rhinoscriptsyntax in Rhino6

Hi,

I am trying to run a code via PythonEditor on Rhino6 that is working on Rhino5 without any errors.

Is rhinoscriptsyntax working for rhino6?

I am wondering how to solve these errors in rhino6:

Message: Method not found: ‘Void Microsoft.Scripting.Utils.ExceptionUtils.RemoveData(System.Exception, System.Object)’.

Traceback:
line 67, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\types.py”
line 6, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\abc.py”
line 9, in , “C:\Program Files\Rhino 6\Plug-ins\IronPython\Lib\numbers.py”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\utility.py”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\application.py”
line 8, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript_init_.py”
line 2, in , “C:\Users\vestarta\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscriptsyntax.py”
line 2, in , “Y:\005_Via\Petras\start_V3_CutNotDeep.py”

This is likely an incompatibility issue caused by the IronPython from Dynamo.

http://dynamobim.org/dynamo-and-ironpython/

1 Like

Hi Long Nguyen,

I if I have installed other ironpython version on my machine Rhono 6 becomes angry and does allow to run any scripts? Removal of other IronPython version should help?

I think It is not the version of Python, but more about different instances of Python.

The link above suggested a fix. Have you tried that?

Works like a charm. I removed Python 2.7.3.
And my stuff works in Rhino 6.
Thank you.
:relieved:

Keeping other versions of python does not harm anything

1 Like

More on this here:

http://developer.rhino3d.com/guides/rhinopython/python-troubleshooting-install/

Thanks Anders:)

1 Like