master Source tree Sync Issue

33 views
Skip to first unread message

sriram

unread,
Dec 29, 2009, 12:54:25 AM12/29/09
to Android-x86
Hi All,

From last 2days when I am doing the repo sync on my data base i am
getting the following error.

$ repo sync
Fetching projects: 100% (139/139), done.
Traceback (most recent call last):
File "/home/android_x86/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])
File "/home/android_x86/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/home/android_x86/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/home/android_x86/.repo/repo/subcmds/sync.py", line 239, in
Execute
project.Sync_LocalHalf(syncbuf)
File "/home/android_x86/.repo/repo/project.py", line 731, in
Sync_LocalHalf
commit_id, committer_email = commit.split(' ', 2)
ValueError: too many values to unpack

What can be the problem here ? am I doing any thing wrong ?

Bryan Hundven

unread,
Dec 29, 2009, 1:10:48 AM12/29/09
to andro...@googlegroups.com
Sriram,

You are running repo in your home directory?

I would suggest making a directory in your home directory:

mkdir $HOME/android-x86
cd $HOME/android-x86
repo sync

if these exact instructions do not work, please respond to this email.


--

You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.





--
Bryan Hundven
bryanh...@gmail.com

sriram

unread,
Dec 29, 2009, 2:11:01 AM12/29/09
to Android-x86
Hi Bryan,

Thanks for your reply...

Yes i am running the repo in My home directory.
I changed the error log for readability. Sorry for the changes in
output log.

exact log is :


$ repo sync
Fetching projects: 100% (139/139), done.
Traceback (most recent call last):

File "/home/sriram/Sriram_Files/Proj_Files/android/android_x86/


android_x86/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])

File "/home/sriram/Sriram_Files/Proj_Files/android/android_x86/


android_x86/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)

File "/home/sriram/Sriram_Files/Proj_Files/android/android_x86/


android_x86/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)

File "/home/sriram/Sriram_Files/Proj_Files/android/android_x86/


android_x86/.repo/repo/subcmds/sync.py", line 239, in Execute
project.Sync_LocalHalf(syncbuf)

File "/home/sriram/Sriram_Files/Proj_Files/android/android_x86/


android_x86/.repo/repo/project.py", line 731, in Sync_LocalHalf
commit_id, committer_email = commit.split(' ', 2)
ValueError: too many values to unpack

I am able to sync in this Dir from last 45days... problem comes from
last 2days only.


On Dec 29, 11:10 am, Bryan Hundven <bryanhund...@gmail.com> wrote:
> Sriram,
>
> You are running repo in your home directory?
>
> I would suggest making a directory in your home directory:
>
> mkdir $HOME/android-x86
> cd $HOME/android-x86
> repo init -u git://git.android-x86.org/platform/manifest.git
> repo sync
>
> if these exact instructions do not work, please respond to this email.
>

Here you suggesting to create another branch.. right ?
That's fine but its take time and some other modifications need to do
in new branch...

That's the reason i want to use the same branch?

Can you tell what went wrong in that ?


Thanks & Regards
Sriram

Yi Sun

unread,
Dec 29, 2009, 2:15:44 AM12/29/09
to andro...@googlegroups.com
Eggy had the similar issues yesterday. He has to smash the tree and
the problem disappeared.
Yi
> --
>
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>


--
Android-x86
www.android-x86.org

sriram

unread,
Dec 29, 2009, 3:18:21 AM12/29/09
to Android-x86
Hi Yi,

"smash the tree" in the sense need to remove hole tree and sync it
again ?

or any other ? Please clarify it

Thanks & Regards
Sriram

Hedwin Koning

unread,
Dec 29, 2009, 4:17:42 AM12/29/09
to andro...@googlegroups.com
What Yi meant is start from scratch. Remove the complete directory in
your home dir and start again with "repo init ... " and "repo sync".
Should solve the issue, normally does. This happens when you init
somewhere and decided to move the dir or init went wrong for some reason.

Hedwin

Matt Richards

unread,
Dec 29, 2009, 9:03:18 AM12/29/09
to andro...@googlegroups.com
This problem occurs when I'm using the android-2.6.32 kernel branch
from the sf mirror.
When I move back to android-2.6.29 I am able to sync again.

--
--Matt

sriram

unread,
Dec 29, 2009, 9:49:44 AM12/29/09
to Android-x86
Hi Matt,

I also did the "android-2.6.32 kernel branch" changes in my source
tree.

How to revert back android-2.6.29 ?? Can you provide the steps ...

Sriram

> >> For more options, visit this group athttp://groups.google.com/group/android-x86?hl=en.

Matt Richards

unread,
Dec 29, 2009, 10:03:52 AM12/29/09
to andro...@googlegroups.com
To try out 2.6.32, you created a branch, now you can simply recheck
out the 2.6.29 branch to switch back to 2.6.29.

If you don't already have an android-2.6.29 branch you can check one
out using the following:
$ cd kernel
$ git checkout -b android-2.6.29 remotes/x86/android-2.6.29
(I had to add the remotes part, as x86/android-2.6.29 did not work
properly for me)
$ cd ..
$ repo sync
If it complains when you sync that your kernel branch is not following
a remote branch, then you have not created the correct branch.

Once I completed this, I was able to repo sync fine again.

Chih-Wei Huang

unread,
Dec 29, 2009, 8:14:37 PM12/29/09
to andro...@googlegroups.com
I think you're right.
I have the same problem when I tested 2.6.32,
but it disappeared after I switched back to 2.6.29,
so I forgot it.

So now you can just stay in 2.6.29 to avoid this problem.
I'll try to figure it out and find a real solution.

Refer:
http://groups.google.com/group/repo-discuss/browse_thread/thread/0045672754158ea4#

2009/12/29 Matt Richards <mric...@gmail.com>:

Chih-Wei Huang

unread,
Dec 30, 2009, 1:44:14 AM12/30/09
to andro...@googlegroups.com
Hmm, it seems repo sync will complain when
you're tracking the remote 2.6.32.
(i.e., you created the branch by git checkout -b ...)
If you use a non-tracking branch, it is fine.

So here is a temporary suggested workaround
(if you still want to use 2.6.32)
$ cd kernel
$ git checkout x86/android-2.6.32


$ cd ..
$ repo sync

But you will see such a message
kernel/: discarding 36678 commits
Since repo sync switch back to the default branch(2.6.29)
automatically if you're not on a tracking branch.
That's ok, you can still switch to 2.6.32 after syncing:

$ cd kernel
$ git checkout x86/android-2.6.32

then make again.

BTW, still don't find the root cause...

2009/12/30 Chih-Wei Huang <cwh...@android-x86.org>:

Reply all
Reply to author
Forward
0 new messages