Android:通过 Cygwin 下载源代码时出现 Python 错误

发布于 2025-01-05 00:34:22 字数 6970 浏览 1 评论 0原文

当我尝试在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

初雪 2025-01-12 00:34:22

我有同样的问题,我想知道它是否与这里描述的问题有关:
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.

傲鸠 2025-01-12 00:34:22

尝试一下

repo sync -j1 

,我认为 Cygwin 不支持多线程。

Try

repo sync -j1 

I think multithreading is not supported in Cygwin.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文