Ubuntu 22.04 Server SDK下载报错
-
国内镜像源安装的repo,在输入账号和密码后报错,无法通过验证
fantasy@fantasy:~/tina-d1-h$ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml repo: reusing existing repo client checkout in /home/fantasy/tina-d1-h Username for 'https://sdk.aw-ol.com': fantasya Password for 'https://fantasya@sdk.aw-ol.com': Traceback (most recent call last): File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 896, in <module> _Main(sys.argv[1:]) File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 861, in _Main result = repo._Run(name, gopts, argv) or 0 File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 293, in _Run result = run() File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 276, in <lambda> run = lambda: self._RunLong(name, gopts, argv) or 0 File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 450, in _RunLong execute_command() File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 416, in execute_command execute_command_helper() File "/home/fantasy/tina-d1-h/.repo/repo/main.py", line 382, in execute_command_helper result = cmd.Execute(copts, cargs) File "/home/fantasy/tina-d1-h/.repo/repo/subcmds/init.py", line 393, in Execute self._ConfigureUser(opt) File "/home/fantasy/tina-d1-h/.repo/repo/subcmds/init.py", line 210, in _ConfigureUser name = self._Prompt("Your Name", mp.UserName) File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 756, in UserName self._LoadUserIdentity() File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 769, in _LoadUserIdentity u = self.bare_git.var("GIT_COMMITTER_IDENT") File "/home/fantasy/tina-d1-h/.repo/repo/project.py", line 3701, in runner p.Wait() File "/home/fantasy/tina-d1-h/.repo/repo/git_command.py", line 402, in Wait raise GitCommandError( git_command.GitCommandError: GitCommandError: git command failure Project: manifests Args: var GIT_COMMITTER_IDENT Stdout: None Stderr: Committer identity unknown fantasy@fantasy:~/tina-d1-h$ python --version Python 3.10.12
-
@fantasya git command failure
没安装git
-
@awwwwa 有git的,我还clone了其他仓库的,保存验证命令也是能执行使用的,但是验证过不去
-
@awwwwa
使用python3的话repo会直接报错无法执行,使用python2的话可以执行但是结果和上面一样的fantasy@fantasy:~/tina-d1-h$ git --version git version 2.34.1 fantasy@fantasy:~/tina-d1-h$ python2 --version Python 2.7.18
-
怎么升级二级,拉SDK尼
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号