[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-04-02 Thread Jay Berkenbilt
Having qpdf able to treat strings as names would be a pretty small enhancement and would probably improve its ability to handle a whole category of broken files. I'll try to work this in for the next update. Thanks for providing this detailed summary of the problem. Very helpful. -- You received

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-04-02 Thread Jay Berkenbilt
https://github.com/qpdf/qpdf/issues/45 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of wrong type To manage

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-04-01 Thread ccurelaru
I have the same error from a file (that I can't share ) and this one has /Pages element. I compared against the sample from this bug using a tool that can read the internals. I tried --check but it does not give me the details. Is there a way for me to find out what element is the problem in my

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-04-01 Thread ccurelaru
In the meantime, I was able to debug and found the issue : basically there is key 'Type' somewhere in the treee but the key is not a 'name' as expected but a string. I browsed a bit the spec (PDF) and it does seem to suggest Type should always be a name. However, other tools seem to not care

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-04-01 Thread Jay Berkenbilt
Does your problem happen with 5.1.2-3? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of wrong type To manage

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2015-01-02 Thread Till Kamppeter
Synced 5.1.2-3 to Vivid. Jay, thanks for the fix. ** Changed in: qpdf (Ubuntu) Status: Triaged = 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/1397413 Title: QPDF: Exception:

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-29 Thread Jay Berkenbilt
Sorry for the long delay. I have uploaded 5.1.2-3 to experimental. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-16 Thread Till Kamppeter
Jay, do it this way, syncing from Experimental is no problem for us. ** Changed in: qpdf (Ubuntu) Status: New = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF:

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-12 Thread Rodolfo
That may work, thanks ;) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of wrong type To manage notifications about

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-11 Thread Rodolfo
It is possible to make a 5.1.2-3 version with this fix? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of wrong type

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-11 Thread Rodolfo
Is it possible to make a 5.1.2-3 version with this fix? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object of wrong type

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-11 Thread Jay Berkenbilt
Debian is in freeze, but I could upload to experimental and ubuntu could sync from there if that works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-01 Thread Jay Berkenbilt
The problem is that the root object of the pages tree does not have a /Type key in its dictionary. The PDF spec says that /Type is required and must be /Pages for the root. qpdf could and should handle this particular type of damage or could at least give a better error message for it, but that's

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-01 Thread Jay Berkenbilt
Before I commit this for real, I need to create a test case, but this seems to be a correct fix. ** Patch added: page.diff https://bugs.launchpad.net/ubuntu/+source/qpdf/+bug/1397413/+attachment/4272366/+files/page.diff -- You received this bug notification because you are a member of

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-12-01 Thread Ubuntu Foundations Team Bug Bot
The attachment page.diff seems to be a patch. If it isn't, please remove the patch flag from the attachment, remove the patch tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any

[Bug 1397413] Re: QPDF: Exception: operation for Name object attempted on object of wrong type

2014-11-28 Thread Till Kamppeter
Jay, can you have a look into this? Looks like an upstream bug in QPDF. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1397413 Title: QPDF: Exception: operation for Name object attempted on object