On 10 octobre 08:18, Dan Stromberg wrote: > On Wed, Oct 10, 2012 at 3:15 AM, Sylvain Thénault > <sylvain.thena...@logilab.fr> wrote: > > On 09 octobre 16:40, Dan Stromberg wrote: > > > I'm getting a traceback when pylint'ing /dev/null using CPython 3.2 using > > > the recently released pylint. The traceback is as follows: > > [snip] > > > > > "/usr/local/cpython-3.2/lib/python3.2/site-packages/logilab/astng/__init__.py", > > > line 85, in <module> > > > > > > __import__(module[:-3]) > > > ImportError: No module named py2qt4 > > > > > > This is with pylint 0.26.0, astng 0.24.1 and common 0.58.2. > > > Is a fix or workaround available? > > > > weird. What's the content of > > /usr/local/cpython-3.2/lib/python3.2/site-packages/logilab/astng/brain/ > > directory ? > > These are the 3 files in the above directory: > > $ ls -al > total 20 > drwxr-xr-x 2 root root 4096 2012-10-09 16:01 . > drwxr-xr-x 4 root root 4096 2012-10-09 16:01 .. > -rw------- 1 root root 540 2012-10-05 07:01 py2mechanize.py > -rw------- 1 root root 531 2012-10-05 07:01 py2qt4.py > -rw------- 1 root root 3834 2012-10-05 07:01 py2stdlib.py > server-dstromberg:/usr/local/cpython-3.2/lib/python3.2/site-packages/logilab/astng/brain > i686-pc-linux-gnu 31041 - above cmd done 2012 Wed Oct 10 08:17 AM
ok... Then if you go in your python3 interpreter, type 'import logilab.atng' then print(sys.path), do you see /usr/local/cpython-3.2/lib/python3.2/site-packages/logilab/astng/brain in the list ? -- Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42) 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 Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects