[occam's Razor 홈으로]
     
 

이 게시판은 더 이상 사용하지 않습니다. 번역서 질문&의견 페이지를 보세요.



  이태광(2011-10-21 10:05:57, Hit : 17542, Vote : 3495
 http://www.fellstyle.com/myHome
 안드로이드소스 다운 받을라고 하는데요 에러가 나서요


안드로이드 소스 다운받는데 이런 에러가 나네요..
제가 전에 인터넷 찾아서 repo sync를 2번 하고 그냥 디렉토리만 지웠거든요
그래서 그런건가요 아님 뭐가 잘못 된건가요

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/mydroid/.repo/repo/subcmds/sync.py", line 182, in _FetchHelper
    success = project.Sync_NetworkHalf(quiet=opt.quiet)
  File "/root/mydroid/.repo/repo/project.py", line 926, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/root/mydroid/.repo/repo/project.py", line 1444, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/root/mydroid/.repo/repo/project.py", line 1514, in _FetchBundle
    size = r.headers['content-length']
  File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-length'

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/mydroid/.repo/repo/subcmds/sync.py", line 182, in _FetchHelper
    success = project.Sync_NetworkHalf(quiet=opt.quiet)
  File "/root/mydroid/.repo/repo/project.py", line 926, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/root/mydroid/.repo/repo/project.py", line 1444, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/root/mydroid/.repo/repo/project.py", line 1514, in _FetchBundle
    size = r.headers['content-length']
  File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-length'

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/mydroid/.repo/repo/subcmds/sync.py", line 182, in _FetchHelper
    success = project.Sync_NetworkHalf(quiet=opt.quiet)
  File "/root/mydroid/.repo/repo/project.py", line 926, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/root/mydroid/.repo/repo/project.py", line 1444, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/root/mydroid/.repo/repo/project.py", line 1514, in _FetchBundle
    size = r.headers['content-length']
  File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-length'

Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/mydroid/.repo/repo/subcmds/sync.py", line 182, in _FetchHelper
    success = project.Sync_NetworkHalf(quiet=opt.quiet)
  File "/root/mydroid/.repo/repo/project.py", line 926, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/root/mydroid/.repo/repo/project.py", line 1444, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/root/mydroid/.repo/repo/project.py", line 1514, in _FetchBundle
    size = r.headers['content-length']
  File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-length'

Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
    self.run()
  File "/usr/lib/python2.4/threading.py", line 422, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/root/mydroid/.repo/repo/subcmds/sync.py", line 182, in _FetchHelper
    success = project.Sync_NetworkHalf(quiet=opt.quiet)
  File "/root/mydroid/.repo/repo/project.py", line 926, in Sync_NetworkHalf
    if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/root/mydroid/.repo/repo/project.py", line 1444, in _ApplyCloneBundle
    exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/root/mydroid/.repo/repo/project.py", line 1514, in _FetchBundle
    size = r.headers['content-length']
  File "/usr/lib/python2.4/rfc822.py", line 390, in __getitem__
    return self.dict[name.lower()]
KeyError: 'content-length'


error: Exited sync due to fetch errors



류광 (2011-10-21 18:26:44)  
아마도... 책이 나온 이후 구글쪽 관련 URL들이 바뀌었기 때문인 것 같습니다. http://source.android.com/source/downloading.html 를 참고해서 다시 시도해 보세요~ 예를 들어 repo init 할 때 책에는 git://android.git.kernel.org/platform/manifest.git 로 되어 있지만 현재 http://source.android.com/source/downloading.html 에는 https://android.googlesource.com/platform/manifest 로 되어 있습니다.

안드로이드에서요 SpaceBalster요 이거 실행할라고 하는데 안되서요 [1]
'JAVA와C를 이용한 프로 안드로이드 게임개발 ' 책문의요 [1]

Copyright 1999-2018 Zeroboard / skin by zero

이동

메인 페이지

번역서 정보

번역 이야기

문서 창고

자유 게시판

방명록

     

Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0