2012-02-12 89 views
1

當我嘗試在Cygwin中使用「repo」下載薑餅源時,我收到以下錯誤。Android:通過Cygwin下載源代碼時出現Python錯誤

一切運行正常,直到我進行「回購同步」命令:

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

我有同樣的問題,我不知道它是與這裏描述的問題: http://cygwin.com/faq/faq.using.html#faq.using.bloda

這當然似乎是「隨機叉故障」可能是原因,但我不知道如何確定哪些Windows軟件可能是問題;該名單上沒有任何東西突然出現在我身上。

+0

我剛剛在「網絡安全模式」(Win7 Pro 32位)中再次嘗試,並且發生了相同的錯誤,因此干擾性Windows插件解釋現在似乎不太合理。 – 2012-02-14 16:05:10

+0

也嘗試降級到Python 2.6.5並運行「rebaseall」,仍然是同樣的問題。 – 2012-02-14 16:13:43

+0

試過用各種不同的基地址rebaseall沒有任何效果,我現在放棄試圖使用cygwin這個工作,而是使用Linux虛擬機,而不是沒有它的問題,但這是另一回事。 ) – 2012-02-15 23:41:40

0

嘗試

repo sync -j1 

我認爲多線程是不是在Cygwin的支持。