当我尝试使用Cygwin中的“repo”下载Gingerbread源时,我收到以下错误。
一切正常,直到我执行“repo sync”命令:
7 [unknown (0x175C)] python 4232 fork: child 8044 - died waiting for dll loading, errno 11
85124 [unknown (0x1430)] python 4232 fork: child 6932 - died waiting for dll loading, errno 11
175810 [unknown (0xF38)] python 4232 fork: child 4536 - died waiting for dll loading, errno 11
266256 [unknown (0x8AC)] python 4232 fork: child 7564 - died waiting for dll loading, errno 11
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/David/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
current_branch_only=opt.current_branch_only)
File "/home/David/.repo/repo/project.py", line 910, in Sync_NetworkHalf
self._InitRemote()
File "/home/David/.repo/repo/project.py", line 1690, in _InitRemote
remote = self.GetRemote(self.remote.name)
File "/home/David/.repo/repo/project.py", line 612, in GetRemote
return self.config.GetRemote(name)
File "/home/David/.repo/repo/git_config.py", line 173, in GetRemote
r = Remote(self, name)
File "/home/David/.repo/repo/git_config.py", line 525, in __init__
self.url = self._Get('url')
File "/home/David/.repo/repo/git_config.py", line 656, in _Get
return self._config.GetString(key, all = all)
File "/home/David/.repo/repo/git_config.py", line 114, in GetString
v = self._cache[_key(name)]
File "/home/David/.repo/repo/git_config.py", line 231, in _cache
self._cache_dict = self._Read()
File "/home/David/.repo/repo/git_config.py", line 237, in _Read
d = self._ReadGit()
File "/home/David/.repo/repo/git_config.py", line 288, in _ReadGit
d = self._do('--null', '--list')
File "/home/David/.repo/repo/git_config.py", line 312, in _do
capture_stderr = True)
File "/home/David/.repo/repo/git_command.py", line 215, in __init__
raise GitError('%s: %s' % (command[1], e))
GitError: config: [Errno 11] Resource temporarily unavailable
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/David/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
current_branch_only=opt.current_branch_only)
File "/home/David/.repo/repo/project.py", line 910, in Sync_NetworkHalf
self._InitRemote()
File "/home/David/.repo/repo/project.py", line 1690, in _InitRemote
remote = self.GetRemote(self.remote.name)
File "/home/David/.repo/repo/project.py", line 612, in GetRemote
return self.config.GetRemote(name)
File "/home/David/.repo/repo/git_config.py", line 173, in GetRemote
r = Remote(self, name)
File "/home/David/.repo/repo/git_config.py", line 525, in __init__
self.url = self._Get('url')
File "/home/David/.repo/repo/git_config.py", line 656, in _Get
return self._config.GetString(key, all = all)
File "/home/David/.repo/repo/git_config.py", line 114, in GetString
v = self._cache[_key(name)]
File "/home/David/.repo/repo/git_config.py", line 231, in _cache
self._cache_dict = self._Read()
File "/home/David/.repo/repo/git_config.py", line 237, in _Read
d = self._ReadGit()
File "/home/David/.repo/repo/git_config.py", line 288, in _ReadGit
d = self._do('--null', '--list')
File "/home/David/.repo/repo/git_config.py", line 312, in _do
capture_stderr = True)
File "/home/David/.repo/repo/git_command.py", line 215, in __init__
raise GitError('%s: %s' % (command[1], e))
GitError: config: [Errno 11] Resource temporarily unavailable
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/David/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
current_branch_only=opt.current_branch_only)
File "/home/David/.repo/repo/project.py", line 910, in Sync_NetworkHalf
self._InitRemote()
File "/home/David/.repo/repo/project.py", line 1690, in _InitRemote
remote = self.GetRemote(self.remote.name)
File "/home/David/.repo/repo/project.py", line 612, in GetRemote
return self.config.GetRemote(name)
File "/home/David/.repo/repo/git_config.py", line 173, in GetRemote
r = Remote(self, name)
File "/home/David/.repo/repo/git_config.py", line 525, in __init__
self.url = self._Get('url')
File "/home/David/.repo/repo/git_config.py", line 656, in _Get
return self._config.GetString(key, all = all)
File "/home/David/.repo/repo/git_config.py", line 114, in GetString
v = self._cache[_key(name)]
File "/home/David/.repo/repo/git_config.py", line 231, in _cache
self._cache_dict = self._Read()
File "/home/David/.repo/repo/git_config.py", line 237, in _Read
d = self._ReadGit()
File "/home/David/.repo/repo/git_config.py", line 288, in _ReadGit
d = self._do('--null', '--list')
File "/home/David/.repo/repo/git_config.py", line 312, in _do
capture_stderr = True)
File "/home/David/.repo/repo/git_command.py", line 215, in __init__
raise GitError('%s: %s' % (command[1], e))
GitError: config: [Errno 11] Resource temporarily unavailable
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/David/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
current_branch_only=opt.current_branch_only)
File "/home/David/.repo/repo/project.py", line 910, in Sync_NetworkHalf
self._InitRemote()
File "/home/David/.repo/repo/project.py", line 1690, in _InitRemote
remote = self.GetRemote(self.remote.name)
File "/home/David/.repo/repo/project.py", line 612, in GetRemote
return self.config.GetRemote(name)
File "/home/David/.repo/repo/git_config.py", line 173, in GetRemote
r = Remote(self, name)
File "/home/David/.repo/repo/git_config.py", line 525, in __init__
self.url = self._Get('url')
File "/home/David/.repo/repo/git_config.py", line 656, in _Get
return self._config.GetString(key, all = all)
File "/home/David/.repo/repo/git_config.py", line 114, in GetString
v = self._cache[_key(name)]
File "/home/David/.repo/repo/git_config.py", line 231, in _cache
self._cache_dict = self._Read()
File "/home/David/.repo/repo/git_config.py", line 237, in _Read
d = self._ReadGit()
File "/home/David/.repo/repo/git_config.py", line 288, in _ReadGit
d = self._do('--null', '--list')
File "/home/David/.repo/repo/git_config.py", line 312, in _do
capture_stderr = True)
File "/home/David/.repo/repo/git_command.py", line 215, in __init__
raise GitError('%s: %s' % (command[1], e))
GitError: config: [Errno 11] Resource temporarily unavailable
error: Exited sync due to fetch errors
任何人都可以告知这里可能出现的问题吗?
由于
答案 0 :(得分:0)
我遇到同样的问题,我想知道它是否与此处描述的问题有关: http://cygwin.com/faq/faq.using.html#faq.using.bloda
当然看起来“随机分叉失败”可能是原因,但我不确定如何识别哪个Windows软件可能是问题;那个名单上的任何内容都没有跳出来。
答案 1 :(得分:0)
尝试
repo sync -j1
我认为Cygwin不支持多线程。