Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/20.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git Cyanogenmod/天堂OS回购同步错误_Git_Synchronization_Cyanogenmod_Repo - Fatal编程技术网

Git Cyanogenmod/天堂OS回购同步错误

Git Cyanogenmod/天堂OS回购同步错误,git,synchronization,cyanogenmod,repo,Git,Synchronization,Cyanogenmod,Repo,我同步了整个天堂OS 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:

我同步了整个天堂OS 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
错误:无法创建文件frontend/client/src/autotest/public/Open+Sans:300.woff(无效参数)
错误:无法创建文件frontend/client/src/autotest/public/Roboto+Bold:700.woff(参数无效)
错误:无法创建文件frontend/client/src/autotest/public/Roboto+Light:300.woff(无效参数)
错误:无法创建文件frontend/client/src/autotest/public/Roboto+Medium:500.woff(参数无效)
错误:无法创建文件frontend/client/src/autotest/public/Roboto+Regular:400.woff(无效参数)
错误:无法创建文件服务器/site_tests/display_EdidStress/test_data/edids/weekly/SCT_272_STEELCASE_m:s_HDMI.txt(参数无效)
签出文件:100%(8423/8423),完成。
回溯(最近一次呼叫最后一次):
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/main.py”,第531行,在
_Main(sys.argv[1:])
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/main.py”,第507行,在_main中
结果=回购运行(argv)或0
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/main.py”,第180行,在运行中
结果=命令执行(copts、cargs)
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/subcmds/sync.py”,执行中的第821行
project.Sync\u LocalHalf(syncbuf,force\u Sync=opt.force\u Sync)
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/project.py”,第1327行,同步
self.\u InitWorkTree(强制同步=强制同步)
文件“/mnt/r/Ubuntu/relegeos/.repo/repo/project.py”,第2486行,在_InitWorkTree中
引发错误(“无法初始化工作树”)
error.GitError:无法初始化工作树
我已经尝试删除.repo文件夹中的External/autotest文件夹以强制其重新同步,并且我还重新初始化了repo


感谢您的帮助。

当前不支持在WSL中创建包含保留字符的文件。 有关详细信息,请参阅

顺便说一下,您没有提到您正在使用WSL,这会让您的问题变得混乱