Package: rubber
Version: 1.1-2.1
Severity: normal
Hi,
When rubber attempts to compile a file of which depends are missing,
it provides a nice traceback and exits. For example, this TeX-file
with two missing figures:
---
RACE.tex:235: graphics `graphics/ACTR_retrieval' not found
RACE.tex:294: graphics `graphics/RACE_retrieval_try' not found
compiling RACE.tex...
Traceback (most recent call last):
File "/usr/bin/rubber", line 9, in ?
sys.exit(Main()(sys.argv[1:]))
File
"/tmp/nmu/rubber-1.1/debian/rubber/usr/share/rubber/rubber/cmdline.py",
line 296, in __call__
File
"/tmp/nmu/rubber-1.1/debian/rubber/usr/share/rubber/rubber/cmdline.py",
line 260, in main
File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 237, in make
File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1224, in run
File "/usr/lib/python2.4/site-packages/cairo/__init__.py", line 1270, in
recompile_needed
File "/usr/lib/python2.4/posixpath.py", line 143, in getmtime
return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory: 'RACE.dvi'
---
I assume that rubber tries to find the modification time of the files which
are not there. Probably an extra file existence test and an error would
solve the problem.
Regards,
Paul
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (102, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=nl_NL.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rubber depends on:
ii python 2.4.4-6 An interactive high-level object-o
ii tetex-bin 2007-11 TeX Live: teTeX transitional packa
ii texlive-latex-base 2007-11 TeX Live: Basic LaTeX packages
rubber recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]