python-doc search does not work

Bug #2023355 reported by Douglas Bagnall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Unassigned

Bug Description

The search interface to locally installed python-3.10-doc (and probably other versions) fails to work in Firefox.

To reproduce, attempt to search from this page (or the search bar on other pages):

file:///usr/share/doc/python3.10/html/search.html

The reason for this is the jquery.js and underscore.js files are symlinks to files under /usr/share/javascript/, and Firefox won't follow them.

Replacing the symlinks with copies fixes the problem, in the short term at least.

This could presumably be fixed in the python packages by removing the parts of debian/rules that make these into symlinks in the first place.

Having a locally searchable copy of the documentation is useful when there is no network.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.