Page MenuHomeSoftware Heritage
Paste P401

generating docs error
ActivePublic

Authored by moranegg on May 15 2019, 2:30 PM.
(swh) morane@hplaptopft0:~/Documents/code/swh-environment/swh-docs$ tox -e sphinx-dev
GLOB sdist-make: /home/morane/Documents/code/swh-environment/swh-docs/setup.py
sphinx-dev create: /home/morane/Documents/code/swh-environment/swh-docs/.tox/sphinx-dev
sphinx-dev installdeps: django < 2, -rrequirements-swh-dev.txt, pifpaf
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
sphinx-dev inst: /home/morane/Documents/code/swh-environment/swh-docs/.tox/.tmp/package/1/swh.docs-0.0.0.post147.zip
WARNING: Discarding $PYTHONPATH from environment, to override specify PYTHONPATH in 'passenv' in your configuration.
sphinx-dev installed: aiohttp==3.5.4,alabaster==0.7.12,amqp==2.4.2,apache-libcloud==2.4.0,arrow==0.13.1,asn1crypto==0.24.0,async-timeout==3.0.1,atomicwrites==1.3.0,attrs==19.1.0,azure-common==1.1.20,azure-nspkg==3.0.2,azure-storage==0.36.0,Babel==2.6.0,beautifulsoup4==4.7.1,billiard==3.6.0.0,celery==4.3.0,certifi==2019.3.9,cffi==1.12.3,chardet==3.0.4,Click==7.0,commonmark==0.9.0,cryptography==2.6.1,daiquiri==1.5.0,decorator==4.4.0,Django==1.11.20,django-js-reverse==0.9.1,django-webpack-loader==0.6.0,djangorestframework==3.9.4,docutils==0.14,dulwich==0.19.11,elasticsearch==7.0.1,extras==1.0.0,fastimport==0.9.8,file-magic==0.4.0,fixtures==3.0.0,Flask==1.0.2,future==0.17.1,htmlmin==0.1.12,hypothesis==4.23.5,idna==2.8,idna-ssl==1.1.0,imagesize==1.1.0,iso8601==0.1.12,itsdangerous==1.1.0,Jinja2==2.10.1,kafka-python==1.4.6,kombu==4.5.0,linecache2==1.0.0,lxml==4.3.3,MarkupSafe==1.1.1,more-itertools==7.0.0,msgpack==0.6.1,multidict==4.5.2,packaging==19.0,pathlib2==2.3.3,patool==1.12,pbr==5.2.0,pifpaf==2.2.2,pkginfo==1.5.0.1,pluggy==0.11.0,psutil==5.6.2,psycopg2==2.8.2,py==1.8.0,pycparser==2.19,Pygments==2.4.0,PyLD==1.0.5,pypandoc==1.4,pyparsing==2.4.0,pytest==4.5.0,python-cephlibs==0.94.5.post1,python-dateutil==2.8.0,python-debian==0.1.34,python-hglib==2.6.1,python-memcached==1.59,python-mimeparse==1.6.0,pytz==2019.1,PyYAML==5.1,recommonmark==0.5.0,requests==2.22.0,retrying==1.3.3,six==1.12.0,snowballstemmer==1.2.1,soupsieve==1.9.1,Sphinx==1.8.5,sphinxcontrib-applehelp==1.0.1,sphinxcontrib-devhelp==1.0.1,sphinxcontrib-htmlhelp==1.0.2,sphinxcontrib-httpdomain==1.7.0,sphinxcontrib-images==0.8.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-programoutput==0.14,sphinxcontrib-qthelp==1.0.2,sphinxcontrib-serializinghtml==1.1.3,sphinxcontrib-websupport==1.1.0,SQLAlchemy==1.3.3,sqlitedict==1.6.0,subvertpy==0.10.1,-e git+ssh://git@forge.softwareheritage.org/source/swh-archiver.git@9b45b253784f565cf6a9869be0167849c630ef60#egg=swh.archiver,-e git+ssh://git@forge.softwareheritage.org/diffusion/DCORE/swh-core.git@9674959d9b316c9efb743fa1cf9d081043d06954#egg=swh.core,-e git+ssh://git@forge.softwareheritage.org/source/swh-deposit.git@628ed8d578762c6afe56da5679cb890095b83cc3#egg=swh.deposit,swh.docs==0.0.0.post147,-e git+ssh://git@forge.softwareheritage.org/diffusion/78/swh-indexer.git@58627ee48bb38eeab22eea35f9e2a0728c15677c#egg=swh.indexer,-e git+ssh://git@forge.softwareheritage.org/diffusion/DJNL/swh-journal.git@1e4287efbfcd29d2ee5f647a6746ced93c14c265#egg=swh.journal,-e git+ssh://git@forge.softwareheritage.org/source/swh-lister.git@fedfd73c8e4be8ce1d08b31c9a5cb99f9ca40fd6#egg=swh.lister,-e git+ssh://git@forge.softwareheritage.org/diffusion/60/swh-loader-core.git@0b45a64fd040aaac1b8a1513a44618ba83e45c11#egg=swh.loader.core,-e git+ssh://git@forge.softwareheritage.org/diffusion/DLDDEB/swh-loader-debian.git@85d4bbd036ae036dc1e8defdece28f117578b8a3#egg=swh.loader.debian,-e git+ssh://git@forge.softwareheritage.org/diffusion/DLDDIR/swh-loader-dir.git@c8fe76bda6c68bef470973a3d3d3b559c738f233#egg=swh.loader.dir,-e git+ssh://git@forge.softwareheritage.org/diffusion/DLDG/swh-loader-git.git@dca39b777b6fe8d2210e6c80f5df411eb31c709a#egg=swh.loader.git,-e git+ssh://git@forge.softwareheritage.org/source/swh-loader-mercurial.git@c60b1d7011fcb79845b19fc3ce9ff3ec18c0dcde#egg=swh.loader.mercurial,swh.loader.npm==0.0.6,-e git+ssh://git@forge.softwareheritage.org/source/swh-loader-pypi.git@09732f4aaf452c8583250dc1993297fbcb4b47b0#egg=swh.loader.pypi,-e git+ssh://git@forge.softwareheritage.org/diffusion/DLDSVN/swh-loader-svn.git@c9463e0f461bada207d1309d952c9257a5befddf#egg=swh.loader.svn,-e git+ssh://git@forge.softwareheritage.org/diffusion/DLDTAR/swh-loader-tar.git@f338e4c16403ff6657f28484e56f5d0cab5a6c01#egg=swh.loader.tar,-e git+ssh://git@forge.softwareheritage.org/source/swh-mirror-forge.git@be9e08aaf4f4c66f02f914ee2251d33cff27bda0#egg=swh.mirror.forge,-e git+ssh://git@forge.softwareheritage.org/diffusion/DMOD/swh-model.git@6ef1dc1cdd7c5fdaf002bf31c1a2d3203815f436#egg=swh.model,-e git+ssh://git@forge.softwareheritage.org/diffusion/DOBJS/swh-objstorage.git@9a5b5b28b83e6474c420d149a0a020a742e1f79b#egg=swh.objstorage,-e git+ssh://git@forge.softwareheritage.org/diffusion/DSCH/swh-scheduler.git@45aa02ca0fe980512ac8080438d3ca8e8e2f18ff#egg=swh.scheduler,swh.storage==0.0.139.post2,-e git+ssh://git@forge.softwareheritage.org/diffusion/DVAU/swh-vault.git@b0fcdebc823fee02dd718c4526829476438daf6c#egg=swh.vault,-e git+ssh://git@forge.softwareheritage.org/source/swh-web.git@dccfafeeb66c45e851aa1e37bff7150adc24f210#egg=swh.web,systemd-python==234,testtools==2.3.0,traceback2==1.4.0,typing-extensions==3.7.2,unittest2==1.1.0,urllib3==1.25.2,vcversioner==2.16.0.0,vine==1.3.0,wcwidth==0.1.7,Werkzeug==0.15.4,xattr==0.9.6,xmltodict==0.12.0,yarl==1.3.0
sphinx-dev run-test-pre: PYTHONHASHSEED='1740106403'
sphinx-dev run-test: commands[0] | /home/morane/Documents/code/swh-environment/swh-docs/.tox/sphinx-dev/bin/python -m pifpaf run postgresql -- make -C docs html
make: Entering directory '/home/morane/Documents/code/swh-environment/swh-docs/docs'
sphinx-apidoc --implicit-namespaces --ext-viewcode -o apidoc sources/swh/ sources/swh//*/tests sources/swh//*/tests/* sources/swh//*/*/tests/* sources/swh//*/*/*/tests/* sources/swh//*/migrations sources/swh//*/migrations/* sources/swh//*/*/migrations/* sources/swh//*/*/*/migrations/* sources/swh//*/wsgi.py sources/swh//*/*/wsgi.py sources/swh//*/*/*/wsgi.py sources/swh//*/*/*/wsgi.py
/home/morane/Documents/code/swh-environment/swh-docs/docs/sources/swh is not a directory.
Makefile:31: recipe for target 'apidoc-stamp' failed
make: *** [apidoc-stamp] Error 1
make: Leaving directory '/home/morane/Documents/code/swh-environment/swh-docs/docs'
WARNING [pifpaf.drivers] `psutil.Popen(pid=29310, status='terminated')` is already gone, sending SIGKILL to its process group
WARNING [pifpaf.drivers] `psutil.Popen(pid=29293, status='terminated')` is already gone, sending SIGKILL to its process group
WARNING [pifpaf.drivers] `psutil.Popen(pid=29288, status='terminated')` is already gone, sending SIGKILL to its process group
ERROR: InvocationError for command /home/morane/Documents/code/swh-environment/swh-docs/.tox/sphinx-dev/bin/python -m pifpaf run postgresql -- make -C docs html (exited with code 2)
______________________________________________________________________________________________ summary _______________________________________________________________________________________________
ERROR: sphinx-dev: commands failed

Event Timeline

Resolved locally by adding 'decorator' from swh-core to the requirements.