Julien Jehannet <julien.jehannet <at> logilab.fr> writes:

> 
> > * Jean-Michel Pichavant <jeanmichel <at> sequans.com> [05-mai-2010 15:13]:
> > Fellows,
> > 
> > In order to get the fix for
> > http://www.logilab.org/ticket/20464
> > 
> > I've updated pylint to 0.20 using easy_install -U pylint
> > Looks like there is a mismatch between logilab-common and pylint, I had to 
replace all occurrences of
> opt_dict (method set_option) by optdict.
> > Cheers,
> > JM
> 
> Thanks a lot for your report!
> 
> The problem was already fixed¹ in repo but not yet published. Sorry for that 
:(
> We're planning a 0.21 release in a few days (on Monday at the latest).
> 
> If you can wait, check directly the source code from:
> http://hg.logilab.org/pylint/ and you can do a fresh egg:
> 
>       PYTHONPATH= python setup.py bdist_egg
> 
> (but Logilab doesn't like eggs very much..)
> 
> ¹ http://hg.logilab.org/pylint/rev/e25818fe393a


Hello,

I was having the same problem, so I've built an egg form the hg sources and 
installed it.
However, now I get this:

{{{
Traceback (most recent call last):
  File "/usr/bin/pylint", line 5, in <module>
    pkg_resources.run_script('pylint==0.20.0', 'pylint')
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-
py2.6.egg/pkg_resources.py", line 489, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-
py2.6.egg/pkg_resources.py", line 1207, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/lib64/python2.6/site-packages/pylint-0.20.0-py2.6.egg/EGG-
INFO/scripts/pylint", line 4, in <module>
    lint.Run(sys.argv[1:])
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/lint.py", line 854, in __init__
    linter.check(args)
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/lint.py", line 466, in check
    walker.add_checker(checker)
  File "/usr/lib/python2.6/site-packages/pylint-0.20.0-
py2.6.egg/pylint/utils.py", line 491, in add_checker
    for cls in nodes.ALL_NODE_CLASSES:
AttributeError: 'module' object has no attribute 'ALL_NODE_CLASSES'
}}}

Maybe this is a bug?

Thanks in advance,

Pedro

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to