|
发表于 2022-4-7 13:19:31
只看该作者
11#
我尝试了查看repo的具体trace,发现ubuntu20.04下运行到了git read-tree命令,这比ubuntu18.04下运行得更多,但我还是没法解决。
ubuntu20.04的repo trace:
decatur@ubuntu:~/rock-chip-SDK/rv1126_rv1109_linux_release_20211022$ ./.repo/repo/repo --trace sync -l
warning: Python 3 support is currently experimental. YMMV.
Please use Python 2.6 - 2.7 instead.
/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py:19: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
: parsing /home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/manifests.git/config
: git config --file /home/decatur/.gitconfig --null --list 1>| 2>|
: parsing /home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/.git/config
: load refs /home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/manifests.git
: cd /home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/app/CameraFactoryTestServer
: git read-tree --reset -u -v HEAD 1>| 2>|
error: unable to open object pack directory: .git/objects/pack: Not a directory
error: unable to open object pack directory: .git/objects/pack: Not a directory
error: unable to open object pack directory: .git/objects/pack: Not a directory
fatal: failed to read object 4bf562db7718264772ed9c52e1afc54ccebc8356: Not a directory
Traceback (most recent call last):
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/decatur/rock-chip-SDK/rv1126_rv1109_linux_release_20211022/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
|
|