Subject: | Argument "4d" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm |
Hi,
I have a PDF made from LaTeX and PDFLaTeX that seems to break PDF-Reuse.
I have made a test case that shows it working and not working. files
included.
Let me know if you need any more info?
Thanks,
Jason
Perl version 5.14.2
The error it produces is:
Argument "4d" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm
(autosplit into blib/lib/auto/PDF/Reuse/crossrefObj.al) line 4314.
Argument "5b" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm
(autosplit into blib/lib/auto/PDF/Reuse/crossrefObj.al) line 4314.
Argument "6a" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm
(autosplit into blib/lib/auto/PDF/Reuse/crossrefObj.al) line 4314.
Argument "6a" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm
(autosplit into blib/lib/auto/PDF/Reuse/crossrefObj.al) line 4314.
Argument "a0" isn't numeric in numeric eq (==) at blib/lib/PDF/Reuse.pm
(autosplit into blib/lib/auto/PDF/Reuse/crossrefObj.al) line 4314.
Use of uninitialized value within %PDF::Reuse::oldObject in array
dereference at blib/lib/PDF/Reuse.pm (autosplit into
blib/lib/auto/PDF/Reuse/getObject.al) line 4433.
Use of uninitialized value within %PDF::Reuse::unZipped in concatenation
(.) or string at blib/lib/PDF/Reuse.pm (autosplit into
blib/lib/auto/PDF/Reuse/getObject.al) line 4484.
An error occurred
at test-pdf-reuse.pl line 20
Didn't find pages
More information might be found in
error.log
at test-pdf-reuse.pl line 20
Subject: | test-pdf-reuse.pl |
#!/usr/bin/perl -w
use warnings;
use strict;
use PDF::Reuse;
prDocDir(".");
prFile("test-save-works.pdf");
prDoc( { file => "testpdf-works.pdf",
first => 1,
last => 1});
prEnd(); #file has now been save to disk
print "finished works\n";
prDocDir(".");
prFile("test-save-breaks.pdf");
prDoc( { file => "testpdf-breaks.pdf",
first => 1,
last => 1});
prEnd(); #file has now been save to disk
print "finished breaks\n";
Subject: | test-save-works.pdf |
Message body not shown because it is not plain text.
Subject: | test-save-breaks.pdf |
Message body not shown because it is not plain text.
Subject: | testpdf-local.tex |
Message body not shown because it is not plain text.