AnsweredAssumed Answered

repo sync error

Question asked by Kevin Li on Feb 25, 2020
Latest reply on Feb 27, 2020 by Joan Xie

Hi,

        I did "repo sync" o8.1.0.2.0.0.ga android source code, I got these error message repeatedly.

        What can I do next?

repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
Fetching projects: 100% (603/603), done.
Checking out projects: 52% (314/603) platform/external/v8error: Cannot checkout platform/external/vogar: GitError: platform/external/vogar rev-list ('^7c5660dc896dfe90f708a41d5f46d3b1a697521b', 'HEAD', '--'): fatal: Not a git repository (or any parent up to mount point /media/kevin/disk2)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Traceback (most recent call last):
File "/media/kevin/disk2/android_build/.repo/repo/main.py", line 622, in <module>
_Main(sys.argv[1:])
File "/media/kevin/disk2/android_build/.repo/repo/main.py", line 596, in _Main
result = run()
File "/media/kevin/disk2/android_build/.repo/repo/main.py", line 589, in <lambda>
run = lambda: repo._Run(name, gopts, argv) or 0
File "/media/kevin/disk2/android_build/.repo/repo/main.py", line 266, in _Run
result = cmd.Execute(copts, cargs)
File "/media/kevin/disk2/android_build/.repo/repo/subcmds/sync.py", line 966, in Execute
self._Checkout(all_projects, opt, err_event, err_results)
File "/media/kevin/disk2/android_build/.repo/repo/subcmds/sync.py", line 562, in _Checkout
self._CheckoutWorker(**kwargs)
File "/media/kevin/disk2/android_build/.repo/repo/subcmds/sync.py", line 442, in _CheckoutWorker
return self._CheckoutOne(opt, project, *args, **kwargs)
File "/media/kevin/disk2/android_build/.repo/repo/subcmds/sync.py", line 476, in _CheckoutOne
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/media/kevin/disk2/android_build/.repo/repo/project.py", line 1655, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/media/kevin/disk2/android_build/.repo/repo/project.py", line 3096, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/media/kevin/disk2/android_build/.repo/repo/project.py", line 3307, in rev_list
(self._project.name, str(args), p.stderr))
error.GitError: platform/external/vogar rev-list ('^7c5660dc896dfe90f708a41d5f46d3b1a697521b', 'HEAD', '--'): fatal: Not a git repository (or any parent up to mount point /media/kevin/disk2)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Outcomes