graphics module: pdf_t prefix attached twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rubber |
Fix Released
|
Undecided
|
Unassigned | ||
rubber (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: rubber
If latex source contains "\input{
In the created .pdf_t file it writes the *absolute* path of the (also) created .pdf file of the image.
If I run rubber again it tries to check if the created .pdf file is still up-to-date. At this step it fails to locate the file.
In function includegraphics of graphics.py it calls:
d = self.env.
to find the file. But name already includes the *absolute* path to the file and prefix is missing an empty string. Therefore it attaches the path a second time, and hence has no chance to find that file.
My solution is to add an empty sting to the list of prefixes: self.prefixes=
This fixes the problem. But I am not sure if this is the right place to fix it.
-------
My system:
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy rubber
rubber:
Installiert: 1.1-2.2
Kandidat: 1.1-2.2
Changed in rubber: | |
status: | New → Fix Committed |
Changed in rubber: | |
milestone: | none → 1.2 |
Changed in rubber: | |
milestone: | 1.2 → none |
status: | Fix Committed → Fix Released |
Hi,
I think the current version in the trunk fixes this issue. Could you check this?
Emmanuel