[Python-projects] Re: PyReverse problem: running pystats or py2xmi_uml

Nicolas Chauvat Sylvain =?iso-8859-1?Q?Th=E9nault?= <Sylvain.Thenault@logilab.fr>
Mon, 5 Jan 2004 10:47:08 +0100


On Tuesday 30 December à 18:19, Miller, Douglas wrote:
> Note: mail bounces from 'xml-logilab@logilab.org'
> 
> Help please. You get the following error regardless of whether or not the
> '-p' option is used.
> 
> Traceback (most recent call last):
>   File "C:\Python23\Lib\site-packages\logilab\pyreverse\pystats.py", line
> 52, in
>  ?
>     Run()
>   File "C:\Python23\Lib\site-packages\logilab\pyreverse\pystats.py", line
> 46, in
>  Run
>     p = parser.parse_all(args, project)
> NameError: global name 'project' is not defined

which version of pyreverse are you using ? In the latest version,
pystats in depricated, you should instead use pylint which does the same
thing and much more...

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org