Ask Your Question
0

pyreverse command is not woking

asked 2015-05-24 12:26:52 -0500

praveens gravatar image

updated 2015-05-24 12:33:25 -0500

Hi All

Stared working on Keystone code,Not able to succeed in running pyreverse command to generate Class diagrams. .

I followed the steps provided in this urls

https://www.logilab.org/blogentry/6883 ( example which they have provided is working fine)

pyreverse -o png -p Pyreverse pylint/pyreverse/ ( generated both class and package diagrams)

https://ask.openstack.org/en/question...

Here is the steps which I followed.

Step 1

Checked out the keystone kilo stable release from github to my localfolder(/home/praveens/git/keystone/)

Step 2

install dot using the command sudo apt-get install graphviz

Step 3

pyreverse -o png -p /home/praveens/git/keystone (not generating any class or package diagrams)

Please let me know how to resolve this issue, thanks in advance. Also I would like to know how to run the command for individual package.

Best Regards

PraveenS

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-29 10:54:35 -0500

praveens gravatar image

Problem is solved

while executing the command we need to provide package name after -p option( name will be appended to both class and package after executing the command).....It solved my problem

command

pyreverse -o png -p keystone /home/praveens/git/keystone

Best Regards

PraveenS

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-24 12:26:52 -0500

Seen: 1,326 times

Last updated: May 29 '15