Repo Client init problem ubuntu 8.10

by PerCentage » Tue, 20 Jan 2009 06:10:32 GMT


Sponsored Links
 I am trying to download the android source onto a new ubuntu 8.10
installation on a x86 machine. All the steps worked fine until I tried
to init the repo client. I get the following...

ja...@james-desktop:~/mydroid$ repo init -u 
git://android.git.kernel.org/platform/manifest.git
Traceback (most recent call last):
  File "/home/james/bin/repo", line 590, in <module>
    main(sys.argv[1:])
  File "/home/james/bin/repo", line 557, in main
    _Init(args)
  File "/home/james/bin/repo", line 176, in _Init
    _CheckGitVersion()
  File "/home/james/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

I can't find anyone else having such an repo error. I did find an
obscure message that said the python error might be due to a missing
readline module. I tried to install lib32readline5-dev as in the
download instructions and got the following error

ja...@james-desktop:~$ sudo apt-get install lib32readline5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package lib32readline5-dev

Any ideas anybody? I am somewhat new to linux but have had a fair
amount of unix experience in the past.


--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by the_dude » Thu, 22 Jan 2009 08:43:16 GMT


 I've got the same problem. I'll let you know when I found a solution.

/the_dude




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Repo Client init problem ubuntu 8.10

by Jean-Baptiste Queru » Thu, 22 Jan 2009 09:12:49 GMT


 This would be a good question to the repo-discuss mailing list, or
android-platform, so that android-developers can stay focused on
helping people who are developing applications with the SDK.

Do you have git installed?

JBQ






-- 
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by the_dude » Thu, 22 Jan 2009 17:17:06 GMT


 Yes, GIT is installed. I belive that it is not repo it self but that
lib32readline5-dev is related to the problem. As far as I understand
it is needed if you run on a AMD 64 bit arch but I'm running
Virtualbox + Ubuntu on my Intel Centrino Duo laptop so I'm a bit
confused. When looking in /proc/cpuinfo it states:
- model: 15
- model name: Intel(R) Core(TM)2 CPU t5...@1.83ghz
- stepping: 2
- cpuid level: 2
- clflush size: 64

When running $sudo apt-get install lib32readline5-dev it say there is
no such package, but  http://packages.ubuntu.com  states differently.
Any idea on how to fix this?

/dude




--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by the_dude » Thu, 22 Jan 2009 17:29:09 GMT


 orry, I missed flags.
- flags : fpu vme de pse tsc msr mce cx8 apic mtrr pge mca cmov pat
pse36 clflush mmx fxsr sse sse2 constant_tsc up pni monitor

And since it doesn't contain lm (long mode) I'm back to square 1.

/dude


On Jan 22, 10:16am, the_dude <d0...@hotmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by the_dude » Thu, 22 Jan 2009 23:22:12 GMT


 roblem solved...

It seems that the download of repo ($curl http://android.git.kernel.org/repo

Try the command until curl succeeds (verify by $less ~/bin/repo).

BR
the_dude

On Jan 22, 10:29am, the_dude <d0...@hotmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by Bismark » Fri, 23 Jan 2009 11:12:44 GMT


 Try

sudo apt-get install libreadline5-dev

instead of lib32readline5-dev

Bismark

--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by sienna » Mon, 26 Jan 2009 05:35:59 GMT


 I had same problem on ubuntu 8.04 as virtualbox guest os. In my case,
curl has no problem, but it just was resolved after successful
installation of librealine5-dev as Bismark advised. Thanks Bismark.




--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by Bernhard » Sat, 31 Jan 2009 01:52:27 GMT


 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
-------------------------------

--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by doubleslash » Thu, 12 Mar 2009 10:06:39 GMT


 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?



--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by Eric Chan » Thu, 12 Mar 2009 17:49:58 GMT


 try to delete the .repo file at your work folder, it is hided.
Best Regards

Eric Chan







--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by danL » Sun, 15 Mar 2009 13:12:33 GMT


 deleted the .repo file, same problem.

Please advise.

thx,
Dan







--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by Jean-Baptiste Queru » Sun, 15 Mar 2009 13:30:58 GMT


 Sounds like you don't have git installed on your system.

JBQ







-- 
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.

--~--~---------~--~----~------------~-------~--~----~



Repo Client init problem ubuntu 8.10

by Diego Torres Milano » Mon, 16 Mar 2009 20:18:58 GMT


 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()







--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Android Refurbish ???

mau tanya, kalau saya beli htc desire di hk...

http://s50.photobucket.com/albums/f345/Kaskus_Album/?action=view&current=htc.jpg

tau dari mana sih itu barang bener2 baru apa bukan? kan ga mungkin
kita cuman berdasarkan segel plastik aja kan?

apakah ada call/data meter gitu, seperti blackberry? (blackberry call/
data meter gak bisa di-reset)

atau bisakah kita liat dari serial number dll ??

intinya mau pastiin itu bukan barang refurbish aja sih...

-- 
"Indonesian Android Community [id-android]" 

2. Draw rectangle.

Can some one show me the sample code to draw a rectangular pulse in android
screen. I want to generate a bunch of them on x axis (which I imagine as
middle of screen).

-- 

3. <WTA> ROM dengan custom Sense UI?

4. ItemizedOverlay using both onTap methods

5. Charts in Android

6. Oot: aksesoris terlaris iphone4g

7. android init: XXX: