rumpeltux / onlineticket

Parser for online-tickets according to ETF-918.3
GNU General Public License v3.0
69 stars 10 forks source link

Problem mit PDF #15

Closed HerroBert closed 5 months ago

HerroBert commented 9 months ago

Es mag mein Ticket-PDF nicht:

./parsepdfs.sh Ticket-2-Print.pdf

Ticket-2-Print.pdf : image extraction Syntax Error: Can't get Fields array<0a>

pdfinfo: Creator: Adobe LiveCycle Designer 11.0 Producer: Adobe XML Form Module Library CreationDate: Wed Dec 27 13:58:52 2023 CET ModDate: Wed Dec 27 13:58:52 2023 CET Custom Metadata: no Metadata Stream: yes Tagged: yes UserProperties: no Suspects: no Form: AcroForm Syntax Error: Can't get Fields array<0a> JavaScript: no Pages: 1 Encrypted: no Page size: 595.276 x 841.89 pts (A4) Page rot: 0 File size: 114495 bytes Optimized: no PDF version: 1.6

rumpeltux commented 5 months ago

Please provide repro instructions (e.g. can you attach the ticket?)

HerroBert commented 5 months ago

I guess, I cannot provide a non-personal ticket file...

danielmarschall commented 5 months ago

The question is, if the process fails due to the UIC 2.0 content (I guess this is expected, see #16 ) or if the PDF file itself has a different structure nowadays so that the QR code cannot be extracted in the first place. How to find out?