repo sync error ...

1,759 views
Skip to first unread message

Laios

unread,
Mar 21, 2012, 4:51:59 AM3/21/12
to android-...@googlegroups.com
Hi  I go stuck with this messages http://pastebin.com/2eagJiyV when i'll try "repo sync" . I'm  pretty sure
that this error is due to this command i put lines ago... " rm -rf ~/.repo "

How can I repair?

Magnus Bäck

unread,
Mar 21, 2012, 9:35:55 AM3/21/12
to android-...@googlegroups.com
On Wednesday, March 21, 2012 at 04:51 EDT,
Laios <lode...@gmail.com> wrote:

For future reference, this was the OP's error message when running
"repo sync":

xml.parsers.expat.ExpatError: not well-formed (invalid token): line 9,
column 79

This would indicate a broken manifest file. Did you run "repo init ..."
after you deleted the .repo directory? What's in .repo/manifest.xml
(specifically in the vicinity of line 9)?

--
Magnus B�ck
ba...@google.com

Laios

unread,
Mar 21, 2012, 10:26:14 AM3/21/12
to Android Building
Hi Magnus,
sorry about his but I linked wrong pastebin...this is the correct
one... http://pastebin.com/AwzWFw7z thanks a lot.

On 21 Mar, 14:35, Magnus Bäck <ba...@google.com> wrote:
> On Wednesday, March 21, 2012 at 04:51 EDT,
>      Laios <lodewi...@gmail.com> wrote:
>
> > Hi  I go stuck with this messageshttp://pastebin.com/2eagJiyVwhen i'll

Magnus Bäck

unread,
Mar 21, 2012, 11:03:11 AM3/21/12
to Android Building, '...@google.com
On Wednesday, March 21, 2012 at 10:26 EDT,
Laios <lode...@gmail.com> wrote:

> sorry about his but I linked wrong pastebin...this is the correct
> one... http://pastebin.com/AwzWFw7z thanks a lot.

Please post the error messages in the email instead of forcing people to
open URLs. Anyway, this is the important part of the Pastebin text:

iam@siamUTE-desktop:~/WORKING_DIRECTORY$ repo init
...
IOError: [Errno 2] No such file or directory:
'/home/siam/WORKING_DIRECTORY/.repo/manifests/.git/HEAD'

It looks like you deleted parts of your .repo directory but not
all of it. Otherwise Repo would normally complain about the lacking
-u option. The problem could also be that you have a .repo directory
further up in the tree, e.g. in /home/siam. Delete that directory
(and /home/siam/WORKING_DIRECTORY/.repo) and start over again.

Jean-Baptiste Queru

unread,
Mar 21, 2012, 11:08:25 AM3/21/12
to android-...@googlegroups.com
If you haven't downloaded any source code you, you can just nuke your
.repo and retry. repo is somewhat sensitive to issues in the initial
setup, and can get itself in a bad state when things don't go well at
that time.

If you've downloaded some source code already, you can save
.repo/projects away and restore it in a new .repo right after repo
init. That saves a lot of download time.

JBQ

> --
> 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

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Reply all
Reply to author
Forward
0 new messages