mcneel / ghpython

A Grasshopper component for Rhino.Python
http://www.food4rhino.com/project/ghpython
118 stars 34 forks source link

Fails to solve on initial open #1

Closed sbaer closed 13 years ago

sbaer commented 13 years ago

When an existing grasshopper file is opened with a python component. The python engine sometimes fails on the initial execution of the script. The second time the script is executed, everything works fine. I think this is due to the initialization of the python engine occurring in another thread and somewhere a lock is not being set properly.

sbaer commented 13 years ago

This was a threading issue which I needed to fix in the core python plug-in. Moving to "testing" stage.

The fix should be available in the next Rhino WIP.