Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634074 - dev-python/pyzmq-16.0.2: AttributeError: type object 'AttributeDocumenter' has no attribute 'method_types'
Summary: dev-python/pyzmq-16.0.2: AttributeError: type object 'AttributeDocumenter' ha...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-12 07:20 UTC by Andrey Grozin
Modified: 2023-02-23 09:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2017-10-12 07:20:17 UTC
* python3_6: running distutils-r1_run_phase python_compile_all
make -j1 -C docs html 
make: Entering directory '/var/tmp/portage/dev-python/pyzmq-16.0.2/work/pyzmq-16.0.2/docs'
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v1.6.3
making output directory...

Exception occurred:
  File "/var/tmp/portage/dev-python/pyzmq-16.0.2/work/pyzmq-16.0.2/docs/sphinxext/sphinx_cython.py", line 115, in <module>
    AD.method_types = tuple(list(AD.method_types) + [type(str.count)])
AttributeError: type object 'AttributeDocumenter' has no attribute 'method_types'
The full traceback has been saved in /var/tmp/portage/dev-python/pyzmq-16.0.2/temp/sphinx-err-vt7wznu1.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:58: html] Error 1
make: Leaving directory '/var/tmp/portage/dev-python/pyzmq-16.0.2/work/pyzmq-16.0.2/docs'
 * ERROR: dev-python/pyzmq-16.0.2::gentoo failed (compile phase):
 *   emake failed
Comment 1 Andrey Grozin gentoo-dev 2017-10-12 07:22:17 UTC
elrond portage # cat '/var/tmp/portage/dev-python/pyzmq-16.0.2/temp/sphinx-err-vt7wznu1.log'
# Sphinx version: 1.6.3
# Python version: 3.6.3 (CPython)
# Docutils version: 0.14 
# Jinja2 version: 2.9.6
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/sphinx/cmdline.py", line 305, in main
    opts.warningiserror, opts.tags, opts.verbosity, opts.jobs)
  File "/usr/lib/python3.6/site-packages/sphinx/application.py", line 168, in __init__
    confoverrides or {}, self.tags)
  File "/usr/lib/python3.6/site-packages/sphinx/config.py", line 150, in __init__
    execfile_(filename, config)
  File "/usr/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
    exec_(code, _globals)
  File "conf.py", line 32, in <module>
  File "/var/tmp/portage/dev-python/pyzmq-16.0.2/work/pyzmq-16.0.2/docs/sphinxext/sphinx_cython.py", line 115, in <module>
    AD.method_types = tuple(list(AD.method_types) + [type(str.count)])
AttributeError: type object 'AttributeDocumenter' has no attribute 'method_types'
Comment 2 Juergen Rose 2017-10-20 05:59:52 UTC
It works here with sphinx-1.5.3 and it fails with sphinx-1.6.3-r2.
Comment 3 Juergen Rose 2017-11-06 09:26:51 UTC
Is there not any patch?
Comment 4 Juergen Rose 2017-11-06 22:01:53 UTC
'USE=-doc emerge -v1 pyzmq' works.