I was downloading the AOSP following the steps mentioned in the page
source.android.com/source/downloading
and I kept geting the same error when i was initializing the Repo client:
[email protected]:/home/andres# repo init -u android.googlesource.com/platform/manifest
Traceback (most recent call last):
File "/root/bin/repo", line 91, in <module>
import readline
ImportError: No module named readline
I tried doing loading the python tools using:
apt-get install python-setuptools
and then the: easy_install pyreadline
Later I got the same error, did someone solve this problem???
Related
I'm looking at getting into rom cooking with this latest cyanogen fiasco, but i'm having errors getting repo set up, and i'm wondering if it's my configuration.
I'm running OS X 10.5.8, everything is updated, and i've followed the whole guide from source.android.com, up to a certain point.
when i run "repo init -u git://android.git.kernel.org/platform/manifest.git", i get this error:
Code:
Traceback (most recent call last):
File "/Users/aaron/bin/repo", line 595, in <module>
main(sys.argv[1:])
File "/Users/aaron/bin/repo", line 562, in main
_Init(args)
File "/Users/aaron/bin/repo", line 181, in _Init
_CheckGitVersion()
File "/Users/aaron/bin/repo", line 210, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 593, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/subprocess.py", line 1079, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
anyone else have this error or know how to correct it?
side note, I made a partition on an external hard drive for nabbing the source, i'm CDing to the /Volumes/Android/mydroid before i run the command. ( the partition is HFS journaled/case sensitive) and have all the port stuff installed onto my Mac hard drive
Nevermind, my path settings aren't sticking for some reason. resetting the path solved my problems
This error happened after a repo sync, where I was downloading the entire AOSP source. There is no trace of the downloaded source...which is kind of lame as I just waited for a few hours...
But whatever...time to sleep I guess. Let me know if you have any ideas
Here's the error:
Code:
Fetching projects: 100% (158/158), done.
Traceback (most recent call last):
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/Users/wdfowty/bin/mydroid/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/Users/wdfowty/bin/mydroid/.repo/repo/subcmds/sync.py", line 338, in Execute
project.Sync_LocalHalf(syncbuf)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 712, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 1211, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/Users/wdfowty/bin/mydroid/.repo/repo/project.py", line 1356, in rev_list
p.stderr))
error.GitError: platform/external/opencore rev-list ('^61bf9af643abf0011dcf82ae8a436aeb7e8aae97', 'HEAD', '--'): fatal: bad object HEAD
when trying to sync the source for a rom by existx, i get the following error:
Code:
$ repo sync -f
Fetching projects: 6% (17/274) Exception in thread Thread-19:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/patrick/src/aospX/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File "/home/patrick/src/aospX/.repo/repo/project.py", line 985, in Sync_NetworkHalf
self._InitMRef()
File "/home/patrick/src/aospX/.repo/repo/project.py", line 1786, in _InitMRef
self._InitAnyMRef(R_M + self.manifest.branch)
File "/home/patrick/src/aospX/.repo/repo/project.py", line 1798, in _InitAnyMRef
self.bare_git.UpdateRef(ref, dst, message = msg, detach = True)
File "/home/patrick/src/aospX/.repo/repo/project.py", line 1972, in UpdateRef
self.update_ref(*cmdv)
File "/home/patrick/src/aospX/.repo/repo/project.py", line 2033, in runner
p.stderr))
GitError: platform/external/aac update-ref: fatal: 2bda038c163298531d47394bc2c09e1409c5d0db^0: not a valid SHA1
Fetching projects: 7% (20/274)
error: Exited sync due to fetch errors
I took at look at Google's git site and saw the the the SHA1 matches the one in the manifest file (se attachment).
Line from the manifest file:
Code:
<project name="platform/external/aac" path="external/aac" revision="2bda038c163298531d47394bc2c09e1409c5d0db"/>
I have tried resyncing, and the force option (-f), but nothing has worked thus far.
I'm running Ubuntu 10.04 x86_64, and I have all the required packages for building roms installed. Can anyone help?
after waiting for the next commit it is working now. not sure what was wrong.
hi to everyone i was looking for help.. bcoz im not a git pro nor linux pro.. i just want to studying about it and compile my own rom from source.. and i already did it.. but my problem comes when i rm all git files to start new repo init i made this thing because i am from unfinished repo sync.. and my problem now is everytime i doing repo init the error comes out..
Code:
[email protected]:~/qrd# repo init -u git://codeaurora.org/quic/qrd-android/platform/manifest.git -b refs/tags/R8625QSOSKQLYA3070 -m CAF/R8625QSOSKQLYA3070.xml
Traceback (most recent call last):
File "/root/.repo/repo/main.py", line 31, in <module>
from git_config import init_ssh, close_ssh
ImportError: No module named git_config
any help will so much appreciated..
hello guys i faced this error when i try to build rom using this command
. build/envsetup.sh
lunch 14 (my device number on list is 14)
Which would you like? [aosp_arm-eng] 14
Traceback (most recent call last):
File "build/tools/roomservice.py", line 121, in <module>
raise ValueError('No remote declaration could be found for the %s project. (%s)' % (name, remote))
ValueError: No remote declaration could be found for the Blackwings66/android_device_lenovo_A7010a48 project. (github)
** Roomservice failure for: 'pa_A7010a48'
Click to expand...
Click to collapse
im building pa 6.0.1 no repo version