Il giorno mer, 23/09/2015 alle 22.36 +0200, Preuße, Hilmar ha scritto:
> On 13.09.2015 13:02, Pietro Battiston wrote:
> 
> Hi,
> 
> > Since one of the last two updates, rubber is unable to compile a
> > document of
> > mine which previously it was perfectly able to:
> > 
> We're failing to reproduce the problem. Could you provide a minimal
> example to
> reproduce it? Are we looking at a duplicate of #798991?
> 

I also seem to be able to provide an explanation: patch
rubber-1.2/src/latex_modules/bibtex.py

it replaces

biblio = Bibliography(doc, doc.target)

with

biblio = Bibliography(doc, basename(doc.target))

at line 410 or so. Now, the second argument becomes attribute
"self.base" of the newly created Bibliography object (line 44). And
here comes line 256 or so:

workdir = os.path.dirname(self.base)

which asks the workdir... of a filename, rather than a path!

The patch doesn't give any detail on which bug it was fixing, so I
don't know what should be done about it.

Pietro

Reply via email to