Android:通过 Cygwin 下载源代码时出现 Python 错误
当我尝试在 Cygwin 中使用“repo”下载 Gingerbread 源代码时,收到以下错误。
一切运行良好,直到我执行“repo同步”命令:
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
任何人都可以建议这里可能出现什么问题吗?
谢谢
I am receiving the following errors when I attempt to download the Gingerbread source using "repo" in Cygwin.
Everything runs fine until I perform a "repo sync" command:
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
Can anyone advise what the problem may be here?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有同样的问题,我想知道它是否与这里描述的问题有关:
http://cygwin.com/faq/faq.using.html#faq .using.bloda
看来“随机分叉失败”可能是原因,但我不确定如何确定哪个 Windows 软件可能是问题所在;这份清单上没有什么让我印象深刻的。
I have the same problem, and I wonder if it is related to the issues described here:
http://cygwin.com/faq/faq.using.html#faq.using.bloda
It certainly seems like "random fork failures" might be the cause, but I'm not sure how to identify which Windows software might be the problem; nothing on that list jumps out at me.
尝试一下
,我认为 Cygwin 不支持多线程。
Try
I think multithreading is not supported in Cygwin.