gitlab同步插件gitlab-mirrors报错<已解决,未找到原因>
2017-08-11 16:09
1061 查看
今天下午在使用gitlab-mirrors同步插件时,发现一直在报错
# ~/gitlab-mirrors/add_mirror.sh --git --project-name manifests --mirror git@10.240.205.131:thinkcloud_ci/manifests.git Resolving gitlab remote. Creating new project manifests Traceback (most recent call last): File "lib/manage_gitlab_project.py", line 105, in <module> found_project=createproject(project_name) File "lib/manage_gitlab_project.py", line 78, in createproject git.add_project(pname,description=description,**project_options) File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 184, in fn File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 418, in _post File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 435, in _request File "build/bdist.linux-x86_64/egg/gitlab3/__init__.py", line 411, in _check_status_code gitlab3.exceptions.MissingRequiredAttribute: URL: http://10.100.218.203/api/v3/projects, Data: {'wall_enabled': 'false', 'namespace_id': '5', 'snippets_enabled': 'false', 'merge_requests_enabled': 'false', 'name': 'manifests', 'issues_enabled': 'false', 'wiki_enabled': 'false', 'public': 'false', 'description': 'Mirror of git@10.240.205.131:thinkcloud_ci/manifests.git'} There was an unknown issue with manage_gitlab_project.py
最后发现,project name不应该是manifests,将其改为其他名字即可正常工作.
很奇怪的东西
相关文章推荐
- VLC加载插件失败原因及解决
- 警告信息<uses-permission> tag appears after <application> tag出现的原因及解决办法
- VS调试_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));崩溃原因及解决方法
- 使用<a>标签提交action会执行两次后台方法的原因(反射机制小实例问题的解决)
- 附加数据库出错(错误5123)的解决办法(问题虽然解决了,但原因未找到,求指教!)
- linux下设定动态库路径的命令->error while loading shared libraries: xxx.so.x"错误的原因和解决办法
- Notepad++没有插件管理器(Plugin Manager)的原因以及解决方法
- MySQL出现同步延迟有哪些原因?如何解决?
- u3d中 rect[2] == rt->GetGLWidth() && rect[3] == rt->GetGLHeight()错误的原因及解决方法
- kettle问题-表输入插件(问题解决,未找到根源)
- [原创]JQuery的autoCompleate插件的使用(内含解决Jquery事件与UpdatePanel互斥的问题,只需要在body中改为如下:<body onload=’load()’></body>即可)
- Notepad++没有插件管理器(Plugin Manager)的原因以及解决方法
- jQuery validate插件,自动验证无效的原因及解决方法归纳
- osg报错_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)的原因及解决办法
- 网址出现error.aspx?aspxerrorpath=404.htm?aspxerrorpath=的原因及解决办法<转>
- WinForm DataGridView 绑定泛型List(List<T>)/ArrayList不显示的原因和解决
- 运行map()后,报:<map object at 0x02629E50>解决方法与原因分析
- Notepad++没有插件管理器(Plugin Manager)的原因以及解决方法
- 最近安装eclipse插件,很慢终于找到了解决的方法
- Eclipse安装PyDev插件后,preference中不显示Pydev问题原因及解决办法