FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build.py error on Windows · Issue #435 · python/python-docs-ko · GitHub

Repository navigation

build.py error on Windows #435

Closed
Closed

Description

sphinx-build: error: unrecognized arguments :ko
를 오류로 뱉습니다..
(Wndows 8.1 , python 3.6.4)

Activity

  1. waterple commented on May 9, 2018

    Author

    혹시 윈도우에서 테스트 안하셨나요..?

  2. changed the title [-]build.py 에러 입니다...[/-] [+]build.py error on Windows[/+] on May 9, 2018
  3. flowdas commented on May 9, 2018

    Collaborator

    아직 윈도우는 지원하지 않습니다.

  4. waterple commented on May 9, 2018

    Author

    그럼 반드시 리눅스가 필요한가요..?

  5. flowdas commented on May 9, 2018

    Collaborator

    그게 제일 간단할 것 같습니다. 윈도우를 지원하거나 다른 더 편한 방법도 강구해보겠습니다.

  6. waterple commented on May 9, 2018

    Author

    일단 build.py 의 build()에서 옵션들을 작은따옴표로 묶어주니까 관련 에러들은 사라지는데요,
    autobuild-stable-html은 아무리 구글링을 해도 찾아지지 않습니다... 정확히 무슨 옵션인가요??

  7. flowdas commented on May 9, 2018

    Collaborator

    cpython/Doc/Makefile target 중 하나입니다.

  8. caerang commented on May 17, 2018

    Cloning into 'cpython'...
    Warning: Permanently added the RSA host key for IP address '192.30.255.112' to the list of known hosts.
    git@github.com: Permission denied (publickey).
    fatal: Could not read from remote repository.
    
    Please make sure you have the correct access rights
    and the repository exists.
    Traceback (most recent call last):
      File "./build.py", line 57, in <module>
        main()
      File "./build.py", line 52, in main
        prepare_env()
      File "./build.py", line 36, in prepare_env
        git_clone('git@github.com:python/cpython.git', 'cpython', VERSION)
      File "./build.py", line 29, in git_clone
        shell("git clone --depth 1 --no-single-branch {} {}".format(repository, directory))
      File "./build.py", line 22, in shell
        return subprocess.check_call(cmd, **opts)
      File "/Users/hyeongdo/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 291, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'git clone --depth 1 --no-single-branch git@github.com:python/cpython.git cpython' returned non-zero exit status 128.

    Mac 에서는 위와 같이 에러가 납니다.

  9. flowdas commented on May 17, 2018

    Collaborator

    @caerang

    git clone git@github.com:python/cpython.git
    

    은 되시나요?

  10. caerang commented on May 18, 2018

    @flowdas

    git clone git@github.com:python/cpython.git
    

    위 명령어도 접근 권한이 없어서 안됩니다. 일단 임시로 ssh가 아니라 https 로 build.py 코드 수정하고 실행해 봤는데, 프로젝트 다운로드는 되는데

    Not building; 3.8.0a0 is not a release version.
    make: *** [autobuild-stable-html] Error 1
    Traceback (most recent call last):
      File "./build.py", line 57, in <module>
        main()
      File "./build.py", line 53, in main
        build()
      File "./build.py", line 48, in build
        chdir=doc_dir)
      File "./build.py", line 22, in shell
        return subprocess.check_call(cmd, **opts)
      File "/Users/hyeongdo/.pyenv/versions/3.6.5/lib/python3.6/subprocess.py", line 291, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command 'make VENVDIR=../../venv SPHINXOPTS='-D locale_dirs=../locale -D language=ko -D gettext_compact=0' autobuild-stable-html' returned non-zero exit status 2.

    위와 같은 에러가 발생해서 일단 중단한 상태에요.

  11. flowdas commented on May 18, 2018

    Collaborator

    @caerang

    github 에 ssh 설정을 하지 않으셔서 생기는 문제 같습니다. ssh 설정을 하시거나, build.py 에 있는 git@github.com:python/cpython.git 를 https url 로 바꾸고 실행해보세요. 방금 보내주신 에러는 build.py 가 하는 브랜치 설정이 이루어지지 않아서 생기는 에러입니다. 이미 clone 한 cpython 디렉토리는 삭제하셔야합니다.

  12. caerang commented on May 18, 2018

    @flowdas

    네, 말씀처럼 ssh 키 등록하니까 잘 동작합니다. 감사합니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL