dh_sphinxdoc: error: unknown JavaScript code: [...]/searchtools.js

Bug #1076153 reported by Jason Gerard DeRose on 2012-11-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sphinx (Ubuntu)

Bug Description

On Raring I'm getting build failures like this:

make[1]: Leaving directory `/build/buildd/microfiber-12.11.0~bzr156~raring1'
dh_sphinxdoc: error: unknown JavaScript code: debian/python3-microfiber-doc/usr/share/doc/python3-microfiber-doc/html/_static/searchtools.js

Build log is here:

This package builds fine on Precise and Quantal.

My debian/ is here:

Jason Gerard DeRose (jderose) wrote :

Oops, that buildlog got deleted when I retried the build. Here's the buildlog from a failed build from today:


Jason Gerard DeRose (jderose) wrote :

Ah, looks like virtualenvwrapper had the same issue, example work-around here:


Jason Gerard DeRose (jderose) wrote :

Okay, in my case I could work around this with the following target:

 dh_sphinxdoc -X searchtools.js

I personally still consider this a bug (in either debhelper or sphinx) as it's unfortunate for every package to require work-arounds for such a common scenario.

But at least I have my builds on Raring working now :)

 dh_sphinxdoc is provided by sphinx.

affects: debhelper (Ubuntu) → sphinx (Ubuntu)
Changed in sphinx (Debian):
status: Unknown → New
Dmitry Shachnev (mitya57) wrote :

This should be fixed in the latest sphinx (1.1.3+dfsg-5ubuntu1), can you please try that version?

Changed in sphinx (Ubuntu):
status: New → Incomplete
Jason Gerard DeRose (jderose) wrote :

Dmitry, I just built two of the my packages without the override_dh_sphinxdoc hack, and they built fine.

So this seems to be fixed in 1.1.3+dfsg-5ubuntu1, thanks!

Dmitry Shachnev (mitya57) wrote :

Marking as fixed then. Note that the Debian bug report is not related to this bug, but I can't remove the link.

Changed in sphinx (Ubuntu):
status: Incomplete → Fix Released
no longer affects: sphinx (Debian)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.