repo 1.26 cause AOSP sync break..

299 views
Skip to first unread message

jw wang

unread,
Oct 14, 2019, 12:46:33 PM10/14/19
to Android Building

have updated my ~/bin/repo  with the suggestion from AOSP, but get the following


:~/work/agent/_work/android-10.0.0_r4$ repo --version
repo version v1.13.7
repo launcher version 1.26
       (from /home/jericho/bin/repo)
       (currently at 1.13.7)
repo User-Agent git-repo/1.13.7 (Linux) git/2.7.4 Python/2.7.12
git 2.7.4
git User-Agent git/2.7.4 (Linux) git-repo/1.13.7
Python 2.7.12 (default, Oct  8 2019, 14:14:10)
[GCC 5.4.0 20160609]



:~/work/agent/_work/android-10.0.0_r4$ repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r4
remote: Counting objects: 1, done
remote: Finding sources: 100% (64/64)
remote: Total 64 (delta 9), reused 64 (delta 9)
Unpacking objects: 100% (64/64), done.
   fb527e3..d1e93dd  master     -> origin/master
   a2cd6ae..e778e57  stable     -> origin/stable
 * [new tag]         v1.13.7    -> v1.13.7
Traceback (most recent call last):
  File "/home/jericho/bin/repo", line 939, in <module>
    main(sys.argv[1:])
  File "/home/jericho/bin/repo", line 905, in main
    _Init(args, gitc_init=(cmd == 'gitc-init'))
  File "/home/jericho/bin/repo", line 378, in _Init
    rev = _Verify(dst, branch, opt.quiet)
  File "/home/jericho/bin/repo", line 715, in _Verify
    err = proc.stderr.read().decode('utf-8')
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 66-67: invalid continuation byte



any idea ?  from https://gerrit.googlesource.com/git-repo/+refs   I can see the latest version is v1.13.7

but the suggestion from aosp is repo launcher 1.26, what's the difference between repo and repo launcher ?




Xin Li

unread,
Oct 14, 2019, 12:51:43 PM10/14/19
to android-...@googlegroups.com
What's the locale setting?  e.g.

$ env | grep -E '^(LC_|LANG)'

Are you using something that is not UTF-8?

 




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

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/6f78d02c-7aeb-4864-ac37-b95f2f76d532%40googlegroups.com.

jw wang

unread,
Oct 15, 2019, 11:28:01 AM10/15/19
to Android Building
Hi Mr. Li

following are the information, any wrong doing ?


LC_PAPER=lzh_TW
LC_ADDRESS=lzh_TW
LC_MONETARY=lzh_TW
LC_NUMERIC=lzh_TW
LC_TELEPHONE=lzh_TW
LC_IDENTIFICATION=lzh_TW
LANG=en_US.UTF-8
LC_MEASUREMENT=lzh_TW
LC_TIME=lzh_TW
LC_NAME=lzh_TW

jw wang

unread,
Oct 21, 2019, 12:44:47 PM10/21/19
to Android Building
Hi Mr. Li

any wrong doing about my configuration ?
the same environment worked well in 1.25.
Reply all
Reply to author
Forward
0 new messages