Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help on running MetricsGrimoire Tool for GitHub example #53

Open
fevega1 opened this issue Jun 30, 2016 · 0 comments
Open

Help on running MetricsGrimoire Tool for GitHub example #53

fevega1 opened this issue Jun 30, 2016 · 0 comments

Comments

@fevega1
Copy link

fevega1 commented Jun 30, 2016

Hi Guys,

I am trying to get running this example: https://github.com/VizGrimoire/VizGrimoireR/wiki/Example-of-use-with-GitHub-projects

But getting the following error on this step:
[Run MetricsGrimoire tools, creating the corresponding databases, and prepare vizGrimoireR as a package ready to run]
~/src/vizGrimoire/VizGrimoireR/examples/github/vg-github.py --user jgb --passwd XXX
--dir /tmp/temp --removedb --ghuser jgbarah --ghpasswd XXXGH
--vgdir ~/src/vizGrimoire VizGrimoire/VizGrimoireR

Running MetricsGrimoire tool (cvsanaly)
Traceback (most recent call last):
File "vg-github.py", line 461, in
run_mgtools (["cvsanaly", "bicho"], repos, dbPrefix)
File "vg-github.py", line 164, in run_mgtools
run_mgtool (tool, project, dbname)
File "vg-github.py", line 144, in run_mgtool
call(opts)
File "/usr/lib/python2.7/subprocess.py", line 523, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1340, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

I can see the script is cloning the repo succesfully at /tmp/temp directory and also creating the database on MySQL (with no tables yet).

Also can see the tools were installed at /tmp/mg
Bicho CVSAnalY MailingListStats mg-paths.sh RepositoryHandler

Further, echo $PATH is
/tmp/mg/CVSAnalY:/tmp/mg/Bicho/bin:/tmp/mg/MailingListStats:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

and echo $PYTHONPATH is
/tmp/mg/CVSAnalY:/tmp/mg/RepositoryHandler:/tmp/mg/Bicho:/tmp/mg/MailingListStats:

Much appreciated your help. Gracias!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant