码迷,mamicode.com
首页 > 其他好文 > 详细

GitReviewException object has no attribute 'EXIT_CODE'

时间:2017-06-19 20:59:55      阅读:219      评论:0      收藏:0      [点我收藏+]

标签:run   -o   open   pad   diff   att   学习   orm   box   

 1.环境
ubuntu16.04 Launchpad Gerrit OpenStack ID
 
2.问题
学习OpenStack workflow时,需要注册Launchpad账号,然后在Gerrit签署ICLA协议,
最后在sandbox提交代码,在执行 "git review -s"时出现
“AttributeError: ‘GitReviewException‘ object has no attribute ‘EXIT_CODE‘”错误.
 
3.解决方法
    3.1  可能是SSH KEY问题
         1) Gerrit中的SSH KEY 和本地~/.ssh/id_rsa.pub的SSH KEY 不一致, 将
             本地SSH KEY添加到Gerrit中。
    3.2  Contact information NOT UPDATED
         1) In Gerrit, look up the setting -> Contact information, YOU MUST UPDATE THE MAILING ADDRESS(
             other information is optional). after updated, it will give notification like this:
            "The following offline contact information is stored encrypted."
             ...
            "Contact information last updated on Jun 16, 2017 at 11:25 AM."
 
            THIS UPDATE MAY TURN UP "SERVER ERROR" WITHOUT AN OPENSTACK ID  ACCOUNT REGISGERED.
                                             技术分享
 
             Here is detailed solution to the server error problem:
             
             In case of the link fails soon, I copy its main solution as following:
                      1) register an OpenStack ID in "www.openstack.org"
                      2) make sure your are an Individual Member of the Foundation. 
                          技术分享
                       3)   If you see the button, hit it. Now while you‘re on your profile page make sure that your affiliation
                             history is correct and that youre primary email is the same you‘re using on gerrit.
              Head back to gerrit and update your contact information(mailing address is mandatory).
    
    3.3 port 29418 in gerrit is blocked.
          Use VPN to solve the "Could not connect to gerrit" issue, try different VPN(different ip) to
          run "git review -s" command.

GitReviewException object has no attribute 'EXIT_CODE'

标签:run   -o   open   pad   diff   att   学习   orm   box   

原文地址:http://www.cnblogs.com/yingfeicaozhang100527/p/7050432.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!