I just encountered the same problem. Trying to concatenate two PDF files: one 
file generated with LibreOffice, the other scanned.
If I use the LibreOffice PDF file as first file followed by the scanned file, 
PDF Chain works. The other way around (scanned PDF first, followed by the 
LibreOffice PDF file), PDFChain/pdftk fails. Both files are located in the same 
directory, so I doubt it's a $PATH problem

Console Output in the first case:
PDFTK command:
pdftk 
A="/home/andersl/Desktop/Link_AutoRefractor_ProjBook/RootCause_Reports/RootCause_Report_CameraFreeze_bug_181_207.pdf"
 
B="/home/andersl/Desktop/Link_AutoRefractor_ProjBook/RootCause_Reports/RootCause_Report_CameraFreeze_bug_181_207.sig.pdf"
 cat A1-endN B1-endN output 
"/home/andersl/Desktop/Link_AutoRefractor_ProjBook/RootCause_Reports/gaga.pdf" 
allow AllFeatures
PDFTK returned: 0


Console output in the second case:
PDFTK command:
Error: Given handle has no associated file: 
   B, used here: B1-endN
   Exiting.
Errors encountered.  No output created.
Done.  Input errors, so no output created.
pdftk 
A="/home/andersl/Desktop/Link_AutoRefractor_ProjBook/RootCause_Reports/RootCause_Report_CameraFreeze_bug_181_207.pdf"
 cat B1-endN A1-endN output 
"/home/andersl/Desktop/Link_AutoRefractor_ProjBook/RootCause_Reports/gaga4.pdf" 
allow AllFeatures
Input/Output Error - PDFTK returned: 256

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1048045

Title:
  PDF Chain errors when attempting to concatenate PDF files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to