View Single Post
Posts: 49 | Thanked: 1 time | Joined on Sep 2008
#5
Anyone played around with this yet? I am trying to setup my environment (following the instructions on the google site). However I am stuck pretty early.

I run:

repo init -u git://android.kernel.org/platform/manifest.git

At which point I get

Code:
Traceback (most recent call last):
  File "/home/cyrus/development/mydroid/.repo/repo/main.py", line 198, in <module>
    _Main(sys.argv[1:])
  File "/home/cyrus/development/mydroid/.repo/repo/main.py", line 184, in _Main
    repo._Run(argv)
  File "/home/cyrus/development/mydroid/.repo/repo/main.py", line 94, in _Run
    cmd.Execute(copts, cargs)
  File "/home/cyrus/development/mydroid/.repo/repo/subcmds/init.py", line 189, in Execute
    self._ConfigureUser()
  File "/home/cyrus/development/mydroid/.repo/repo/subcmds/init.py", line 143, in _ConfigureUser
    self._PromptKey('Your Name', 'user.name', mp.UserName)
  File "/home/cyrus/development/mydroid/.repo/repo/project.py", line 202, in UserName
    self._LoadUserIdentity()
  File "/home/cyrus/development/mydroid/.repo/repo/project.py", line 215, in _LoadUserIdentity
    u = self.bare_git.var('GIT_COMMITTER_IDENT')
  File "/home/cyrus/development/mydroid/.repo/repo/project.py", line 1024, in runner
    p.stderr))
error.GitError: manifests var: 
*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident  <cyrus@cyrus.(none)> not allowed
So I run the git config --global cyrus.drive@gmail.com "cyrus.drive@gmail.com".

Then I try to re-run the

repo init -u git://android.kernel.org/platform/manifest.git

But it complains that .repo already exists. If I delete .repo and re-run yet again I am gack to the fatal: empty ident error.

Thanks