Hey there - we had a similar issue with a python plugin in 2016, and it
turned out to be related to the new multi threaded graph evaluation and the
python GIL. Try turning that off in the prefs and see if it works.

If that is the cause, you can try a fix suggested by a fine fellow at
autodesk: set the environment variable $MAYA_RELEASE_PYTHON_GIL to 1 before
launching maya, and hopefully it works.

According to autodesk support, setting this on has no adverse side effects,
but I'm leery - if so, why not have it on by default? That said, it's
worked for us beautifully so far, without any noticeable issues...

On Sat, Oct 31, 2015, 3:36 AM Bob Loblaw <[email protected]>
wrote:

> Interesting but inconclusive. Using the Legacy Viewport, the loop makes it
> through two calls to cmds.currentTime and then locks up on the third. I saw
> similar behavior when trying to narrow down the issue. The second and third
> time I try this experiment though, with the Legacy Viewport, the loop locks
> up immediately. Hm....
>
> It's surprising that the Viewport choice has any effect.
>
> Thanks for the suggestion.
>
> Bob
>
>
>
>
>
>
> On Fri, Oct 30, 2015 at 6:46 AM, Mark Jackson <[email protected]> wrote:
>
>> Can I ask if you're not in 2016 to turn off VP2 and try again. I have a
>> similar issue where running a plugin that snaps transforms over time hangs
>> Maya but ONLY in V2, in legacy VP all is fine.
>>
>> On 29 October 2015 at 17:03, Bob Loblaw <[email protected]>
>> wrote:
>>
>>> Was anyone able to reproduce this issue? It's a blocker...
>>>
>>> Thanks,
>>> Bob
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CAN0Hdevj6FEA53UL9YyKcctV_7QrUpLr-RK0ZtqMuo2OZZXy4A%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CAN0Hdevj6FEA53UL9YyKcctV_7QrUpLr-RK0ZtqMuo2OZZXy4A%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> -------------------------------------
>> Mark Jackson
>> CEO / Technical Director
>> red9consultancy.com
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAGQH2FEyPZrr6qGQ%2BjL4MEVz9m-CZ1Yq15%3DSva67mLic8d9c_w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAGQH2FEyPZrr6qGQ%2BjL4MEVz9m-CZ1Yq15%3DSva67mLic8d9c_w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAN0HdeuD5Y8Gb677%3DHm14K0-LZ9kSdu8hitq0zPjSLRBVVS6sA%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAN0HdeuD5Y8Gb677%3DHm14K0-LZ9kSdu8hitq0zPjSLRBVVS6sA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAAssL7Yx%2B58uqiTYWYdLs6BiaCaM0ugzXnn6vpLiYiV-2qXdzQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to