Bug 10512 - Label PDF Export Corrupted
Summary: Label PDF Export Corrupted
Status: RESOLVED DUPLICATE of bug 8375
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: 3.12
Hardware: PC Linux
: P5 - low enhancement (vote)
Assignee: Chris Nighswonger
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 05:38 UTC by dgchina
Modified: 2013-06-27 11:26 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Corrupted PDF (285 bytes, application/pdf)
2013-06-27 05:38 UTC, dgchina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dgchina 2013-06-27 05:38:31 UTC
Created attachment 19254 [details]
Corrupted PDF

I created a batch of 40 spine labels, but when I export it as a PDF the PDF is corrupted (see attached. I believe its a bad header, but I'm not certain). If I remove any item and export 39 items instead of 40, the PDF has no problems. At first I thought this was because one item was incorrectly formatted, but it appears to be arbitrary which item I remove. Is there a cache that needs to be cleared in the command line or something? I deleted all existing batches and redid the same batch and still had the same problem.
Comment 1 Chris Nighswonger 2013-06-27 11:26:39 UTC
Opening the attached pdf file in a plain text editor shows this error:

<h1>Software error:</h1>
<pre>Wide character in compress at /usr/share/perl5/PDF/Reuse.pm line 819
</pre>
<p>
For help, please send mail to the webmaster (<a href="mailto:[no address given]">[no address given]</a>), giving this error message 
and the time and date of the error.

</p>

This is probably related to bug 8375, so I'm marking it as a duplicate of that bug.

*** This bug has been marked as a duplicate of bug 8375 ***