Email Re: [debian-bugs@stukach.com: Bug#310957: pylint: Failure to start due to "local variable '_id' referenced before assignment"]

from
to
subject
Re: [debian-bugs@stukach.com: Bug#310957: pylint: Failure to start due to "local variable '_id' referenced before assignment"]
date
2005/05/29 23:37
On Saturday 28 May à 19:43, Alexandre wrote:
> Syt: tu me confirmes que le problème est corrigé dans 0.7 ?

> Si tu peux mettre ça dans debian/changelog, et regénérer un paquet (non
> signé) c'est bien. 

je confirme et il me semble que j'ai mis le closes qui va bien. Je vais
regénérer un paquet ce soir ou demain matin.

> ----- Forwarded message from Thomas Nilsson <debian-bugs@stukach.com> -----

> From: Thomas Nilsson <debian-bugs@stukach.com>
> X-Mailer: reportbug 3.12
> X-Spambayes-Classification: ham; 0.00
> Resent-From: Thomas Nilsson <debian-bugs@stukach.com>
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Date: Fri, 27 May 2005 10:19:41 +0200
> Subject: Bug#310957: pylint: Failure to start due to "local variable '_id'
>  referenced before assignment"

> Package: pylint
> Version: 0.6.4-1
> Severity: grave
> Justification: renders package unusable


> [fatal@falken]$ pylint testfile.py
> Traceback (most recent call last):
>   File "/usr/bin/pylint", line 4, in ?
>     lint.Run(sys.argv[1:])
>   File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 707, in __init__
>     linter.load_file_configuration()
>   File "/usr/lib/python2.3/site-packages/logilab/common/configuration.py", line 362, in load_file_configuration
>     provider.set_option(opt_name, value, opt_dict=opt_dict)
>   File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 286, in set_option
>     meth(_id)
> UnboundLocalError: local variable '_id' referenced before assignment

> Changing line 286 to 'pass' works fine, but is most likely not what the author intended.

> -- System Information:
> Debian Release: 3.1
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.11.6-win4lin-ftl1
> Locale: LANG=C, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)

> Versions of packages pylint depends on:
> ii  python                        2.3.5-2    An interactive high-level object-o
> ii  python2.3-pylint              0.6.4-1    python code static checker [built 

> -- no debconf information

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

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