python sphinx - Don't build docs from local hosted readthedocs -
i deploy local instance application readthedocs. when i'm start generation of documentation appear errors.
here logs:
29/may/2015 08:47:00] info [requests.packages.urllib3.connectionpool:180] starting new http connection (1): localhost [29/may/2015 08:47:00] info [projects.tasks:87] (build) [diclonius-doc:] building [29/may/2015 08:47:00] error [projects.tasks:576] unable post new build traceback (most recent call last): file "/srv/readthedoc/readthedocs/projects/tasks.py", line 574, in record_build api.build(build['id']).put(build) file "/srv/readthedoc/.env/local/lib/python2.7/site-packages/slumber/__init__.py", line 164, in put resp = self._request("put", data=data, files=files, params=kwargs) file "/srv/readthedoc/.env/local/lib/python2.7/site-packages/slumber/__init__.py", line 108, in _request raise exceptions.httpclienterror("client error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) httpclienterror: client error 401: http://localhost:8000/api/v1/build/7/ [29/may/2015 08:47:00] info [projects.tasks:209] (build) [diclonius-doc:latest] updating docs vcs ... ... [29/may/2015 08:47:01] info [vcs_support.base:66] vcs[diclonius-doc:latest]: 47973225b291c752663da75d5ba218e5423029c4 [29/may/2015 08:47:01] error [projects.tasks:576] unable post new build traceback (most recent call last): file "/srv/readthedoc/readthedocs/projects/tasks.py", line 574, in record_build api.build(build['id']).put(build) file "/srv/readthedoc/.env/local/lib/python2.7/site-packages/slumber/__init__.py", line 164, in put resp = self._request("put", data=data, files=files, params=kwargs) file "/srv/readthedoc/.env/local/lib/python2.7/site-packages/slumber/__init__.py", line 108, in _request raise exceptions.httpclienterror("client error %s: %s" % (resp.status_code, url), response=resp, content=resp.content) httpclienterror: client error 401: http://localhost:8000/api/v1/build/7/ [29/may/2015 08:47:01] info [projects.tasks:308] (build) [diclonius-doc:latest] removing existing build dir [29/may/2015 08:47:01] info [projects.utils:81] running: 'virtualenv-2.7 -p python --no-site-packages /srv/readthedoc/user_builds/diclonius-doc/envs/latest' [/srv/readthedoc] [29/may/2015 08:47:02] info [projects.utils:81] running: '/srv/readthedoc/user_builds/diclonius-doc/envs/latest/bin/pip install --use-wheel --find-links=/srv/readthedoc/deploy/wheels -u sphinx==1.3.1 pygments==2.0.2 virtualenv==1.10.1 setuptools==1.1 docutils==0.11 mkdocs==0.11.1 mock==1.0.1 pillow==2.6.1 readthedocs-sphinx-ext==0.4.4 sphinx-rtd-theme==0.1.8 recommonmark==0.1.1' [/srv/readthedoc] i use server gunicorn , nginx proxy.
Comments
Post a Comment