[Python-apps-team] Bug#533282: pylint: AttributeError on program invocation

Helmut Grohne helmut at subdivi.de
Tue Jun 16 08:22:41 UTC 2009


Package: pylint
Version: 0.18.0-1
Severity: important

Somehow pylint does not work anymore.

$ pylint test.py 
Traceback (most recent call last):
  File "/usr/bin/pylint", line 3, in <module>
    from pylint import lint
  File "/usr/lib/pymodules/python2.5/pylint/lint.py", line 31, in <module>
    from pylint.checkers import utils
  File "/usr/lib/pymodules/python2.5/pylint/checkers/utils.py", line 29, in <module>
    FOR_NODE_TYPES = (astng.For, astng.Comprehension)
AttributeError: 'module' object has no attribute 'Comprehension'
$

It still somewhat works using python2.6 /usr/bin/pylint. Using python2.6
shows tons of these though:

Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <some python object> ignored

Helmut

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28.7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages pylint depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-logilab-astng          0.19.0-1   extend Python's abstract syntax tr
ii  python-logilab-common         0.39.0-1   useful miscellaneous modules used 
ii  python-support                1.0.3      automated rebuilding support for P

Versions of packages pylint recommends:
pn  python-tk                     <none>     (no description available)

pylint suggests no packages.

-- no debconf information





More information about the Python-apps-team mailing list