[Python-modules-team] Bug#697018: rst2odt is broken
Jakub Wilk
jwilk at debian.org
Sun Dec 30 21:45:27 UTC 2012
Control: tag -1 confirmed
Minimal test-case:
$ python3 /usr/bin/rst2odt --traceback /dev/null eggs.odt
Traceback (most recent call last):
File "/usr/bin/rst2odt", line 29, in <module>
description=description)
File "/usr/lib/python3/dist-packages/docutils/core.py", line 555, in publish_cmdline_to_binary
config_section=config_section, enable_exit_status=enable_exit_status)
File "/usr/lib/python3/dist-packages/docutils/core.py", line 223, in publish
output = self.writer.write(self.document, self.destination)
File "/usr/lib/python3/dist-packages/docutils/writers/__init__.py", line 81, in write
output = self.destination.write(self.output)
File "/usr/lib/python3/dist-packages/docutils/io.py", line 396, in write
self.open()
File "/usr/lib/python3/dist-packages/docutils/io.py", line 378, in open
self.destination = open(self.destination_path, self.mode, **kwargs)
ValueError: binary mode doesn't take an encoding argument
--
Jakub Wilk
More information about the Python-modules-team
mailing list