Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1691692 - python-sphinxcontrib-github-alt - Broken with Sphinx 2
Summary: python-sphinxcontrib-github-alt - Broken with Sphinx 2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-sphinxcontrib-github-alt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: SPHINX2
TreeView+ depends on / blocked
 
Reported: 2019-03-22 09:29 UTC by Elliott Sales de Andrade
Modified: 2019-03-28 00:52 UTC (History)
2 users (show)

Fixed In Version: python-sphinxcontrib-github-alt-1.1-1.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-28 00:52:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github jupyter sphinxcontrib_github_alt pull 2 0 None None None 2019-03-23 20:42:42 UTC

Description Elliott Sales de Andrade 2019-03-22 09:29:54 UTC
Trying to build something using this extension fails due to an undefined attribute:

+ sphinx-build-3 docs html
Running Sphinx v2.0.0b1

Exception occurred:
  File "/usr/lib/python3.7/site-packages/sphinxcontrib_github_alt.py", line 147, in setup
    app.info('Initializing GitHub plugin')
AttributeError: 'Sphinx' object has no attribute 'info'
The full traceback has been saved in /tmp/sphinx-err-j2_c4arf.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!


Version-Release number of selected component (if applicable):
1.0-5.fc30

Comment 1 Elliott Sales de Andrade 2019-03-22 09:31:20 UTC
The full traceback from the log is:

# Sphinx version: 2.0.0b1
# Python version: 3.7.2 (CPython)
# Docutils version: 0.14 
# Jinja2 version: 2.10
# Last messages:

# Loaded extensions:
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/sphinx/cmd/build.py", line 283, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 228, in __init__
    self.setup_extension(extension)
  File "/usr/lib/python3.7/site-packages/sphinx/application.py", line 380, in setup_extension
    self.registry.load_extension(self, extname)
  File "/usr/lib/python3.7/site-packages/sphinx/registry.py", line 484, in load_extension
    metadata = mod.setup(app)
  File "/usr/lib/python3.7/site-packages/sphinxcontrib_github_alt.py", line 147, in setup
    app.info('Initializing GitHub plugin')
AttributeError: 'Sphinx' object has no attribute 'info'

Comment 2 Miro Hrončok 2019-03-22 13:28:09 UTC
Could you please report this to upstream? Thnaks

Comment 3 Miro Hrončok 2019-03-24 13:18:07 UTC
A pull request even. Thank you!


Note You need to log in before you can comment on or make changes to this bug.