Am 02.01.2010 23:45, schrieb Rune Bromer:
> I get an error while making a stand alone HTML thing. The PDF is the
> main output I have been working on and the 38 page sucker works
> without problems.
> 
> What can I do to fix the following:
> 
> $ make html
> sphinx-build -b html -d _build/doctrees   . _build/html
> Making output directory...
> Running Sphinx v0.6.3
> loading pickled environment... done
> building [html]: targets for 16 source files that are out of date
> updating environment: 0 added, 0 changed, 0 removed
> looking for now-outdated files... none found
> preparing documents... done
> writing output... [100%] tut_operations
> writing additional files... genindex
> Exception occurred:
>   File "/Library/Python/2.6/site-packages/Sphinx-0.6.3-py2.6.egg/
> sphinx/builders/html.py", line 419, in finish
>     if fl != mn[0].lower() and mn[0] != '_':
> IndexError: string index out of range

I think you have a prefix in modindex_common_prefix that is equal
to a full module name.  This would result in an empty module name
being displayed, leading to this error.

I'll commit a fix in order to generate a better warning message
in this case.

cheers,
Georg

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to