|Summary:||Broken link: file /usr/share/doc/python-docs-2.7/html/modindex.html is missing|
|Product:||[Fedora] Fedora||Reporter:||Roman Rakus <rrakus>|
|Component:||python-docs||Assignee:||Dave Malcolm <dmalcolm>|
|Status:||CLOSED ERRATA||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||16||CC:||alberth289346, dmalcolm, ivazqueznet, kkbbf81jd6, rrakus, stefanrin, tadej.j, tsmetana|
|Fixed In Version:||python-docs-2.7.2-2.fc16||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2012-01-19 01:28:50 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
|Bug Depends On:||670493|
Description Roman Rakus 2012-01-02 15:06:57 UTC
+++ This bug was initially created as a clone of Bug #670493 +++ Description of problem: A modindex.html file is missing from the python-docs package. Version-Release number of selected component (if applicable): python-docs-2.7-1.fc14.noarch How reproducible: Always. Steps to Reproduce: 1. Open browser at file:///usr/share/doc/python-docs-2.7/html/index.html 2. Click on Global Module Index 3. Site is not found. Additional info: Opening the same link on Python's online documentation works ok. --- Additional comment from email@example.com on 2011-06-17 07:52:28 EDT --- The problem exists on Fedora 15 too. A workaround: $ cd /usr/share/doc/python-docs-2.7.1/html $ cp py-modindex.html modindex.html --- Additional comment from firstname.lastname@example.org on 2011-08-11 10:14:24 EDT --- It's not only this file that's missing, but the entire C-API documentation is utterly broken. See <file:///usr/share/doc/python-docs-2.7/html/c-api/int.html>, for example. When I still had Python 2.6 on my Fedora machine (I think it was F13), the local API doc did work. It seems that something bad happened with the transition to Python 2.7. --- Additional comment from email@example.com on 2011-08-11 14:33:58 EDT --- Thanks for filing this bug; sorry about the belated response. I'm seeing comment 0 on Fedora 15 with python-docs-2.7.1-2.fc15.noarch where: /usr/share/doc/python-docs-2.7.1/html/index.html has two links to "py-modindex.html" (which works) but also a link to "modindex.html" (which doesn't) As per comment #2: this works for me, albeit 2.7.1: file:///usr/share/doc/python-docs-2.7.1/html/c-api/int.html This seems to come from sphinx; in domains/python.py I see: class PythonModuleIndex(Index): """ Index subclass to provide the Python module index. """ name = 'modindex' whereas: domainds/std.py has: 'modindex': ('py-modindex', '', l_('Module Index')), (this is within python-sphinx-1.0.7-2.fc15.noarch) Workaround committed to git as: http://pkgs.fedoraproject.org/gitweb/?p=python-docs.git;a=commitdiff;h=d465f3652c286afaeaeca012426b85729f84796d This also adds a %check that runs linkchecker over the local links, to verify that they all work. Building python-docs-2.7.2-2.fc17 for dist-rawhide Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=3266543 --- Additional comment from firstname.lastname@example.org on 2011-08-12 04:56:50 EDT --- > As per comment #2: this works for me, albeit 2.7.1: > file:///usr/share/doc/python-docs-2.7.1/html/c-api/int.html True, this is only broken in F14, not in F15. --- Additional comment from email@example.com on 2011-08-20 10:47:30 EDT --- *** Bug 732190 has been marked as a duplicate of this bug. *** --- Additional comment from firstname.lastname@example.org on 2011-12-21 19:38:12 EST --- The problem still exists in Fedora 16 with python-docs 2.7.2 1.fc16 Steps to Reproduce: 1. Open browser at file:///usr/share/doc/python-docs-2.7.2/html/index.html 2. Click on Global Module Index 3. File not found Firefox can't find the file at /usr/share/doc/python-docs-2.7.2/html/modindex.html. I see the status as "closed", "Fixed In Version: python-docs-2.7.2-2.fc17" So the solution, applied in Aug-2011, fixed the next but one release (Fedora 17), but did not fix the upcoming (and now current) release Fedora 16? --- Additional comment from email@example.com on 2011-12-23 05:23:05 EST --- (In reply to comment #6) > The problem still exists in Fedora 16 with python-docs 2.7.2 1.fc16 The fixed python-docs just has to be rebuilt on F16 and pushed as an update. Maybe Dave or some other python-docs maintainer could do that?
Comment 1 Fedora Update System 2012-01-02 15:41:13 UTC
python-docs-2.7.2-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-docs-2.7.2-2.fc16
Comment 2 Fedora Update System 2012-01-02 21:54:16 UTC
Package python-docs-2.7.2-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-docs-2.7.2-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-0030/python-docs-2.7.2-2.fc16 then log in and leave karma (feedback).
Comment 3 Fedora Update System 2012-01-19 01:28:50 UTC
python-docs-2.7.2-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.