-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Cannot find sphinx_examples on pypi.
+ /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v5.0.2
WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/registry.py", line 430, in load_extension
mod = import_module(extname)
File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'sphinx_examples'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/cmd/build.py", line 272, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 223, in __init__
self.setup_extension(extension)
File "/usr/lib/python3.8/site-packages/sphinx/application.py", line 380, in setup_extension
self.registry.load_extension(self, extname)
File "/usr/lib/python3.8/site-packages/sphinx/registry.py", line 433, in load_extension
raise ExtensionError(__('Could not import extension %s') % extname,
sphinx.errors.ExtensionError: Could not import extension sphinx_examples (exception: No module named 'sphinx_examples')
Extension error:
Could not import extension sphinx_examples (exception: No module named 'sphinx_examples')BTW: you removed man_pages from docs/conf.py.
I'm uning it.
Reproduce the bug
- Checkout
sphinx-togglebuttonrepo - apply below patch
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,3 +1,7 @@
+import os
+import sys
+sys.path.insert(0, os.path.abspath(".."))
+
# -- Project information -----------------------------------------------------
project = "Sphinx Toggle Button"- run in project root
/usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
List your environment
list of modules installed in build env
Package Version
----------------------------- -----------------
alabaster 0.7.12
appdirs 1.4.4
asttokens 2.0.5
attrs 22.1.0.dev0
Babel 2.10.2
backcall 0.2.0
Brlapi 0.8.3
build 0.8.0
charset-normalizer 2.1.0
click 8.1.2
codespell 2.1.0
cssselect 1.1.0
cycler 0.11.0
debugpy 1.6.2
decorator 5.1.1
distro 1.7.0
docutils 0.17.1
entrypoints 0.4
executing 0.8.3
extended-project 1.2.3
extras 1.0.0
fastjsonschema 2.15.3
fixtures 4.0.0
fonttools 4.34.4
gpg 1.17.1-unknown
greenlet 1.1.2
idna 3.3
imagesize 1.4.1
importlib-metadata 4.12.0
importlib-resources 5.8.0
iniconfig 1.1.1
ipykernel 6.15.1
ipython 8.4.0
jedi 0.18.1
Jinja2 3.1.1
jsonschema 4.7.2
jupyter-cache 0.5.0
jupyter-client 7.3.4
jupyter-core 4.11.1
kiwisolver 1.4.3
libcomps 0.1.18
louis 3.22.0
lxml 4.9.1
markdown-it-py 2.1.0
MarkupSafe 2.1.1
matplotlib 3.5.2
matplotlib-inline 0.1.3
mdit-py-plugins 0.3.0
mdurl 0.1.1
myst-nb 0.15.0
myst-parser 0.17.2
nbclient 0.6.6
nbformat 5.4.0
nest-asyncio 1.5.5
numpy 1.23.1
olefile 0.46
packaging 21.3
parso 0.8.3
pbr 5.8.1
pep517 0.12.0
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.2.0
pip 22.0.4
pluggy 1.0.0
prompt-toolkit 3.0.29
psutil 5.9.0
ptyprocess 0.7.0
pure-eval 0.2.2
py 1.11.0
Pygments 2.12.0
PyGObject 3.42.1
pyparsing 3.0.9
pyrsistent 0.18.1
pytest 7.1.2
python-dateutil 2.8.2
pytz 2022.1
PyYAML 6.0
pyzmq 23.2.0
requests 2.28.1
rpm 4.17.0
scour 0.38.2
setuptools 63.2.0
simple-project 1.2.3
six 1.16.0
snowballstemmer 2.2.0
Sphinx 5.0.2
sphinx-togglebutton 0.3.1
sphinxcontrib-applehelp 1.0.2.dev20220714
sphinxcontrib-devhelp 1.0.2.dev20220714
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1.dev20220712
sphinxcontrib-qthelp 1.0.3.dev20220712
sphinxcontrib-serializinghtml 1.1.5
SQLAlchemy 1.4.39.dev0
stack-data 0.3.0
tabulate 0.8.9
testtools 2.5.0
tomli 2.0.1
tornado 6.1
traitlets 5.3.0
typing_extensions 4.2.0
urllib3 1.26.9
wcwidth 0.2.5
wheel 0.37.1
zipp 3.8.1Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working