Cyanogenmod/LineageOS 回购同步错误
Cyanogenmod/LineageOS repo sync error
我同步了整个 LineageOS cm-14.1 分支,但在最后它抛出了这个错误。
error: unable to create file frontend/client/src/autotest/public/Open+Sans:300.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Bold:700.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Light:300.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Medium:500.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Regular:400.woff (Invalid argument)
error: unable to create file server/site_tests/display_EdidStress/test_data/edids/weekly/SCT_272_STEELCASE_m:s_HDMI.txt (Invalid argument)
Checking out files: 100% (8423/8423), done.
Traceback (most recent call last):
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
我已经尝试删除 .repo 文件夹中的 extrernal/autotest 文件夹以强制它重新同步,并且我还重新初始化了 repo。
感谢您的帮助。
目前不支持创建包含 WSL 保留字符的文件。
有关详细信息,请参阅 https://github.com/Microsoft/BashOnWindows/issues/1514。
顺便说一句,您没有提到您正在使用 WSL,这会使您的问题变得混乱。
我同步了整个 LineageOS cm-14.1 分支,但在最后它抛出了这个错误。
error: unable to create file frontend/client/src/autotest/public/Open+Sans:300.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Bold:700.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Light:300.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Medium:500.woff (Invalid argument)
error: unable to create file frontend/client/src/autotest/public/Roboto+Regular:400.woff (Invalid argument)
error: unable to create file server/site_tests/display_EdidStress/test_data/edids/weekly/SCT_272_STEELCASE_m:s_HDMI.txt (Invalid argument)
Checking out files: 100% (8423/8423), done.
Traceback (most recent call last):
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/mnt/r/Ubuntu/LineageOS/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
我已经尝试删除 .repo 文件夹中的 extrernal/autotest 文件夹以强制它重新同步,并且我还重新初始化了 repo。
感谢您的帮助。
目前不支持创建包含 WSL 保留字符的文件。 有关详细信息,请参阅 https://github.com/Microsoft/BashOnWindows/issues/1514。
顺便说一句,您没有提到您正在使用 WSL,这会使您的问题变得混乱。