The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: python2.7 (Ubuntu Precise)
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released
Status in python2.7 source package in Precise:
  Won't Fix

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to