[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2013-01-03 Thread Christopher M. Penalver
Marking back to New as it was mistakenly marked Fix Released as per
https://bugs.launchpad.net/ubuntu/+source/pdfchain/+bug/1048045/comments/13
.

** Changed in: pdfchain (Ubuntu)
   Status: Fix Released = New

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2013-01-03 Thread Christopher M. Penalver
** Description changed:

- When attempting to concatenate scanned PDF files, the following error message 
is displayed: 
- PDFTK returned error!
- Input/Output Error
- Error code: 256
+ 1)  lsb_release -rd
+ Description:  Ubuntu 12.10
+ Release:  12.10
  
- 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.
- 
- 
- 
- lsb_release -rd
- 
- Description:  Ubuntu 12.04.1 LTS
- Release:  12.04
- 
- 
- *
- apt-cache policy pdfchain 
+ 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://mirror.cs.umn.edu/ubuntu/ precise/universe i386 Packages
+ 500 http://archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
  100 /var/lib/dpkg/status
  
+ 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.
  
- Steps to repeat:
- Launch PDF Chain application
- On Concatenate tab, click [Plus] [+] button to add two or more PDF files
- Click Save As button
- Give filename and click save
- 
- Expected:
- Message saying something like PDFTK returns success
- 
- Instead received following message:
- 
+ 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/moniker/Desktop/page1.pdf cat B1-endN A1-endN output 
/home/moniker/Desktop/final.pdf allow AllFeatures
+ 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
  ProcVersionSignature: Ubuntu 3.2.0-29.46-generic-pae 3.2.24
  Uname: Linux 3.2.0-29-generic-pae i686
  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
+  PATH=(custom, no user)
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: pdfchain
  UpgradeStatus: No upgrade log present (probably fresh install)

** Tags added: quantal

** Changed in: pdfchain (Ubuntu)
   Importance: Undecided = Medium

** Changed in: pdfchain (Ubuntu)
   Status: New = Triaged

** Attachment added: page1.pdf
   
https://bugs.launchpad.net/ubuntu/+source/pdfchain/+bug/1048045/+attachment/3473709/+files/page1.pdf

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2013-01-03 Thread Christopher M. Penalver
** Attachment added: page2.pdf
   
https://bugs.launchpad.net/ubuntu/+source/pdfchain/+bug/1048045/+attachment/3473710/+files/page2.pdf

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-12-16 Thread Martin Singer
Hi Felix,

sorry for changing the status wrongly to Fix Released. I thought this
would show you a fix is released in general. I released a fix with
version 0.3.5 . I should have guessed that you need a fix for version
0.3.3.

Your fix  for version 0.3.3 does the same as my at version 0.3.5 .
It is necessary  to re-index the liststore entries before creating the 
pdftk-command. Because the create-pdftk-command function needs the handles in a 
sorted way (from A to Z). After adding files the handles are sorted. By moving 
the files at the list they become unsorted.


Thanks and greetings,
Martin

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-12-13 Thread Johann Felix Soden
** Also affects: pdfchain
   Importance: Undecided
   Status: New

** Changed in: pdfchain
   Status: New = Fix Released

** Changed in: pdfchain (Ubuntu)
 Assignee: (unassigned) = Johann Felix Soden (johfel)

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-12-13 Thread Johann Felix Soden
As this bug still affects all current official Ubuntu pdfchain packages, this 
bug was wrongly marked Fix Released,
which hides the bug from users.  Due to (in my eyes) wrong restrictions in 
Launchpad, I cannot change/undo this.
I would be glad, if Jake Hansen as bug reporter or someone else can fix this.
I added the upstream project to this bug, where the bug is really  Fix 
Released.

Since Debian testing is in freeze at the moment, I cannot really upload
the new pdfchain upstream version via the standard way.  However, I will
try a different way to provide the current pdfchain upstream version
officially to Ubuntu users.

But firstly, I want to solve this bug in the pdfchain 0.3.3 version. In newer 
upstream version, the corresponding code was re-written, which makes a direct 
backport difficult. 
However, I found that enabling an extra re-indexing of all handles, solves at 
least a bug with the same error as this bug that occur when the ordering of two 
pdf files were changed after adding them. 
As nobody yet provided me a scanned PDF file which triggers the error, I am 
currently not able to test if the fix works also for this.

I published a minimally modified pdfchain 0.3.3 version that contains
the described fix, in my personal PPA (
https://launchpad.net/~johfel/+archive/pdfchain )  and need people who
test it. Thank you very much in advance.

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-12-13 Thread James Doyle
Mimimally modified 0.3.3 worked for me on a pdf that previously caused
the error.

-- 
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/pdfchain/+bug/1048045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-12-11 Thread James Doyle
For those still on 0.3.3 this work around is successful for me every
time.

1. Add one additional file to the pdf to be concatenated (can be a duplicate of 
one you actually are using)
2. Move the extra file to the end of the list
3. Deselect it using the box on the left
4.  Now save and hopefully success.

Good luck.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-10-04 Thread Martin Singer
Hi,
now i solved the problem and released a new version (0.3.5). I hope it works 
fine now.

https://sourceforge.net/projects/pdfchain/files/pdfchain-0.3.5/

Thanks for the report and best regards.

** Changed in: pdfchain (Ubuntu)
   Status: Confirmed = Fix Released

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-29 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pdfchain (Ubuntu)
   Status: New = Confirmed

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-17 Thread Martin Singer
Hi,

The error code is actually returned by pdftk. If you start pdfchain from
a terminal, the created pdftk command appears there. The error message
of pdftk is also displayed there.
Pdfchain in version 0.3.3 only supports the transfer of the file paths
to pdftk using index characters (A to Z). The simpler variant - a simple
list of filenames in a row (without options) is supported with version
0.3.4 (Cat Simple).
It is possible that the fault is related with the extended delivery of
the file name. With direct input of pdftk command probably the simple
version was used (without index characters).
I think more likely a unhandled special character in the file path. An
error with UTF8 characters in the file path is also conceivable. With
direct input of pdftk command probably not a complete file path for each
document was submitted. Probably it was changed to that directory
containing the documents at first.
The error returned from pdftk Input Output Error indicates that a file
can not be found or read, or the output file can not be created.
The fact supplied command (including all special characters) would be
helpful.

Thaks for sending the bugreport.

Best regards,
Martin


Am Freitag, den 14.09.2012, 08:24 + schrieb Johann Felix Soden:
 It seems that the problem occurs only with specific pdf files (scanned
 documents). Can someone attach  such a file to this bug report, please?
 pdfchain tries to count the pages inside the pdf document. I assume that
 something there gets wrong.
 
 Does the bug with pdfchain still occur if the pdf document is processed
 with pdftk first (pdftk scanned.pdf output scanned_fix.pdf )?


-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-17 Thread Martin Singer
pdftk A=/home/jake/Desktop/checks_2012-09-09.pdf cat B1-endN A1-endN output 
/home/jake/Desktop/CHAG_Offering_2012-09-09.pdf allow AllFeatures
Input/Output Error - PDFTK returned: 256

That's definitely a fault of pdfchain. I will reproduce the error and
sign up as soon as I have solved it.

Thanks and greetings.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-14 Thread Johann Felix Soden
It seems that the problem occurs only with specific pdf files (scanned
documents). Can someone attach  such a file to this bug report, please?
pdfchain tries to count the pages inside the pdf document. I assume that
something there gets wrong.

Does the bug with pdfchain still occur if the pdf document is processed
with pdftk first (pdftk scanned.pdf output scanned_fix.pdf )?

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-11 Thread Lutz Andersohn
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-11 Thread Lutz Andersohn
I should mention, using pdftk from the command line works either way,
regardless of the order of the PDF file. problem seems to be in the
PDFChain GUI, not in pdftk

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-10 Thread Jake Hansen
Here is the command used (from Terminal output):


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/jake/Desktop/checks_2012-09-09.pdf cat B1-endN A1-endN output 
/home/jake/Desktop/CHAG_Offering_2012-09-09.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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-10 Thread Jake Hansen
I selected two files:
/home/jake/Desktop/checks_2012-09-09.pdf
and 
/home/jake/Desktop/Offering_count_sheet_2012-09-09.pdf


but it looks like it only recognized the file 
/home/jake/Desktop/checks_2012-09-09.pdf

I don't see the second file referenced in the pdftk command output.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-09 Thread Johann Felix Soden
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.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1048045] Re: PDF Chain errors when attempting to concatenate PDF files

2012-09-08 Thread Jake Hansen
-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs