[Python-projects] Bug in pylint: crash when parsing "import matplotlib.figure"
Huurne, Maarten ter
maarten.ter.huurne at philips.com
Wed Nov 26 19:53:43 CET 2008
> Problem persists with 0.15.2, exactly the same error.
>
> Please try:
> import threading
> from matplotlib.figure import Figure
Did you also try upgrading logilab-astng and logilab-common? A lot of the work of pylint is actually done by ASTNG.
Your test program works fine here:
$ pylint -rn testcase.py
No config file found, using default configuration
************* Module testcase
C: 1: Missing docstring
W: 1: Unused import threading
W: 2: Unused import Figure
$ pylint --version
No config file found, using default configuration
pylint 0.15.2,
astng 0.17.4, common 0.36.1
Python 2.5.2 (r252:60911, Oct 5 2008, 19:29:17)
[GCC 4.3.2]
$ dpkg -l python-matplotlib
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-======================================-======================================-============================================================================================
ii python-matplotlib 0.98.3-4ubuntu1 Python based plotting system in a style similar to Matlab
Bye,
Maarten
The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
More information about the Python-Projects
mailing list