~cco3
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
My guess is that those are all symlinks to eachother...I don't think
there is a difference. What is the problem you are having with `repo
sync`?
>
>
> On Friday, March 23, 2012 10:56:52 AM UTC-6, wjy wrote:
>>
>> Thank you very much. I used the default python in Ubuntu and
>> initialized repo.
>>
>> On 3月23日, 上午11时11分, Trickyhacker <prt...@gmail.com> wrote:
>> > I think this problem is related to python. If you have installed
>> > python manually, make sure that it is installed properly or you can
>> > just remove it and install it again.
>> >
>> > On Mar 22, 1:53 am, wjy <wjy...@gmail.com> wrote:
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > repo init -uhttps://android.googlesource.com/platform/manifest
>> > > Traceback (most recent call last):
>> > > File "/home/htwy/bin/repo", line 91, in <module>
>> > > import readline
>> > > ImportError: No module named readline
>
I made sure I have most recent version of repo and I also have python 2.7.2+. I believe this to be a local issue because I also fail to fetch from github. Of all the repo operations I have tried, about 30, only one has succeeded.
I get:Fetching projects: 14% (24/170) Exception in thread Thread-13:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_innerself.run()File "/usr/lib/python2.6/threading.py", line 484, in runself.__target(*self.__args, **self.__kwargs)File "/home/john/android/source/.repo/repo/subcmds/sync.py", line 200, in _FetchHelperclone_bundle=not opt.no_clone_bundle)File "/home/john/android/source/.repo/repo/project.py", line 934, in Sync_NetworkHalfand self._ApplyCloneBundle(initial=is_new, quiet=quiet):File "/home/john/android/source/.repo/repo/project.py", line 1475, in _ApplyCloneBundleexist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)File "/home/john/android/source/.repo/repo/project.py", line 1511, in _FetchBundler = urllib2.urlopen(req)File "/usr/lib/python2.6/urllib2.py", line 126, in urlopenreturn _opener.open(url, data, timeout)File "/usr/lib/python2.6/urllib2.py", line 397, in openresponse = meth(req, response)File "/usr/lib/python2.6/urllib2.py", line 510, in http_response'http', request, response, code, msg, hdrs)File "/usr/lib/python2.6/urllib2.py", line 429, in errorresult = self._call_chain(*args)File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chainresult = func(*args)File "/usr/lib/python2.6/urllib2.py", line 605, in http_error_302return self.parent.open(new, timeout=req.timeout)File "/usr/lib/python2.6/urllib2.py", line 391, in openresponse = self._open(req, data)File "/usr/lib/python2.6/urllib2.py", line 409, in _open'_open', req)File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chainresult = func(*args)File "/usr/lib/python2.6/urllib2.py", line 1161, in http_openreturn self.do_open(httplib.HTTPConnection, req)File "/usr/lib/python2.6/urllib2.py", line 1134, in do_openr = h.getresponse()File "/usr/lib/python2.6/httplib.py", line 986, in getresponseresponse.begin()File "/usr/lib/python2.6/httplib.py", line 391, in beginversion, status, reason = self._read_status()File "/usr/lib/python2.6/httplib.py", line 355, in _read_statusraise BadStatusLine(line)BadStatusLineThen:Exception in thread Thread-28:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_innerself.run()File "/usr/lib/python2.6/threading.py", line 484, in runself.__target(*self.__args, **self.__kwargs)File "/home/john/android/source/.repo/repo/subcmds/sync.py", line 200, in _FetchHelperclone_bundle=not opt.no_clone_bundle)File "/home/john/android/source/.repo/repo/project.py", line 934, in Sync_NetworkHalfand self._ApplyCloneBundle(initial=is_new, quiet=quiet):File "/home/john/android/source/.repo/repo/project.py", line 1475, in _ApplyCloneBundleexist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)File "/home/john/android/source/.repo/repo/project.py", line 1539, in _FetchBundleraise DownloadError('%s: %s ' % (req.get_host(), str(e)))DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out>Then:Exception in thread Thread-28:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_innerself.run()File "/usr/lib/python2.6/threading.py", line 484, in runself.__target(*self.__args, **self.__kwargs)File "/home/john/android/source/.repo/repo/subcmds/sync.py", line 200, in _FetchHelperclone_bundle=not opt.no_clone_bundle)File "/home/john/android/source/.repo/repo/project.py", line 934, in Sync_NetworkHalfand self._ApplyCloneBundle(initial=is_new, quiet=quiet):File "/home/john/android/source/.repo/repo/project.py", line 1475, in _ApplyCloneBundleexist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)File "/home/john/android/source/.repo/repo/project.py", line 1539, in _FetchBundleraise DownloadError('%s: %s ' % (req.get_host(), str(e)))DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out>
--
> I made sure I have most recent version of repo and I also have python
> 2.7.2+. I believe this to be a local issue because I also fail to fetch
> from github. Of all the repo operations I have tried, about 30, only one
> has succeeded.
Any firewall or proxy in the way? Repo should be happy fetching through
a proxy, but you need to set up http_proxy correctly.
--
Magnus B�ck
ba...@google.com
Thanks for the input but I do not use a proxy. I have a network switch and wireless router. I have done sync successfully in the past and that leads me to my confusion. It worked, then did not work.
Magnus Bäck
ba...@google.com
This isnt a proxy issue.
Here is the guide by GoogleUsing authentication
By default, access to the Android source code is anonymous. To protect the servers against excessive usage, each IP address is associated with a quota.
When sharing an IP address with other users (e.g. when accessing the source repositories from beyond a NAT firewall), the quotas can trigger even for regular usage patterns (e.g. if many users sync new clients from the same IP address within a short period).
In that case, it is possible to use authenticated access, which then uses a separate quota for each user, regardless of the IP address.
The first step is to create a password from the password generator and to save it in
~/.netrcaccording to the instructions on that page.The second step is to force authenticated access, by using the following manifest URI:
https://android.googlesource.com/a/platform/manifest. Notice how the/a/directory prefix triggers mandatory authentication. You can convert an existing client to use mandatory authentication with the following command:
在 2012年3月27日星期二UTC+8上午6时05分49秒,John Kirk写道:
Thanks for the input but I do not use a proxy. I have a network switch and wireless router. I have done sync successfully in the past and that leads me to my confusion. It worked, then did not work.
On Mar 26, 2012 1:35 PM, "Magnus Bäck" <ba...@google.com> wrote:
On Monday, March 26, 2012 at 14:18 EDT,
John Kirk <jkir...@gmail.com> wrote:
> I made sure I have most recent version of repo and I also have python
> 2.7.2+. I believe this to be a local issue because I also fail to fetch
> from github. Of all the repo operations I have tried, about 30, only one
> has succeeded.
Any firewall or proxy in the way? Repo should be happy fetching through
a proxy, but you need to set up http_proxy correctly.
--
Magnus Bäck
ba...@google.com
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en