Bug 1016434 - Extension sphinxcontrib.httpdomain could not be imported
Summary: Extension sphinxcontrib.httpdomain could not be imported
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-sphinxcontrib-httpdomain
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-08 07:45 UTC by Lokesh Mandvekar
Modified: 2015-01-27 16:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-27 16:32:04 UTC
Type: Bug


Attachments (Terms of Use)

Description Lokesh Mandvekar 2013-10-08 07:45:47 UTC
Description of problem:
while building docs for docker-io, python-sphinx isn't able to import extension sphinxcontrib.httpdomain

Version-Release number of selected component (if applicable): 0.6.6


How reproducible: Always


Steps to Reproduce: 
1. rpmbuild -ba docker-io.spec (specifically: make -C docs/ man)


Actual results:
+ make -C docs/ man
make: Entering directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs'
sphinx-build -b man -d _build/doctrees   sources _build/man
Making output directory...
Running Sphinx v0.6.6

Extension error:
Could not import extension sphinxcontrib.httpdomain (exception: cannot import name XRefRole)
make: *** [man] Error 1
make: Leaving directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs'




Expected results: This is the equivalent on Fedora rawhide
+ make -C docs/ man
make: Entering directory `/home/lsm5/repositories/rpmbuild/BUILD/docker-0.7-rc2/docs'
sphinx-build -b man -d _build/doctrees   sources _build/man
Making output directory...
Running Sphinx v1.1.3
loading pickled environment... not yet created

Comment 1 Toshio Ernie Kuratomi 2013-10-08 13:48:52 UTC
Note, this is misfiled:

1) the version of sphinx that you are using comes from RHEL, not from EPEL.

2) part of the problem is the packaging of python-sphinxcontrib-httpdomain: The package in EPEL is lacking a Requires: python-sphinx10

3) Part of the problem is likely in the docker-io package.  If you run the sphinx-0.6.6 version of the sphinx-build tool it will be unable to load the extension because the extension uses a feature of newer python-sphinx.  Probably you need to patch the code to use sphinx-1.0-build

Retargeting bug to python-sphinxcontrib-httpdomain for the Requires issue.  To help with the docker-io build failure, I'd need to see the docker-io package you're building.

Comment 2 Dan Callaghan 2013-10-09 01:44:24 UTC
I've updated the Requires for python-sphinxcontrib-httpdomain although that won't stop people from trying to use it with Sphinx 0.6. I don't think there is any good way to do that.

Comment 3 Fedora Update System 2013-10-09 02:01:09 UTC
python-sphinxcontrib-httpdomain-1.1.8-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-sphinxcontrib-httpdomain-1.1.8-3.el6

Comment 4 Fedora Update System 2013-10-09 02:01:53 UTC
python-sphinxcontrib-httpdomain-1.1.8-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/python-sphinxcontrib-httpdomain-1.1.8-3.el5

Comment 5 Fedora Update System 2013-11-11 18:32:26 UTC
python-sphinxcontrib-httpdomain-1.1.8-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-11-11 18:32:44 UTC
python-sphinxcontrib-httpdomain-1.1.8-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.


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