[Bug 1001585] Re: Python documentation search does not work

Ubuntu Foundation's Bug Bot 1001585 at bugs.launchpad.net
Mon May 21 15:28:33 UTC 2012


The attachment "Fix link to underscore.js used to search in Python
documentation" of this bug report has been identified as being a patch.
The ubuntu-reviewers team has been subscribed to the bug report so that
they can review the patch.  In the event that this is in fact not a
patch you can resolve this situation by removing the tag 'patch' from
the bug report and editing the attachment so that it is not flagged as a
patch.  Additionally, if you are member of the ubuntu-reviewers team
please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1001585

Title:
  Python documentation search does not work

Status in “python2.7” package in Ubuntu:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1001585/+subscriptions




More information about the foundations-bugs mailing list