I am testing now. But I had a follow up question for you. I noticed there
is a version PDF::API3.
Should I be using that? Do it have all the latest code from the API2
version?
On Mon, Jan 30, 2017 at 9:02 PM, Steve Simms via RT <
bug-PDF-API2@rt.cpan.org> wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=119962 >
>
> On Thu Jan 26 10:19:00 2017, james.harper@rrd.com wrote:
> > I did see that code and I was confused as to how it could be anything
> > other
> > then a 1 also. But I have seen FormType 500 and FormType 1000
> > On some XObjects. It is intermittent 99+ percent of them are just
> > fine. I
> > could not see anything about those objects that would break it.
>
> Ok, here are a couple of things to try:
>
> 1) I just released PDF::API2 version 2.031. It has some fixes that could
> potentially impact this bug.
>
> 2) Is the problem reproducible on a given PDF? In other words, on the 1%
> or so that fail, do they keep failing if you re-run the script?
>
> Given that you're seeing the numbers 500 and 1000 show up, I'm going to
> guess that the problem *is* reproducible on a given file, and that the
> affected PDFs have object streams in them, based on a bug I tracked down
> and fixed for a previous release. That's still relatively new code (added
> in 2.026), so there are probably still some edge cases that aren't working,
> which would explain why you're only seeing the problem occasionally.
>
> If you can reproduce the problem on a given PDF that you can send to me
> privately for the sole purpose of troubleshooting this bug, I should be
> able to get a fix released.
>
> -- Steve
>
> PS: In regard to your other note, yes, the PDFNum wrapper function does
> need to be called so that the serializer knows what kind of value to write
> to the file (e.g. a literal number vs. a name, boolean, string, etc.)
>
--
*James L. Harper* | *Software Engineer IV (Supervisor)* | *RR Donnelley*
630 W 1000 N | Logan, UT 84321 | Voice: 435-755-4455 | Cell: 435-770-3289
| Fax: 435-753-7002
Email: james.harper@rrd.com
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Any unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
e-mail and destroy all copies of the original message.