Your message dated Sat, 3 Sep 2011 02:10:56 +0200
with message-id <[email protected]>
and subject line Re: Bug#639034: python-sphinx: LaTeX builder + Docutils 0.8:
TypeError: __init__() takes exactly 3 arguments (2 given)
has caused the Debian Bug report #639034,
regarding python-sphinx: LaTeX builder + Docutils 0.8: TypeError: __init__()
takes exactly 3 arguments (2 given)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
639034: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639034
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-sphinx
Version: 1.0.7+dfsg-1
Severity: important
Tags: upstream
User: [email protected]
Usertags: docutils0.8
With python-docutils 0.8 (currently in experimental) and language!=None, the
LaTeX builder fails:
| $ sphinx-build -b latex . tmp/
| Making output directory...
| Running Sphinx v1.0.7
| loading translations [en]... locale not available
| loading pickled environment... not yet created
| building [latex]: all documents
| updating environment: 1 added, 0 changed, 0 removed
| reading sources... [100%] index
| looking for now-outdated files... none found
| pickling environment... done
| checking consistency... done
| processing test.tex... index
| resolving references...
| writing...
| Exception occurred:
| File "/usr/lib/pymodules/python2.7/sphinx/cmdline.py", line 188, in main
| app.build(force_all, filenames)
| File "/usr/lib/pymodules/python2.7/sphinx/application.py", line 207, in
build
| self.builder.build_update()
| File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py", line 193,
in build_update
| self.build(['__all__'], to_build)
| File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py", line 254,
in build
| self.write(docnames, list(updated_docnames), method)
| File "/usr/lib/pymodules/python2.7/sphinx/builders/latex.py", line 104, in
write
| docwriter.write(doctree, destination)
| File "/usr/lib/pymodules/python2.7/docutils/writers/__init__.py", line 77,
in write
| self.translate()
| File "/usr/lib/pymodules/python2.7/sphinx/writers/latex.py", line 91, in
translate
| visitor = LaTeXTranslator(self.document, self.builder)
| File "/usr/lib/pymodules/python2.7/sphinx/writers/latex.py", line 193, in
__init__
| babel = ExtBabel(builder.config.language)
| TypeError: __init__() takes exactly 3 arguments (2 given)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-sphinx depends on:
ii libjs-sphinxdoc 1.0.7+dfsg-1 JavaScript support for Sphinx docu
ii python 2.7.2-5 interactive high-level object-orie
ii python-docutils 0.8-1 text processing system for reStruc
ii python-jinja2 2.6-1 small but fast and easy to use sta
ii python-pygments 1.4+dfsg-2 syntax highlighting package writte
ii python-support 1.0.14 automated rebuilding support for P
--
Jakub Wilk
--- End Message ---
--- Begin Message ---
* Jakub Wilk <[email protected]>, 2011-08-23, 22:03:
With python-docutils 0.8 (currently in experimental) and
language!=None, the LaTeX builder fails:
[…]
| File "/usr/lib/pymodules/python2.7/sphinx/writers/latex.py", line 193, in
__init__
| babel = ExtBabel(builder.config.language)
| TypeError: __init__() takes exactly 3 arguments (2 given)
It's fixed in Docutils 0.8.1.
--
Jakub Wilk
--- End Message ---