Not able to fetch new codebase using `fetch chromium`
117 views
Skip to first unread message
Jay Kapadia
unread,
Dec 22, 2024, 6:12:39 PM12/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev
On running `fetch chromium` or `fetch --no-history chromium` I get the following output:
C:\chromium>fetch --no-history chromium Updating depot_tools... Running: 'C:\Users\jayka\AppData\Local\.vpython-root\store\python_venv-4uhfsjhi5for37hmdjer3ht0k0\contents\Scripts\python3.exe' 'C:\src\depot_tools\gclient.py' root Running: 'C:\Users\jayka\AppData\Local\.vpython-root\store\python_venv-4uhfsjhi5for37hmdjer3ht0k0\contents\Scripts\python3.exe' 'C:\src\depot_tools\gclient.py' config --spec 'solutions = [ { "name": "src", "url": "https://chromium.googlesource.com/chromium/src.git", "managed": False, "custom_deps": {}, "custom_vars": {}, }, ] ' Running: 'C:\Users\jayka\AppData\Local\.vpython-root\store\python_venv-4uhfsjhi5for37hmdjer3ht0k0\contents\Scripts\python3.exe' 'C:\src\depot_tools\gclient.py' sync --no-history auth(263) _get_luci_auth_token:git-credential-luci failed: Command 'git-credential-luci get' returned non-zero exit status 1 not running with a service account and not logged in
If you are running this in a development environment, you can log in by running:
git credential-luci login
Syncing projects: 100% ( 1/ 1) src src (ERROR) ---------------------------------------- [0:00:00] Started. [0:01:06] ---------------------------------------- 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 4660, in <module> sys.exit(main(sys.argv[1:])) ^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gclient.py", line 4646, 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 3999, in CMDsync ret = client.RunOnDeps('update', args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gclient.py", line 2439, in RunOnDeps work_queue.flush(revision_overrides, File "C:\src\depot_tools\gclient_utils.py", line 1028, in flush reraise(e[0], e[1], e[2]) File "C:\src\depot_tools\gclient_utils.py", line 53, in reraise raise value File "C:\src\depot_tools\gclient_utils.py", line 1107, 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 832, in update self.current_revision = self._Clone(revision, url, options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gclient_scm.py", line 1372, in _Clone git_auth.ConfigureGlobal('/', url) File "C:\src\depot_tools\git_auth.py", line 301, in ConfigureGlobal ConfigChanger.new_for_remote(cwd, remote_url).apply_global(cwd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\git_auth.py", line 122, in new_for_remote c.mode = cls._infer_mode(cwd, c._shortname + '-review.googlesource.com') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\git_auth.py", line 133, in _infer_mode if not gerrit_util.GitCredsAuthenticator.gerrit_account_exists( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gerrit_util.py", line 895, in gerrit_account_exists info = GetAccountDetails(host, authenticator=cls()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gerrit_util.py", line 1900, in GetAccountDetails conn = CreateHttpConn(host, ^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\gerrit_util.py", line 1066, in CreateHttpConn authenticator.authenticate(conn) File "C:\src\depot_tools\gerrit_util.py", line 869, in authenticate 'Authorization'] = f'Bearer {self._authenticator.get_access_token()}' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\depot_tools\auth.py", line 245, in get_access_token raise GitLoginRequiredError() auth.GitLoginRequiredError: You are not logged in. Please login first by running: git-credential-luci login
Subprocess failed with return code 1.
First I was trying to update the code but I was getting the same error about "git-credential-luci login" so I decided to redownload it and getting the same error.
Ravish
unread,
Dec 23, 2024, 8:14:40 AM12/23/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, Jay Kapadia
I think this should work . Some steps are missing . Restart with 0. Or run glclient sync in git bash it will take time .
Ravish
unread,
Dec 23, 2024, 8:14:41 AM12/23/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev, Jay Kapadia
I think it should work because there is no any issue . I think some steps are missing but if still having issue run "glclient sync". I think this should work . It takes time.
On Monday, 23 December 2024 at 04:42:39 UTC+5:30 Jay Kapadia wrote: