2017-09-28 8 views
-1

제목으로 내 패키지의 문서를 빌드하면 로컬로 정상적으로 작동하지만 서버에서는 제대로 작동하지 않습니다. 나는 다음과 같은 오류가 발생합니다 :ReadTheDocs 스핑크스 빌드가 실패했지만 로컬로 작업 중임

Traceback (most recent call last): File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/sphinx/cmdline.py", line 295, in main 
    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs) File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/sphinx/application.py", line 163, in __init__ 
    confoverrides or {}, self.tags) File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/sphinx/config.py", line 134, in __init__ 
    execfile_(filename, config) File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/sphinx/util/pycompat.py", line 129, in execfile_ 
    exec_(code, _globals) File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/six.py", line 709, in exec_ 
    exec("""exec _code_ in _globs_, _locs_""") File "<string>", line 1, in <module> File "conf.py", line 23, in <module> 
    import secomo File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/checkouts/latest/secomo/__init__.py", line 1, in <module> 
    from .convRBM import CRBM File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/checkouts/latest/secomo/convRBM.py", line 2, in <module> 
    import theano File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/__init__.py", line 110, in <module> 
    from theano.compile import ( File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/compile/__init__.py", line 12, in <module> 
    from theano.compile.mode import * File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/compile/mode.py", line 11, in <module> 
    import theano.gof.vm File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/gof/vm.py", line 673, in <module> 
    from . import lazylinker_c File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/gof/lazylinker_c.py", line 127, in <module> 
    preargs=args) File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/gof/cmodule.py", line 2353, in compile_str 
    (status, compile_stderr.replace('\n', '. '))) Exception: Compilation failed (return status=1): /usr/bin/ld: /home/docs/.pyenv/versions/2.7.13/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /home/docs/.pyenv/versions/2.7.13/lib/libpython2.7.a: error adding symbols: Bad value. collect2: error: ld returned 1 exit status. 

Exception occurred: File "/home/docs/checkouts/readthedocs.org/user_builds/crbm/envs/latest/lib/python2.7/site-packages/Theano-0.10.0b3-py2.7.egg/theano/gof/cmodule.py", line 2353, in compile_str 
    (status, compile_stderr.replace('\n', '. '))) Exception: Compilation failed (return status=1): /usr/bin/ld: /home/docs/.pyenv/versions/2.7.13/lib/libpython2.7.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC. /home/docs/.pyenv/versions/2.7.13/lib/libpython2.7.a: error adding symbols: Bad value. collect2: error: ld returned 1 exit status. The full traceback has been saved in /tmp/sphinx-err-I1fypA.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! 

You can find the C code in this temporary file: /tmp/theano_compilation_error_JSxqVj 

pyenv에서 파이썬 빌드에 대한 몇 가지 플래그가 지금까지의 내가 this 게시물에서 그것을 인식하는 오류에 대한 책임 것처럼 보인다.

이것은 같은 이유로 Lasagne 빌드가 failing 인 것처럼 보입니다.

하지만 어떻게해야합니까? Theano의 버그입니까? 아니면 readthedocs.org의 설정과 관련이 있습니까? 그리고 그들은 --enable-shared 플래그로 파이썬을 컴파일하지 않습니까?

감사합니다.

로마

+0

보다도,

내가 GitHub의의 REPO를 검색하여 [가 관련된 문제로 나타납니다] 무엇을 발견 (https://github.com/rtfd/readthedocs.org/issues/2516#issuecomment -285231367). 그게 너를 도울 까? –

+0

나는이 문제를 읽었지 만, 테아 노가 전혀 의존하지 않고있다. (테아 노는 똑같은 일을하고 있지만, 기본적으로 TF는 그것을 대체했다. 그리고 Theano는 실제로 RTD와 잘 작동한다고 생각했습니다. Btw. 왜 내 질문의 downvote? 그냥 궁금해서. – romeasy

답변

0

여러분.

죄송하지만 RTD 문제인 것으로 보입니다. 이 질문을 올린 지 2 시간 후에 시스템의 빌드가 시작되었습니다. 죄송합니다. 오류가 내 측면에 있는지 또는 RTD 오류인지 여부는 확실하지 않았습니다. 로마