Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to generate epub file on release/2.3 branch #3747

Open
snikulov opened this issue Jun 1, 2024 · 1 comment · May be fixed by #3749
Open

failed to generate epub file on release/2.3 branch #3747

snikulov opened this issue Jun 1, 2024 · 1 comment · May be fixed by #3749
Assignees

Comments

@snikulov
Copy link

snikulov commented Jun 1, 2024

Unable to generate epub from documentation for release/2.3 branch
Error as follows

╭─snikulov@snikulov-home ~/work/github/docs ‹release/2.3› 
╰─$ make epub         
sphinx-build -b epub -d _build/doctrees   . _build/epub
Running Sphinx v7.2.6
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.SkipProgressMessage' is deprecated, use 'sphinx.util.display.SkipProgressMessage' instead. Check CHANGES for Sphinx API modifications.
  from sphinx.util import SkipProgressMessage, progress_message
/usr/lib/python3.12/site-packages/sphinxcontrib/applehelp/__init__.py:24: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.
  from sphinx.util import SkipProgressMessage, progress_message
/usr/lib/python3.12/site-packages/sphinxcontrib/htmlhelp/__init__.py:26: RemovedInSphinx80Warning: The alias 'sphinx.util.progress_message' is deprecated, use 'sphinx.util.display.progress_message' instead. Check CHANGES for Sphinx API modifications.
  from sphinx.util import progress_message
Initializing Spelling Checker 8.0.0
building [mo]: targets for 0 po files that are out of date
writing output... 
building [epub]: targets for 292 source files that are out of date
updating environment: [new config] 292 added, 0 changed, 0 removed
direct use of the spelling directive is deprecated, replace ".. spelling::" with ".. spelling:word-list::"
reading sources... [100%] whatsnew
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... copying static files... done
copying extra files... done
done
/home/snikulov/work/github/docs/devops/versioning/resolve_prereleases.rst:33: WARNING: unknown node type: <graphviz: >
sphinx-sitemap: sitemap.xml was generated for URL https://docs.conan.io/ in /home/snikulov/work/github/docs/_build/epub/sitemap.xml

Exception occurred:
  File "/home/snikulov/.local/lib/python3.12/site-packages/docutils/nodes.py", line 2041, in unknown_departure
    raise NotImplementedError(
NotImplementedError: <class 'sphinx.writers.html5.HTML5Translator'> departing unknown node type: graphviz
The full traceback has been saved in /tmp/sphinx-err-_8v2s80i.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!
make: *** [Makefile:123: epub] Error 2
╭─snikulov@snikulov-home ~/work/github/docs ‹release/2.3› 

@snikulov snikulov changed the title make epub fail to generate epub file failed to generate epub file on release/2.3 branch Jun 1, 2024
@memsharded
Copy link
Member

Thanks for reporting @snikulov

I have been able to reproduce, it seems the current setup doesn't support the epub building.

Maybe @RubenRBS might know a bit better about this.

@memsharded memsharded linked a pull request Jun 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants