我有一个使用 rubber 编译 LaTeX 文件的 make 文件。我最近将 Ubuntu 升级到 15.10,升级后,尝试在文档上运行 rubber 时收到以下错误。很抱歉出现这么大的堆栈跟踪,但我查看了一下并没有发现太多信息。看起来可能是 bibtex 的问题?
Traceback (most recent call last):
File "/usr/bin/rubber", line 4, in <module>
sys.exit(Main()(sys.argv[1:]))
File "/usr/lib/python2.7/dist-packages/rubber/cmdline.py", line 331, in __call__
return self.main(cmdline)
File "/usr/lib/python2.7/dist-packages/rubber/cmdline.py", line 287, in main
ret = env.main.make(True)
File "/usr/lib/python2.7/dist-packages/rubber/depend.py", line 164, in make
ok = self.force_run()
File "/usr/lib/python2.7/dist-packages/rubber/converters/latex.py", line 1288, in force_run
return self.run(True)
File "/usr/lib/python2.7/dist-packages/rubber/converters/latex.py", line 1310, in run
if not self.post_compile():
File "/usr/lib/python2.7/dist-packages/rubber/converters/latex.py", line 1261, in post_compile
if not mod.post_compile():
File "/usr/lib/python2.7/dist-packages/rubber/converters/latex.py", line 1526, in post_compile
return self.pymodule.post_compile()
File "/usr/lib/python2.7/dist-packages/rubber/latex_modules/bibtex.py", line 421, in post_compile
return biblio.post_compile()
File "/usr/lib/python2.7/dist-packages/rubber/latex_modules/bibtex.py", line 235, in post_compile
return self.run()
File "/usr/lib/python2.7/dist-packages/rubber/latex_modules/bibtex.py", line 258, in run
if self.doc.env.execute(['bibtex', basename], doc, pwd=workdir):
File "/usr/lib/python2.7/dist-packages/rubber/environment.py", line 226, in execute
stderr = stderr)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: ''