On 10 janvier 20:02, Wolfgang Rohdewald wrote:
> I tried pylint on Windows 7 on those sources:
> 
> anonsvn.kde.org/home/kde/trunk/kdesupport/emerge/bin
> 
> go into this directory and do:
> 
> pylint emerge
> 
> using those downloads:
> 
> results in a loooong backtrace
> Traceback (most recent call last):
>   File "C:\Python27\Scripts\pylint", line 5, in <module>
>     pkg_resources.run_script('pylint==0.23.0', 'pylint')
>   File "C:\Python27\lib\site-packages\pkg_resources.py", line 
> 489, in run_script
[snip]
>   File "C:\Python27\lib\site-packages\logilab_astng-0.21.1-
> py2.7.egg\logilab\ast
> ng\bases.py", line 104, in _infer_stmts
>     context.lookupname = stmt._infer_name(frame, name)
> AttributeError: 'str' object has no attribute '_infer_name'

I've been able to reproduce the pb and to fix it in astng's repository.
A new release of pylint/astng should be available soon.

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to