You are not logged in.
Hi all,
I wanted to avoid asking this but I'm stuck.
I'm currently trying to use Google's repo to clone the entire git repository. However this sounds easier than it has shown to be.
Getting manifest ...
from git://android.git.kernel.org/platform/maifest.git
fatal: The remote end hung up unexpectedly
fatal: cannot obtain manifest git://android.git.kernel.org/platform/maifest.git
I can clone it manually using
git clone git://android.git.kernel.org/platform/maifest.git
so I don't think its server load
I've installed the python24 from AUR
I have since changed the symbolic link for
python -> python3
to
python -> python2.4
from the best I can tell (I'm not a python programmer, and I'm slow at grasping interpreted languages sometimes) it is coming from here:
git_command.py
try:
p = subprocess.Popen(command,
cwd = cwd,
env = env,
stdin = stdin,
stdout = stdout,
stderr = stderr)
and
def Wait(self):
p = self.process
if p.stdin:
...
try:
rc = p.wait()
finally:
_remove_ssh_client(p)
return rc
Any help would be fantastic, I'm sure that there is something I've missed
Thanks,
Offline
I have since changed the symbolic link for
python -> python3
to
python -> python2.4
Don't mess with the symlink like that. Change the shebang etc instead.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
pardon my naivety but why not adjust the symlink. I switch it back when I'm done attempting to check out. I assume with the shebang etc stuff you're refering to in script? Because I tried editing the script but it downloads another one and executes so I have to play find the error tag
Offline
I changed python to python2 in repo and .repo/repo/main.py and it works for me (with python2.7). I don't know what could result in your problem, though.
Offline
Try to add a separate system account (e.g: 'python2user' by useradd & passwd), login as that new account,
build a Python 2 in that 'account-wide' environment:
0. sudo su python2user
1. cd $HOME
2. wget http://www.python.org/ftp/python/2.7.1/ … .1.tar.bz2
3. tar xxvfj Python-2.7.1.tar.bz2
4. cd Python-2.7.1
5. ./configure --prefix=$HOME
6. make
7. make install
8. add a line 'PATH=~/bin:$PATH' at the bottom of '~/.bashrc'
9. logout and re-login as python2user, now your 'repo' is working normally.
Offline