[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python package documentation with Sphinx: encoding related build failure



Hi,

I'm working on packaging a Python package with a Sphinx based documentation, Nltk 3.0.0b1, and there are encoding related build errors.

<buildlog>
building [html]: targets for 28 source files that are out of date
updating environment: 28 added, 0 changed, 0 removed
reading sources... [  3%] api/nltk
reading sources... [  7%] api/nltk.align
reading sources... [ 10%] api/nltk.app
reading sources... [ 14%] api/nltk.ccg
reading sources... [ 17%] api/nltk.chat
reading sources... [ 21%] api/nltk.chunk
reading sources... [ 25%] api/nltk.classify
reading sources... [ 28%] api/nltk.cluster
reading sources... [ 32%] api/nltk.corpus
reading sources... [ 35%] api/nltk.corpus.reader
reading sources... [ 39%] api/nltk.draw
reading sources... [ 42%] api/nltk.examples

Encoding error:
'ascii' codec can't decode byte 0xf3 in position 386: ordinal not in range(128) The full traceback has been saved in /tmp/sphinx-err-zJoCwN.log, if you want to report the issue to the developers.
*** Introductory Examples for the NLTK Book ***
Loading ptext1, ... and psent1, ...
Type the name of the text or sentence to view it.
Type: 'texts()' or 'sents()' to list the materials.
Makefile:21: recipe for target 'web' failed
</buildlog>

Strangely, this only occurs when trying to build against Sid (via Cowbuilder), building with debuild withing Testing works fine.

The package is: http://mentors.debian.net/debian/pool/main/n/nltk/nltk_3.0.0b1-1.dsc (switched to build "$(MAKE) without_api" in deb/rules so far to prevent FBFS, "$(MAKE) web" reproduces this error.

BTW, the package is RFS:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755718

Thanks in advance for any hint,
Daniel Stender

--
http://www.danielstender.com/blog/
PGP key: 2048R/E41BD2D0
C879 5E41 1ED7 EE80 0F2E 7D0C DBDD 4D96 E41B D2D0



Reply to: