njsmith / colorspacious

A powerful, accurate, and easy-to-use Python library for doing colorspace conversions
MIT License
169 stars 16 forks source link

1.1.2: `build_sphinx` is failing #26

Open kloczek opened 3 years ago

kloczek commented 3 years ago

Cannot build documentation

+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.1.2
python exec: /usr/bin/python3
sys.path: ['/home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2', '/usr/lib64/python38.zip', '/usr/lib64/python3.8', '/usr/lib64/python3.8/lib-dynload', '/home/tkloczko/.local/lib/python3.8/site-packages', '/usr/lib64/python3.8/site-packages', '/usr/lib/python3.8/site-packages']
current directory: /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc
numpy: 1.18.2, /usr/lib64/python3.8/site-packages/numpy/__init__.py
no matplotlib
ipython: 7.26.0, /usr/lib/python3.8/site-packages/IPython/__init__.py
making output directory... done
checking for /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/bibliography.bib in bibtex cache... not found
parsing bibtex file /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/bibliography.bib... parsed 4 entries
loading intersphinx inventory from http://docs.python.org/objects.inv...
loading intersphinx inventory from http://docs.scipy.org/doc/numpy/objects.inv...
intersphinx inventory has moved: http://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
intersphinx inventory has moved: http://docs.scipy.org/doc/numpy/objects.inv -> https://numpy.org/doc/stable/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 6 added, 0 changed, 0 removed
WARNING: ources... [ 83%] reference
>>>-------------------------------------------------------------------------
Exception in /home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/reference.rst at block ending on line None
Specify :okexcept: as an option in the ipython:: block to suppress this message
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-5974d0d6d8eb> in <module>
----> 1 with open("_static/colorspacious-graph.dot", "w") as f:
      2     colorspacious.conversion.GRAPH.dump_dot(f)

FileNotFoundError: [Errno 2] No such file or directory: '_static/colorspacious-graph.dot'

<<<-------------------------------------------------------------------------

Exception occurred:
  File "/usr/lib/python3.8/site-packages/IPython/sphinxext/ipython_directive.py", line 576, in process_input
    raise RuntimeError('Non Expected exception in `{}` line {}'.format(filename, lineno))
RuntimeError: Non Expected exception in `/home/tkloczko/rpmbuild/BUILD/colorspacious-1.1.2/doc/reference.rst` line None
The full traceback has been saved in /tmp/sphinx-err-r40wfeg0.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!
kloczek commented 2 years ago

ping .. :)