crash with bibtex errors with no line number
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When bibtex reports an error with no line number, typically something like
I found no \citation commands---while reading file foo.aux
rubber crashes:
$ rubber -d foo.tex
compiling foo.tex...
running: bibtex foo.aux...
[biblio] There were errors running bibtex.
Traceback (most recent call last):
File "/usr/local/
sys.exit (cmdline (args))
File "/usr/local/
self.main (cmdline)
File "/usr/local/
self.
File "/usr/local/
self.build (env)
File "/usr/local/
for err in env.final.
File "/usr/local/
line = int (m.group ("line"))
TypeError: int() argument must be a string or a number, not 'NoneType'
because the regexp group "line" is undefined for this message. The attached patch fixes the issue.
Changed in rubber: | |
status: | New → In Progress |
Changed in rubber: | |
status: | Fix Committed → Fix Released |
Committed a regression test. Thanks!