Ask Your Question

git review is not working

asked 2017-08-15 22:08:17 -0700

thuva4 gravatar image

Hello , I am new comer to the OPNFV community. I am trying to summit first git review but I am getting following error. I have checked with other gerrit [1]/[2] those are working for me. I followed the tutorial[3] in the documentation. How can I solve this problem?

$ git review
   Could not connect to gerrit. 
   Enter your gerrit username: thuva4
   Trying again with ssh://
   <traceback object at 0x7f1f41b9c0e0>
   We don't know where your gerrit is. Please manually create a remote named "gerrit" and try again.
   Could not connect to gerrit at ssh://
   Traceback (most recent call last):
     File "/usr/bin/git-review", line 10, in <module>
     File "/usr/lib/python2.7/dist-packages/git_review/", line 1534, in main
    AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'




Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-08-16 01:33:50 -0700

thuva4 gravatar image

My fault I did't set the git config variable.

git config --global gitreview.remote origin 
git config --global gitreview.username YourUserName
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

[hide preview]

Question Tools

1 follower


Asked: 2017-08-15 22:08:17 -0700

Seen: 116 times

Last updated: Aug 16 '17