[Python-projects] Another bug in pylint?

Sylvain Thénault Sylvain.Thenault at logilab.fr
Tue Nov 2 14:49:40 CET 2004


On Tuesday 26 October à 10:46, Fabio Zadrozny wrote:
> Hy, trying to check the file attached, I got the error below.
> 
> 
> lint.py
> d:\dev_programs\eclipse_3\eclipse\runtime-workbench-workspace\test\test1.py
> 
> No config file found, using default configuration
> ************* Module test.test1
> W0312:  6: Found indentation with spaces instead of tabs
> W0312: 10: Found indentation with spaces instead of tabs
> W0312: 11: Found indentation with spaces instead of tabs
> W0312: 13: Found indentation with spaces instead of tabs
> W0312: 14: Found indentation with spaces instead of tabs
> W0312: 15: Found indentation with spaces instead of tabs
> W0131:  0: Missing docstring
> W0103:  0: Missing required attribute "__revision__"
> Traceback (most recent call last):
>   File
> "D:\dev_programs\eclipse_3\eclipse\workspace\org.python.pydev\PySrc\ThirdPar
> ty\logilab\pylint\lint.py", line 962, in ?
>     Run(sys.argv[1:])
[snip]
>   File
> "D:\dev_programs\eclipse_3\eclipse\workspace\org.python.pydev\PySrc\ThirdPar
> ty\logilab\pylint\../../../ThirdParty\logilab\pylint\checkers\format.py",
> line 292, in visit_default
>     msg_def = check_line(self._lines[line], self)
> KeyError: 1

hum, I can't reproduce this problem. Which version of python and
logilab-common are you using ? (I suppose you're using the latest
release of pylint, 0.5)

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org



More information about the Python-Projects mailing list