| Summary: | Import fails on some valid ticket train (Nomad, Normandie train in France) | ||
|---|---|---|---|
| Product: | [Applications] KDE Itinerary | Reporter: | Vincent-Xavier JUMEL <endymion+kde> |
| Component: | general | Assignee: | Volker Krause <vkrause> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Android 10.x | ||
| Latest Commit: | https://invent.kde.org/pim/kitinerary/commit/1bbd484a509bde42a0ebee323666b8f234ebf63c | Version Fixed/Implemented In: | 22.08.2 |
| Sentry Crash Report: | |||
| Attachments: | ticket.pdf | ||
Thanks for the sample document! The PDF structure is very similar to other SNCF samples, but the barcode is using a format we haven't seen before at all yet. It's binary, unlike most other SNCF barcodes which contain at least some textual information. So unless we find documentation for that format we'd need a lot more samples to have a chance on decoding this I'm afraid. The more promising approach might therefore be to see if we can make extraction work just from the PDF content and ignore the barcode for now. Git commit 1bbd484a509bde42a0ebee323666b8f234ebf63c by Volker Krause. Committed on 12/09/2022 at 15:52. Pushed by vkrause into branch 'release/22.08'. Support SNCF regional tickets from Normandie Some of those use a so far unknown binary barcode format we cannot decode yet. The PDF layout however is very close to the "Secutix v2" layout, so we can get decent results by reusing most of the extractor script for that. FIXED-IN: 22.08.2 M +26 -3 src/lib/scripts/sncf.js M +12 -0 src/lib/scripts/sncf.json https://invent.kde.org/pim/kitinerary/commit/1bbd484a509bde42a0ebee323666b8f234ebf63c |
Created attachment 147449 [details] ticket.pdf Import fails on some valid ticket train (Nomad, Normandie train in France) STEPS TO REPRODUCE 1. Add the attached file to Itinerary Android App OBSERVED RESULT Nothing imported EXPECTED RESULT Train ticket in the wallet SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION