Python error?

Python error?

Anonymous
Not applicable
1,763 Views
1 Reply
Message 1 of 2

Python error?

Anonymous
Not applicable

So I have been attempting to get this plugin to work,

 

https://github.com/cmcpasserby/pbUDK

 

And Everytime I atempt to launch it I get this error in my console.

 

# Error: RuntimeError: file C:\Program Files\Autodesk\Maya2015\bin\python27.zip\json\decoder.py line 382: maximum recursion depth exceeded while calling a Python object #

 

Anyone have any clue what this means and how I could fix it?

 

Many thanks.

0 Likes
1,764 Views
1 Reply
Reply (1)
Message 2 of 2

vijaya.prakash
Alumni
Alumni

This is clearly not a Maya issue. It's a Python recursion limit issue. You can get the recurion limit of your current Python configuration like below.

 

import sys
print sys.getrecursionlimit()

To fix the issue you have to use "setrecursionlimit()" method like below.

import sys
sys.setrecursionlimit(5000)

The number "5000" is not fixed, you can set whatever you want like 10000, 20000,..

0 Likes