On Thursday 02 September 2010 02:21:52 Dan Stromberg wrote:
> Hi folks.

hi,

> I'm using a recent (see below for specifics) python2 version of
> pyreverse in an attempt to diagram import relationships and inheritance
> relationships.
>
> However, I'm getting no arcs at all for the imports, and I seem to be
> getting only inheritance arcs for built in classes, not for my own
> classes that I'm feeding to pyreverse.
>
> The command I'm using to invoke pyreverse is:
> pyreverse -f ALL -a1 -s1 -p port-const ${files}
>
> Am I missing some option or something?

I don't think so.

It sound like this long standing big bug that I unfortunately had not the 
time to correct : http://www.logilab.org/ticket/9542 .

It has to do with an error on the pythonpath;
I had a longer explanation on this subject on a mail :
http://lists.logilab.org/pipermail/python-projects/2010-June/002472.html

Since it comes up again and again, I think it is time for me to fix it ...

>
> Thanks!
>
> PS:
> I'm using pylint 0.19.0,
> astng 0.19.3, common 0.45.2

btw, we are now on pylint 0.21.2, and I introduced in 0.21.0 that 
pyreverse also recognizes class members like:

class Hello:
    member = World()

but that won't help in your case, I guess ...

-- 

Emile Anclin <emile.anc...@logilab.fr>
http://www.logilab.fr/   http://www.logilab.org/ 
Informatique scientifique & et gestion de connaissances
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to