0

When trying to fetch the Chromium source code, I'm getting this error in the command prompt:

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git H:\chromium\_gclient_src_asrq2c4s' in 'H:\chromium'
Cloning into 'H:\chromium\_gclient_src_asrq2c4s'...
remote: Sending approximately 51.29 GiB ...
remote: Counting objects: 1191793, done
remote: Finding sources: 100% (1297/1297)
error: RPC failed; curl 56 schannel: server closed abruptly (missing close_notify)
error: 26934 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
1>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/chromium/src.git" "H:\chromium\_gclient_src_asrq2c4s"' in H:\chromium failed; will retry after a short nap...

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git H:\chromium\_gclient_src_asrq2c4s' in 'H:\chromium' attempt 2 / 2
Cloning into 'H:\chromium\_gclient_src_asrq2c4s'...
remote: Sending approximately 51.30 GiB ...
remote: Counting objects: 1191884, done
remote: Finding sources: 100% (1388/1388)
error: 22464 bytes of body are still expected33.42 GiB | 16.68 MiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
1>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "https://chromium.googlesource.com/chromium/src.git" "H:\chromium\_gclient_src_asrq2c4s"' in H:\chromium failed; will retry after a short nap...
Syncing projects: 100% ( 1/ 1) src
src (ERROR)
----------------------------------------
[0:00:00] Started.
[0:00:18]
Traceback (most recent call last):
  File "C:\src\depot_tools\gclient_scm.py", line 1394, in _Clone
    self._Run(clone_cmd,
  File "C:\src\depot_tools\gclient_scm.py", line 1741, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "C:\src\depot_tools\gclient_utils.py", line 733, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git H:\\chromium\\_gclient_src_asrq2c4s' returned non-zero exit status 128 in H:\chromium
[0:55:06] _____ Conflicting directory found in H:\chromium\src. Moving to H:\chromium\_bad_scm\src6sk8oje5.
----------------------------------------


Warnings:
Conflicting directory H:\chromium\src moved to H:\chromium\_bad_scm\src6sk8oje5.
Traceback (most recent call last):
  File "C:\src\depot_tools\gclient_scm.py", line 832, in update
    self.current_revision = self._Clone(revision, url, options)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient_scm.py", line 1394, in _Clone
    self._Run(clone_cmd,
  File "C:\src\depot_tools\gclient_scm.py", line 1741, in _Run
    gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
  File "C:\src\depot_tools\gclient_utils.py", line 733, in CheckCallAndFilter
    raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/chromium/src.git H:\\chromium\\_gclient_src_asrq2c4s' returned non-zero exit status 128 in H:\chromium

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\great\AppData\Local\.vpython-root\store\cpython+77vkdc5f3t4dm3hikhtc9e5djk\contents\bin\Lib\shutil.py", line 853, in move
    os.rename(src, real_dst)
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'H:\\chromium\\src' -> 'H:\\chromium\\_bad_scm\\src6sk8oje5\\src'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\src\depot_tools\metrics.py", line 302, in print_notice_and_exit
    yield
  File "C:\src\depot_tools\gclient.py", line 4670, in <module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient.py", line 4656, in main
    return dispatcher.execute(OptionParser(), argv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\subcommand.py", line 254, in execute
    return command(parser, args[1:])
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient.py", line 4009, in CMDsync
    ret = client.RunOnDeps('update', args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient.py", line 2449, in RunOnDeps
    work_queue.flush(revision_overrides,
  File "C:\src\depot_tools\gclient_utils.py", line 1045, in flush
    reraise(e[0], e[1], e[2])
  File "C:\src\depot_tools\gclient_utils.py", line 54, in reraise
    raise value
  File "C:\src\depot_tools\gclient_utils.py", line 1124, in run
    self.item.run(*self.args, **self.kwargs)
  File "C:\src\depot_tools\gclient.py", line 1251, in run
    self._got_revision = self._used_scm.RunCommand(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient_scm.py", line 137, in RunCommand
    return getattr(self, command)(options, args, file_list)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\src\depot_tools\gclient_scm.py", line 664, in wrapper
    return_val = f(*args)
                 ^^^^^^^^
  File "C:\src\depot_tools\gclient_scm.py", line 835, in update
    self._DeleteOrMove(options.force)
  File "C:\src\depot_tools\gclient_scm.py", line 209, in _DeleteOrMove
    shutil.move(self.checkout_path, dest_path)
  File "C:\Users\great\AppData\Local\.vpython-root\store\cpython+77vkdc5f3t4dm3hikhtc9e5djk\contents\bin\Lib\shutil.py", line 873, in move
    copy_function(src, real_dst)
  File "C:\Users\great\AppData\Local\.vpython-root\store\cpython+77vkdc5f3t4dm3hikhtc9e5djk\contents\bin\Lib\shutil.py", line 448, in copy2
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "C:\Users\great\AppData\Local\.vpython-root\store\cpython+77vkdc5f3t4dm3hikhtc9e5djk\contents\bin\Lib\shutil.py", line 256, in copyfile
    with open(src, 'rb') as fsrc:
         ^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'H:\\chromium\\src'

Subprocess failed with return code 1.

What is the problem and how can I fix it? I tried fetching the Chromium source code again (and making sure I followed all of Google's instructions) and it failed with the same error. Sorry if this is a dumb question, I'm new to Chromium.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.