Repository navigation
Closed
Description
+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.0.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 3 added, 0 changed, 0 removed
reading sources... [100%] installation
/usr/lib/python3.8/site-packages/hyperframe/frame.py:docstring of hyperframe.frame.Frame.parse_frame_header:13: WARNING: Unknown interpreted text role "param".
WARNING: autodoc: failed to import class 'HyperframeError' from module 'hyperframe.exceptions'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/util/inspect.py", line 412, in safe_getattr
return getattr(obj, name, *defargs)
AttributeError: module 'hyperframe.exceptions' has no attribute 'HyperframeError'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/importer.py", line 110, in import_object
obj = attrgetter(obj, mangled_name)
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/__init__.py", line 318, in get_attr
return autodoc_attrgetter(self.env.app, obj, name, *defargs)
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/__init__.py", line 2606, in autodoc_attrgetter
return safe_getattr(obj, name, *defargs)
File "/usr/lib/python3.8/site-packages/sphinx/util/inspect.py", line 428, in safe_getattr
raise AttributeError(name) from exc
AttributeError: HyperframeError
WARNING: autodoc: failed to import class 'InvalidDataError' from module 'hyperframe.exceptions'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/util/inspect.py", line 412, in safe_getattr
return getattr(obj, name, *defargs)
AttributeError: module 'hyperframe.exceptions' has no attribute 'InvalidDataError'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/importer.py", line 110, in import_object
obj = attrgetter(obj, mangled_name)
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/__init__.py", line 318, in get_attr
return autodoc_attrgetter(self.env.app, obj, name, *defargs)
File "/usr/lib/python3.8/site-packages/sphinx/ext/autodoc/__init__.py", line 2606, in autodoc_attrgetter
return safe_getattr(obj, name, *defargs)
File "/usr/lib/python3.8/site-packages/sphinx/util/inspect.py", line 428, in safe_getattr
raise AttributeError(name) from exc
AttributeError: InvalidDataError
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... hyperframe.1 { installation api } done
build succeeded, 4 warnings.Metadata
Metadata
Assignees
Labels
No labels
Activity
Kriechi commentedon Jun 6, 2021
similar to python-hyper/hpack#268
I suspect an error in your installation or environment. The full instructions on how to generate the docs are wrapped into tox and work in our CI and locally for me:
tox -e docswhich is equivalent to amake htmlwith an already installed hyperframe package.Can you test that and report back please?
kloczek commentedon Jun 6, 2021
Indeed it was not updated hyperframe. After upgrade to 6.0.1 still I see some issues but it maybe hyperframe issue.
tox reports the same issue.
docs: fix function parameter reference