python-doc search does not work
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://
The reason for this is the jquery.js and underscore.js files are symlinks to files under /usr/share/
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.
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.