Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    Ubuntu 22.04 Server SDK下载报错

    MR Series
    3
    5
    2430
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fantasya LV 4 last edited by

      国内镜像源安装的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
      
      A 1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 @fantasya last edited by

        @fantasya git command failure

        没安装git

        F 2 Replies Last reply Reply Quote Share 0
        • F
          fantasya LV 4 @awwwwa last edited by

          @awwwwa 有git的,我还clone了其他仓库的,保存验证命令也是能执行使用的,但是验证过不去

          1 Reply Last reply Reply Quote Share 0
          • F
            fantasya LV 4 @awwwwa last edited by

            @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
            
            1 Reply Last reply Reply Quote Share 0
            • X
              xiyou LV 3 last edited by

              怎么升级二级,拉SDK尼

              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策