Wednesday, April 20, 2011

Pylint and maximum recursion depth errors

Ever see these error messages in your pylint?

Exception RuntimeError: maximum recursion depth exceeded while calling a Python object

This bug was filed here: https://bugs.launchpad.net/pylint/+bug/456870 The solution seems to just upgrade Pylint using pip install instead of the Ubuntu Lucid package.

sudo apt-get remove pylint
sudo apt-get remove python-logilab-common
sudo pip install pylint

pylint --version
No config file found, using default configuration
pylint 0.23.0, 
astng 0.21.1, common 0.55.0
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) 
[GCC 4.4.3]

1 comment: