PDF Chain error 256 when attempting to concatenate PDF files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PDF Chain |
Fix Released
|
Undecided
|
Unassigned | ||
pdfchain (Ubuntu) |
Fix Released
|
Medium
|
Johann Felix Soden |
Bug Description
1) lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
2) apt-cache policy pdfchain
pdfchain:
Installed: 1:0.3.3-1
Candidate: 1:0.3.3-1
Version table:
*** 1:0.3.3-1 0
500 http://
100 /var/lib/
3) What is expected to happen via the attached click Add some files to concatenate -> highlight page1.pdf and page 2.pdf -> click button Add -> highlight page2.pdf -> click Move selected files up -> button Save As -> final -> button save and it print successfully.
4) What happens instead is a window pops up noting:
PDFTK returned error!
Input/Output Error
Error code: 256
Running from a terminal:
pdfchain
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/
Input/Output Error - PDFTK returned: 256
Original Reporter Comments: I was able to successfully concatenate the same files using pdftk via the command line, so I don't think the problem is with pdftk.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: pdfchain 1:0.3.3-1
ProcVersionSign
Uname: Linux 3.2.0-29-
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Sat Sep 8 17:35:02 2012
ExecutablePath: /usr/bin/pdfchain
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pdfchain
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in pdfchain: | |
status: | New → Fix Released |
Changed in pdfchain (Ubuntu): | |
assignee: | nobody → Johann Felix Soden (johfel) |
summary: |
- PDF Chain errors when attempting to concatenate PDF files + PDF Chain error 256 when attempting to concatenate PDF files |
Thank you for report.
To track down the error, could you start pdfchain from a console window (terminal), please?
When you then concatenate pdf files, the used pdftk command
should be displayed in the terminal.
Do you get an error message when you run this command by hand?
Or does pdfchain display any error messages in the console?
Are spaces or other special characters in the path or
filename of the input (or output) pdf files?
Another reason for the bug could be a wrongly set PATH environment variable.
So run "echo $PATH" in a terminal and send me the result. Of course, you can replace
any private information by random letters.
In certain circumstances, it could be helpful if you provide scanned pdf files which shows this strange result,
but as it looks at the moment, the problem is outside pdftk.