[Python-apps-team] Bug#591670: pylint: KeyError: 'RP0401'

Jakub Wilk jwilk at debian.org
Wed Aug 4 14:41:41 UTC 2010


Package: pylint
Version: 0.21.1-1
Severity: normal

$ apt-cache policy python-docutils | grep Installed
   Installed: 0.7-2

$ pylint docutils 
[snip - large amounts of junk]
************* Module docutils.parsers.rst.languages.de
C: 19: Invalid name "directives" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
W: 72: String statement has no effect
C: 74: Invalid name "roles" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$)
W: 96: String statement has no effect
R:157:Translator: Abstract class not referenced
R:123:LaTeXTranslator: Abstract class not referenced
R:838:LaTeXTranslator: Abstract class not referenced
R: 14:Parser: Abstract class is only referenced 1 times
R: 89:_ElementInterfaceWrapper: Interface not implemented
Traceback (most recent call last):
   File "/usr/bin/pylint", line 4, in <module>
     lint.Run(sys.argv[1:])
   File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 856, in __init__
     linter.check(args)
   File "/usr/lib/pymodules/python2.6/pylint/lint.py", line 494, in check
     checker.close()
   File "/usr/lib/pymodules/python2.6/pylint/checkers/imports.py", line 218, in close
     self.add_message('RP0401', args=' -> '.join(cycle))
   File "/usr/lib/pymodules/python2.6/pylint/checkers/__init__.py", line 92, in add_message
     self.linter.add_message(msg_id, line, node, args)
   File "/usr/lib/pymodules/python2.6/pylint/utils.py", line 262, in add_message
     msg = self._messages[msgid].msg
KeyError: 'RP0401'


-- System Information:
Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pylint depends on:
ii  python                        2.6.5-11   interactive high-level object-orie
ii  python-logilab-astng          0.20.1-1   rebuild a new abstract syntax tree
ii  python-logilab-common         0.50.3-1   useful miscellaneous modules used 
ii  python-support                1.0.9      automated rebuilding support for P

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

pylint suggests no packages.

-- no debconf information

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-apps-team/attachments/20100804/849fc3c7/attachment.pgp>


More information about the Python-apps-team mailing list