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)
Fix Released
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.

Revision history for this message
Amin Bandali (bandali) wrote :

Hello, and sorry for the slow reply here.

I believe this has since been fixed, and Firefox should be able to access the js files under /usr/share/javascript/. I just tried a search on file:///usr/share/doc/python3.12/html/search.html on Ubuntu 24.04 and it works in Firefox as expected.

As such, I'll go ahead and mark this as Fix Released. Thanks.

Changed in firefox (Ubuntu):
status: New → Fix Released
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.