Hi 

Can anyone guide me how to download the Android reference code in Windows.

Basically i tried using cygwin .

1.Installed Repo using curl http://android.git.kernel.org/repo > ~/bin/repo

2.Try to download the code using cmd : repo init -u 
git://android.git.kernel.org/platform/manifest.git -b froyo and getting 
error with python

Basically I install python during package installation of cygwin.

$ repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
1 [main] python 7724 C:\cygwin\bin\python.exe: *** fatal error - unable to 
remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as 
paren t: 0x260000 != 0x2C0000 Stack trace: Frame Function Args 0022A6A8 
6102796B (0022A6A8, 00000000, 00000000, 00000000) 0022A998 6102796B 
(6117EC60, 00008000, 00000000, 61180977) 0022B9C8 61004F1B (611A7FAC, 
61248964, 00260000, 002C0000) End of stack trace 1 [main] python 2592 fork: 
child 7724 - died waiting for dll loading, errn o 11 Traceback (most recent 
call last): File "/home/suresh.g/bin/repo", line 603, in <module> 
main(sys.argv[1:]) File "/home/suresh.g/bin/repo", line 570, in main 
_Init(args) File "/home/suresh.g/bin/repo", line 184, in _Init 
_CheckGitVersion() File "/home/suresh.g/bin/repo", line 213, in 
_CheckGitVersion proc = subprocess.Popen(cmd, stdout=subprocess.PIPE) File 
"/usr/lib/python2.6/subprocess.py", line 633, in __init__ errread, errwrite) 
File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child 
self.pid = os.fork() OSError: [Errno 11] Resource temporarily unavailable 
suresh.g@suresh-g ~/wrk_dir

suresh.g@suresh-g ~/bin
$ cd ../wrk_dir/

suresh.g@suresh-g ~/wrk_dir
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b froyo
      1 [main] python 7724 C:\cygwin\bin\python.exe: *** fatal error - 
unable to
 remap \\?\C:\cygwin\lib\python2.6\lib-dynload\time.dll to same address as 
paren
t: 0x260000 != 0x2C0000
Stack trace:
Frame     Function  Args
0022A6A8  6102796B  (0022A6A8, 00000000, 00000000, 00000000)
0022A998  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0022B9C8  61004F1B  (611A7FAC, 61248964, 00260000, 002C0000)
End of stack trace
      1 [main] python 2592 fork: child 7724 - died waiting for dll loading, 
errn
o 11
Traceback (most recent call last):
  File "/home/suresh.g/bin/repo", line 603, in <module>
    main(sys.argv[1:])
  File "/home/suresh.g/bin/repo", line 570, in main
    _Init(args)
  File "/home/suresh.g/bin/repo", line 184, in _Init
    _CheckGitVersion()
  File "/home/suresh.g/bin/repo", line 213, in _CheckGitVersion
    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1049, in _execute_child
    self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable


Cheers!!
Suresh

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/android-discuss/-/UwO6CUeIul4J.
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-discuss?hl=en.

Reply via email to