|
发表于 2023-10-20 09:39:38
浏览:3006
|
回复:3
打印
只看该作者
[复制链接]
楼主
按照wiki说明(https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/Source_code.html)
当未修改程序时,执行 .repo/repo/repo sync -l 会报以下错误
File "/home/wjc/桌面/RV1126/rv1126_rv1109_linux_release_20211022/.repo/repo/manifest_xml.py", line 465, in _ParseManifestXml
fp = os.path.join(include_root, name)
File "/usr/lib/python2.7/posixpath.py", line 72, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 10: ordinal not in range(128)
当修改程序时,添加 “reload(sys) sys.setdefaultencoding('utf-8')后,执行 .repo/repo/repo sync -l 正常。
但是当执行第2句.repo/repo/repo sync -c --no-tags的时候报错,尝试过多次,现象都一样,最后会打印:
info: A new version of repo is available
warning: GnuPG was not available during last "repo init"
warning: Cannot automatically authenticate repo."""
error: .repo/repo/: contains uncommitted changes
tchip_askquestions
|
|