crashes when no aux file generated (with fix)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Fix Released
|
Medium
|
Sebastian Kapfer |
Bug Description
When no *.aux file is generated by pdflatex, the following error occurs:
Traceback (most recent call last):
File "/usr/bin/rubber", line 9, in <module>
sys.
File "/usr/lib/
return self.main(cmdline)
File "/usr/lib/
ret = env.final.
File "/usr/lib/
ret = self.run()
File "/usr/lib/
if self.compile(): return 1
File "/usr/lib/
self.
File "/usr/lib/
file = open(fname)
IOError: [Errno 2] No such file or directory: 'myfile.aux'
The fix appears to be to change rules/latex/
self.
... to ...
if exists(aux):
self.
else:
self.
I didn't deeply investigate the logic, but this seems to mirror usage elsewhere, where the md5 is set to None when the aux file doesn't exist.
Related branches
Changed in rubber: | |
assignee: | nobody → Sebastian Kapfer (caci) |
milestone: | 1.2 → none |
status: | Fix Committed → Fix Released |
Potential fix committed to the trunk branch. Can you please verify the problem is properly fixed?