[Python-projects] astng or pyargo problem
Sylvain Thénault
sylvain.thenault at logilab.fr
Wed Aug 16 16:19:04 CEST 2006
On Wednesday 09 August à 11:50, Nicolas Chauvat wrote:
> Hello,
>
> On Mon, Aug 07, 2006 at 03:45:36PM +0530, Mohamed Ghouse wrote:
>
> > Am trying to reverse engineer a piece of Python Code. I have currently
> > installed the following packages
> >
> > common-0.15.0
> > astng-0.16.0
> > pyreverse-0.5.2
> >
> >
> > When I run pyargo, I get the follow error.
> >
> > ----------------------------------------
> > Traceback (most recent call last):
> > File "/usr/local/bin/pyargo", line 3, in ?
> > from pyreverse import pyargo
> > File "/usr/local/lib/python2.4/site-packages/pyreverse/pyargo.py",
> > line 22, in ?
> > from pyreverse.utils import RunHelper
> > File "/usr/local/lib/python2.4/site-packages/pyreverse/utils.py", line
> > 24, in ?
> > from logilab.common.astng import ASTNGManager, IgnoreChild, Project
> > ImportError: No module named astng
> >
> > ----------------------------------------
>
> astng got moved out of logilab-common into its own package a few
> versions ago.
>
> Please try the latest versions that you will find there:
>
> http://ftp.logilab.org/pub/
>
> If it doesn't work, it means that pyreverse needs to be updated to the
> latest common/astng. We have not used it recently and it might be
> broken.
as stated in another message, latest pyreverse release isn't compatible with current common/astng
packages, you'll have to use the code from the repository (which may be broken too, but not for
the same reasons ;)
--
Sylvain Thénault LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations
Développement logiciel sur mesure: http://www.logilab.fr/services
Python et calcul scientifique: http://www.logilab.fr/science
More information about the Python-Projects
mailing list