Package: rubber
Version: 1.1+20100306-2
Severity: normal

Support for the option \pdfoutput=1 is now broken.  I've attached a
minimal test case; the trace is below.  It seems to me this is fairly
recent.

dpt@amaryllis:/tmp$ rubber t
Traceback (most recent call last):
  File "/usr/bin/rubber", line 4, in <module>
    sys.exit(Main()(sys.argv[1:]))
  File "/usr/lib/pymodules/python2.7/rubber/cmdline.py", line 319, in __call__
    return self.main(cmdline)
  File "/usr/lib/pymodules/python2.7/rubber/cmdline.py", line 247, in main
    env.main.parse()
  File "/usr/lib/pymodules/python2.7/rubber/converters/latex.py", line 711, in 
parse
    self.process(self.source())
  File "/usr/lib/pymodules/python2.7/rubber/converters/latex.py", line 764, in 
process
    self.parse_file(file)
  File "/usr/lib/pymodules/python2.7/rubber/converters/latex.py", line 742, in 
parse_file
    function(self.vars, *args)
  File "/usr/lib/pymodules/python2.7/rubber/converters/latex.py", line 976, in 
h_pdfoutput
    if 'pdftex' in self.modules:
  File "/usr/lib/pymodules/python2.7/rubber/converters/latex.py", line 40, in 
__getitem__
    return self.objects[name]
KeyError: 0


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rubber depends on:
ii  dpkg                1.16.9
ii  install-info        4.13a.dfsg.1-10
ii  python              2.7.3-2
ii  python-support      1.0.15
ii  texlive-latex-base  2012.20120611-5

rubber recommends no packages.

Versions of packages rubber suggests:
ii  imagemagick  8:6.7.7.10-4
pn  sam2p        <none>
ii  transfig     1:3.2.5.d-3

-- no debconf information
\pdfoutput=1
\documentclass{article}

\begin{document}
Test.
\end{document}

Reply via email to