Open
Description
Documentation here:
https://linux-kernel-labs.github.io/refs/heads/master/info/vm.html#vm-link
Says use python3
Running make docs
Gives error
SyntaxError: Missing parentheses in call to 'print'
This is a common error when using Python 3 on Python 2 code
➜ make docs
make -C /home/luis/github/TMP/kernel/linux DOCBOOKS= SPHINXDIRS="teaching" htmldocs
make[1]: Entering directory '/home/luis/github/TMP/kernel/linux'
HOSTCC scripts/basic/fixdep
SPHINX htmldocs --> file:///home/luis/github/TMP/kernel/linux/Documentation/output/teaching
PARSE include/uapi/linux/dvb/audio.h
PARSE include/uapi/linux/dvb/ca.h
PARSE include/uapi/linux/dvb/dmx.h
PARSE include/uapi/linux/dvb/frontend.h
PARSE include/uapi/linux/dvb/net.h
PARSE include/uapi/linux/dvb/video.h
PARSE include/uapi/linux/videodev2.h
PARSE include/uapi/linux/media.h
PARSE include/uapi/linux/cec.h
PARSE include/uapi/linux/lirc.h
Running Sphinx v1.7.9
Warning: The Sphinx 'sphinx_rtd_theme' HTML theme was not found. Make sure you have the theme installed to produce pretty HTML output. Falling back to the default theme.
load additional sphinx-config: /home/luis/github/TMP/kernel/linux/Documentation/teaching/conf.py
Exception occurred:
File "/home/luis/anaconda3/lib/python3.5/site-packages/sphinx/registry.py", line 315, in load_extension
mod = __import__(extname, None, None, ['setup'])
File "/home/luis/github/TMP/kernel/linux/Documentation/sphinx/ditaa.py", line 79
print self.arguments
^
SyntaxError: Missing parentheses in call to 'print'
The full traceback has been saved in /tmp/sphinx-err-ck7oub5u.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!
Documentation/Makefile:68: recipe for target 'htmldocs' failed
Metadata
Metadata
Assignees
Labels
No labels
Activity