Mikołaj Machowski
2015-07-21 08:17:58 UTC
Below traceback, OS info and docutils version. HTML export works without problems. Note that I have long list of empty (so far) hyperlinks - maybe that is the cause?
File itself in attachment. Command
rst2latex.py 01.txt 01.tex
Traceback (most recent call last):
File "/usr/bin/rst2latex.py", line 26, in <module>
publish_cmdline(writer_name='latex', description=description)
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 352, in publish_cmdline
config_section=config_section, enable_exit_status=enable_exit_status)
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "/usr/lib/python2.7/site-packages/docutils/writers/__init__.py", line 80, in write
self.translate()
File "/usr/lib/python2.7/site-packages/docutils/writers/latex2e/__init__.py", line 246, in translate
self.document.walkabout(visitor)
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 166, in walkabout
visitor.dispatch_visit(self)
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 1882, in dispatch_visit
return method(node)
File "/usr/lib/python2.7/site-packages/docutils/writers/latex2e/__init__.py", line 2176, in visit_footnote
num,text = node.astext().split(None,1)
ValueError: need more than 1 value to unpack
[/home/mmachowski/pauzaniasz-w-mnw/tekst] % uname -a
CYGWIN_NT-6.1 dokfoto_MM 2.0.4(0.287/5/3) 2015-06-09 12:22 x86_64 Cygwin
[/home/mmachowski/pauzaniasz-w-mnw/tekst] % rst2latex.py --version
rst2latex.py (Docutils 0.12 [release], Python 2.7.10, on cygwin)
ps. Wonder if it comes through since sf is down.
File itself in attachment. Command
rst2latex.py 01.txt 01.tex
Traceback (most recent call last):
File "/usr/bin/rst2latex.py", line 26, in <module>
publish_cmdline(writer_name='latex', description=description)
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 352, in publish_cmdline
config_section=config_section, enable_exit_status=enable_exit_status)
File "/usr/lib/python2.7/site-packages/docutils/core.py", line 219, in publish
output = self.writer.write(self.document, self.destination)
File "/usr/lib/python2.7/site-packages/docutils/writers/__init__.py", line 80, in write
self.translate()
File "/usr/lib/python2.7/site-packages/docutils/writers/latex2e/__init__.py", line 246, in translate
self.document.walkabout(visitor)
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 174, in walkabout
if child.walkabout(visitor):
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 166, in walkabout
visitor.dispatch_visit(self)
File "/usr/lib/python2.7/site-packages/docutils/nodes.py", line 1882, in dispatch_visit
return method(node)
File "/usr/lib/python2.7/site-packages/docutils/writers/latex2e/__init__.py", line 2176, in visit_footnote
num,text = node.astext().split(None,1)
ValueError: need more than 1 value to unpack
[/home/mmachowski/pauzaniasz-w-mnw/tekst] % uname -a
CYGWIN_NT-6.1 dokfoto_MM 2.0.4(0.287/5/3) 2015-06-09 12:22 x86_64 Cygwin
[/home/mmachowski/pauzaniasz-w-mnw/tekst] % rst2latex.py --version
rst2latex.py (Docutils 0.12 [release], Python 2.7.10, on cygwin)
ps. Wonder if it comes through since sf is down.