working pylint anyone?

alexandre.Fayolle@logilab.Fr alexandre.Fayolle at logilab.fr
Thu Jul 31 07:34:39 EDT 2008


On Jul 31, 11:29 am, "Diez B. Roggisch" <de... at nospam.web.de> wrote:
> Hi,
>
> until yesterday I was a happy user of pylint. Then I upgraded to ubuntu
> hardy heron - and the trouble began.
>
> The packaged version of pylint (0.13.2) fails with this error (last line):
>
> logilab.common.configuration.UnsupportedAction: callback

This is a bug in the pylint package in Ubuntu, which has a wrong
versioned
dependency on python-logilab-common. You should report this bug to
ubuntu
using the reportbug command.

Which version of python-logilab-common and python-logilab-astng are
installed on your machine ?

> The same error happens if I use
>
> easy_install-2.5http://release.ingeniweb.com/third-party-dist/logilab.installer-0.1.tgz
>
> as found on the net. Using easy_install pylint misses logilab-common &
> astng, installing these additionally (easy_install) creates two eggs - but
> unfortunately, the don't actually create a namespace-package logilab,
> instead either one of them is picked up depending on installation order.
>
> Then I tried the source releases - no luck either, either they produce the
> same error or something similar.

You are probably picking up the system installation of logilab-common
when you
do this.

> I tried looking into the MLs - the last posts are from around 2006, so I
> refrained from actually subscribing.

I don't know where you checked, but there is some traffic on the
mailing list,
and questions generally get answered :-)

(http://lists.logilab.org/pipermail/python-projects/ is the correct
place)

> So - anybody out here having an actually working pylint config and can tell
> me what versions work together? I've become pretty dependend on it to be
> honest...

pylint 0.14.0 should work fine with logilab-common 0.33.0 and astng
0.17.2

Our Debian packages state that it should even work with logilab-common
>= 0.22.0
and astng >= 0.17.1 (although to be perfectly honnest, I'm not sure
that we have
tested pylint with logilab-common 0.22.0, so we could be the ones who
introduced
the bug in the Ubuntu package).

Hope this helps,

--
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science




More information about the Python-list mailing list