"Jesús J. Guerrero Botella" <
jesus.guerr...@gmail.com> wrote:
> I am new in the group, I hope you can give me some hint on what's
> happening.
>
> I am a Gentoo user, and I know several programming languages, but hace
> no clue about python, which is what the repo tool is written in.
>
> I am trying to fetch the sources as per this guide:
>
http://source.android.com/source/downloading.html
>
> and having no luck. I downloaded the repo tool, and on the first run
> it told me that it didn't like my default python 3.2 which Gentoo's
> portage has set up in my system. Fine, I ran it using explicitly the
> 2.7 version that I also had installed, but it doesn't work anyway. It
> seems to fetch some kind of list of versions, then abort with a syntax
> error, which I paste below. I also tried 2.6, just in case, no luck
> either.
>
> Is this a bug in the tool or am I doing something silly? Is there a guide
> to fetch this from git somewhere *without* using "repo"?
>
> Thanks beforehand :)
>
> ================0
> $ python2.6 ../bin/repo init -u
>
https://android.googlesource.com/platform/manifest -b
> android-4.0.1
at the top and therefore gets Python 3.2. The SyntaxError exception you