Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253919

Summary: app-text/pdfjam-1.20: pdfnup fails (cp: cannot stat `/var/tmp/4817-1.pdf': No such file or directory)
Product: Gentoo Linux Reporter: Erik <esigra>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED OBSOLETE    
Severity: normal CC: michael, prote
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/pdfjam/+bug/73283
Whiteboard:
Package list:
Runtime testing required: ---

Description Erik 2009-01-05 22:42:24 UTC
pdfnup from app-text/pdfjam-1.20 fails for a certain file (can be sent on request)

Reproducible: Always

Steps to Reproduce:
1. LANG="" pdfnup --nup 2x1 CUG_SV.pdf


Actual Results:  
This is pdfnup version 1.20
Processing CUG_SV.pdf...
  Temporary LaTeX file for this job is /var/tmp/5533-1.tex
  Calling pdflatex...
cp: cannot stat `/var/tmp/5533-1.pdf': No such file or directory

Expected Results:  
This is pdfnup version 1.20
Processing coldboot.pdf...
  Temporary LaTeX file for this job is /var/tmp/5612-1.tex
  Calling pdflatex...
  Finished: output is /home/work/CUG_SV-2x1.pdf


Seems to work with other files. Even if there is some problem with the file, the error message is completely useless.
Comment 1 Alexis Ballier gentoo-dev 2009-01-15 07:08:29 UTC
(In reply to comment #0)
> pdfnup from app-text/pdfjam-1.20 fails for a certain file (can be sent on
> request)

yes, please attach the file

Comment 2 bruce.veidt 2009-11-26 00:51:03 UTC
I had this problem too.

Check for obsolete versions of pppdftex.def and ppvtex.def in
/usr/share/texmf/tex/latex/misc/

Removing those files fixed pdfnup.
Comment 3 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-06-22 00:16:29 UTC
Same problem with app-text/pdfjam-1.20-r1 using pdfjoin.


$ pdfjoin ch01.pdf ch02.pdf --outfile new.pdf
This is pdfjoin version 1.20
  Temporary LaTeX file for this job is /var/tmp/pdfjoin.gspbyv/11475.tex
  Calling pdflatex...
cp: cannot `stat' «/var/tmp/pdfjoin.gspbyv/11475.pdf»: No such file or directory
Comment 4 Mike Hammill 2010-08-23 15:40:58 UTC
I also have the same problem when using pdfnup:

$ pdfnup --nup 1x1 --pages 4-14 sdarticle.pdf 
This is pdfnup version 1.20
Processing sdarticle.pdf...
  Temporary LaTeX file for this job is /var/tmp/pdfnup.cQ6Dd3/19419-1.tex
  Calling pdflatex...
cp: cannot stat `/var/tmp/pdfnup.cQ6Dd3/19419-1.pdf': No such file or directory

I thought adding --tidy false would help, but it made no difference.