repo should check for git.
Try applying this patch.

diff -up ./repo.ORI ./repo
--- ./repo.ORI  2009-03-16 13:09:46.000000000 +0100
+++ ./repo      2009-03-16 13:15:50.000000000 +0100
@@ -202,7 +202,11 @@ def _Init(args):

 def _CheckGitVersion():
   cmd = [GIT, '--version']
-  proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
+  try:
+     proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
+  except OSError, ex:
+     print >>sys.stderr, 'fatal: %s running "%s"' % (ex, " ".join
(cmd))
+     sys.exit(1)
   ver_str = proc.stdout.read().strip()
   proc.stdout.close()
   proc.wait()



On Mar 15, 6:30 am, Jean-Baptiste Queru <[email protected]> wrote:
> Sounds like you don't have git installed on your system.
>
> JBQ
>
>
>
> On Wed, Mar 11, 2009 at 7:03 PM, doubleslash <[email protected]> wrote:
>
> > I have the same problem. I tried curl and verified indeed the whole
> > python script was downloaded. I installed libreadline5-dev instead of
> > lib32readline5.dev because my computer could not find the latter. I
> > cannot initilize repo. Can someone help?
>
> > On Jan 30, 5:15 am, Bernhard <[email protected]> wrote:
> >> Same Problem here:
> >> i flowed the instrcutions 
> >> at:http://docs.google.com/View?docid=ajdmx8kfg357_81cmpr56f6
> >> VMware with Ubuntu 8.10
> >> -------------------------------
> >> m...@desktop:~/eee$ repo init -u 
> >> git://android.git.kernel.org/platform/manifest.git
> >> Traceback (most recent call last):
> >>   File "/bin/repo", line 590, in <module>
> >>     main(sys.argv[1:])
> >>   File "/bin/repo", line 557, in main
> >>     _Init(args)
> >>   File "/bin/repo", line 176, in _Init
> >>     _CheckGitVersion()
> >>   File "/bin/repo", line 205, in _CheckGitVersion
> >>     proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
> >>   File "/usr/lib/python2.5/subprocess.py", line 594, in __init__
> >>     errread, errwrite)
> >>   File "/usr/lib/python2.5/subprocess.py", line 1153, in
> >> _execute_child
> >>     raise child_exception
> >> OSError: [Errno 2] No such file or directory
> >> -------------------------------
>
> --
> Jean-Baptiste M. "JBQ" Queru
> Android Engineer, Google.
>
> Questions sent directly to me that have no reason for being private
> will likely get ignored or forwarded to a public forum with no further
> warning.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to