Saw a post on http://code.google.com/p/android/issues/detail?id=3161.
Issue is related to python.

Solution is like this:

1. "touch ~/.gitconfig"
2. "rm -rf .repo"

Please try and see if it works.

On Jun 6, 5:16 pm, Tirtha <gtir...@gmail.com> wrote:
> Hi,
>
> I am using Virtual Box with KUbuntu Linux on x86(Windows XP) system
> and setting up system for Android Source SDK. I have installed repo
> through (curlhttp://android.git.kernel.org/repo>~/bin/repo). Now I
> am trying to initialize repo by $ repo init -u
> git://android.git.kernel.org/platform/manifest.git but here I am
> getting an error shown as follows:
>
> Traceback (most recent call last):
>   File "/home/tirtha/mydroid/.repo/repo/main.py", line 235, in
> <module>
>     _Main(sys.argv[1:])
>   File "/home/tirtha/mydroid/.repo/repo/main.py", line 217, in _Main
>     repo._Run(argv)
>   File "/home/tirtha/mydroid/.repo/repo/main.py", line 123, in _Run
>     cmd.Execute(copts, cargs)
>   File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 218, in
> Execute
>     self._SyncManifest(opt)
>   File "/home/tirtha/mydroid/.repo/repo/subcmds/init.py", line 123, in
> _SyncManifest
>     m.PreSync()
>   File "/home/tirtha/mydroid/.repo/repo/project.py", line 1440, in
> PreSync
>     cb = self.CurrentBranch
>   File "/home/tirtha/mydroid/.repo/repo/project.py", line 271, in
> CurrentBranch
>     b = self.work_git.GetHead()
>   File "/home/tirtha/mydroid/.repo/repo/project.py", line 1226, in
> GetHead
>     fd = open(path, 'rb')
> IOError: [Errno 2] No such file or directory: '/home/tirtha/
> mydroid/.repo/manifests/.git/HEAD'
>
> I have try to go to the mentioned folder and it looks like /home/
> tirtha/mydroid/.repo/manifest.git/HEAD rather '/home/tirtha/
> mydroid/.repo/manifests/.git/HEAD'.
>
> Can anybody suggest me the reson of the error and any solution for
> this
>
> Thnaks and regards,
> Tirtha

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to