Public bug reported: How to reproduce: Open in a browser: file:///usr/share/doc/python/html/search.html?q=unittest, no search results are displayed.
How to fix: The link target /usr/share/doc/python/html/_static/underscore.js -> ../../../../javascript/underscore/jquery.js does not exist, it should point to ../../../../javascript/underscore/underscore.js. /usr/share/javascript/underscore/underscore.js is contained in package libjs-underscore, so python2.7-doc should have a dependency to that package. Here is a patch: diff -ru python2.7-2.7.3.orig/debian/control python2.7-2.7.3/debian/control --- python2.7-2.7.3.orig/debian/control 2012-05-19 12:06:55.000000000 +0200 +++ python2.7-2.7.3/debian/control 2012-05-19 12:08:38.119482966 +0200 @@ -93,7 +93,7 @@ Package: python2.7-doc Section: doc Architecture: all -Depends: libjs-jquery, ${misc:Depends} +Depends: libjs-jquery, libjs-underscore, ${misc:Depends} Suggests: python2.7 Description: Documentation for the high-level object-oriented language Python (v2.7) These is the official set of documentation for the interactive high-level diff -ru python2.7-2.7.3.orig/debian/rules python2.7-2.7.3/debian/rules --- python2.7-2.7.3.orig/debian/rules 2012-05-19 12:06:55.000000000 +0200 +++ python2.7-2.7.3/debian/rules 2012-05-19 12:10:39.024082495 +0200 @@ -964,7 +964,7 @@ /usr/share/doc/$(p_doc)/html \ /usr/share/javascript/jquery/jquery.js \ /usr/share/doc/$(p_base)/html/_static/jquery.js \ - /usr/share/javascript/underscore/jquery.js \ + /usr/share/javascript/underscore/underscore.js \ /usr/share/doc/$(p_base)/html/_static/underscore.js : # devhelp docs ** Affects: python2.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1001585 Title: Python documentation search does not work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1001585/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs